@magic-xpa/mscorelib 4.1201.0 → 4.1202.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,367 @@
1
+ import * as JSStackTrace from 'stacktrace-js';
2
+
3
+ declare class Exception {
4
+ name: string;
5
+ message: string;
6
+ stack: string;
7
+ errorLevel: number;
8
+ constructor(message?: string);
9
+ constructor(error: Error);
10
+ get Message(): string;
11
+ get StackTrace(): string;
12
+ GetType(): string;
13
+ }
14
+
15
+ declare class ApplicationException extends Exception {
16
+ InnerException: Exception;
17
+ constructor(message?: string, innerException?: Exception);
18
+ }
19
+
20
+ interface IEnumerable<T> {
21
+ GetEnumerator(): Array_Enumerator<T>;
22
+ }
23
+ declare class Array_Enumerator<T> {
24
+ private array;
25
+ private index;
26
+ constructor(array: T[]);
27
+ MoveNext(): boolean;
28
+ get Current(): T;
29
+ Dispose(): void;
30
+ }
31
+
32
+ declare class BitArray {
33
+ private array;
34
+ get Length(): number;
35
+ constructor(length: number);
36
+ Get(index: number): boolean;
37
+ Set(index: number, value: boolean): void;
38
+ }
39
+
40
+ declare class Char {
41
+ static MinValue: string;
42
+ static MaxValue: string;
43
+ }
44
+
45
+ declare class CultureInfo {
46
+ static InvariantCulture: CultureInfo;
47
+ }
48
+
49
+ declare enum DateTimeKind {
50
+ Local = 0,
51
+ Utc = 1
52
+ }
53
+ declare class DateTime {
54
+ private dt;
55
+ private kind;
56
+ private readonly epochTicks;
57
+ private readonly ticksPerMillisecond;
58
+ get Ticks(): number;
59
+ get Year(): number;
60
+ get Month(): number;
61
+ get Day(): number;
62
+ get Hour(): number;
63
+ get Minute(): number;
64
+ get Second(): number;
65
+ get Millisecond(): number;
66
+ constructor(date: Date);
67
+ constructor(year: number, month: number, day: number);
68
+ constructor(year: number, month: number, day: number, hour: number, minute: number, second: number);
69
+ Format(formatString: string): string;
70
+ static get UtcNow(): DateTime;
71
+ static get Now(): DateTime;
72
+ static GetTotalSecondsFromMidnight(utcTime: boolean, date: Date): number;
73
+ static GetTotalMilliSecondsFromMidnight(utcTime: boolean, date: Date): number;
74
+ }
75
+
76
+ declare class Debug {
77
+ static WriteLine(text: string): void;
78
+ static Assert(assertCondtion: boolean, message?: string): void;
79
+ }
80
+
81
+ declare class RefParam<T> {
82
+ value: T;
83
+ constructor(value: T);
84
+ }
85
+
86
+ declare class Dictionary<V> {
87
+ private values;
88
+ get_Item(key: string): V;
89
+ set_Item(key: string, value: V): void;
90
+ Add(key: string, value: V): void;
91
+ ContainsKey(key: string): boolean;
92
+ TryGetValue(key: string, pvalue: RefParam<V>): boolean;
93
+ Remove(key: string): void;
94
+ get Keys(): string[];
95
+ }
96
+
97
+ declare class Encoding {
98
+ private label;
99
+ static readonly ASCII: Encoding;
100
+ static readonly UTF8: Encoding;
101
+ static readonly Unicode: Encoding;
102
+ static readonly CodePageToEncodingMap: any;
103
+ private readonly textEncoder;
104
+ private readonly textDecoder;
105
+ constructor(label: string);
106
+ GetBytes(str: string): Uint8Array;
107
+ GetByteCount(str: string): number;
108
+ GetString(bytes: Uint8Array, index: number, count: number): string;
109
+ static GetEncoding(codepage: number): Encoding;
110
+ private static PopulateCodePageToEncodingMap;
111
+ toString(): string;
112
+ }
113
+
114
+ declare class HashUtils {
115
+ static GetHashCode(str: string): number;
116
+ private static getHashCode;
117
+ }
118
+ interface IHashCode {
119
+ GetHashCode(): number;
120
+ }
121
+ declare class Hashtable<TKey extends (IHashCode | string | number), TValue> {
122
+ private _buckets;
123
+ private _elementsCount;
124
+ private _bucketCount;
125
+ private _loadFactor;
126
+ constructor(bucketCount?: number, loadFactor?: number);
127
+ private HashFunction;
128
+ get Count(): number;
129
+ get Values(): Array_Enumerator<TValue>;
130
+ get Keys(): Array_Enumerator<TKey>;
131
+ Add(key: TKey, value: TValue): void;
132
+ set_Item(key: TKey, value: TValue): void;
133
+ private Insert;
134
+ get_Item(key: TKey): TValue;
135
+ ContainsKey(key: TKey): boolean;
136
+ Remove(key: TKey): void;
137
+ private Resize;
138
+ private GetBucketIndex;
139
+ Clear(): void;
140
+ }
141
+
142
+ interface IComparable {
143
+ CompareTo(obj: any): number;
144
+ }
145
+
146
+ declare class Int32 {
147
+ static MinValue: number;
148
+ static MaxValue: number;
149
+ }
150
+
151
+ declare class Int64 {
152
+ static MinValue: number;
153
+ }
154
+
155
+ declare class ISO_8859_1_Encoding extends Encoding {
156
+ static readonly ISO_8859_1: ISO_8859_1_Encoding;
157
+ constructor(label: string);
158
+ GetBytes(str: string): Uint8Array;
159
+ GetString(bytes: Uint8Array, index: number, count: number): string;
160
+ }
161
+
162
+ declare class List<T> extends Array<T> {
163
+ constructor(arrayEnumerator?: Array_Enumerator<T>);
164
+ AddRange(arrayEnumerator: Array_Enumerator<T>): any;
165
+ AddRange(array: Array<T>): any;
166
+ get_Item(index: number): T;
167
+ set_Item(index: number, value: T): void;
168
+ GetEnumerator(): Array_Enumerator<T>;
169
+ Remove(object: T): void;
170
+ RemoveAt(index: number): void;
171
+ RemoveRange(index: number, count: number): void;
172
+ Insert(index: number, item: T): void;
173
+ InsertRange(items: T[]): void;
174
+ Clear(): void;
175
+ ToArray(): T[];
176
+ Contains(object: T): boolean;
177
+ find(predicate: (value: T, index: number, obj: T[]) => boolean): T;
178
+ SetSize(size: number): void;
179
+ }
180
+
181
+ declare class NChar {
182
+ static IsWhiteSpace(str: string): boolean;
183
+ static IsLetterOrDigit(str: string): boolean;
184
+ static IsDigit(str: string): boolean;
185
+ static IsLetter(ltr: string): boolean;
186
+ static IsLower(ch: string): boolean;
187
+ static IsUpper(ch: string): boolean;
188
+ }
189
+
190
+ declare enum NumberStyles {
191
+ HexNumber = 0
192
+ }
193
+ declare class NNumber {
194
+ static Parse(text: string, style?: NumberStyles): number;
195
+ static TryParse(str: string, pvalue: RefParam<number>): boolean;
196
+ static ToString(num: number, format: string): string;
197
+ }
198
+
199
+ declare class NotImplementedException extends Exception {
200
+ constructor(message?: string);
201
+ }
202
+
203
+ declare class NString {
204
+ static Empty: string;
205
+ static IndexOf(str: string, searchStr: any, startIndex: number, count: number): number;
206
+ static IndexOfAny(str: string, subs: string[], startIndex: number, count: number): number;
207
+ static CopyTo(source: string, sourceIndex: number, destination: string[], destinationIndex: number, count: number): void;
208
+ static Compare(strA: string, strB: string, ignoreCase: boolean): number;
209
+ static Compare(strA: string, strB: string, ignoreCase: boolean, indexA: number, indexB: number, length: number): number;
210
+ static Equals(strA: string, strB: string, ignoreCase: boolean): boolean;
211
+ static GetHashCode(str: string): number;
212
+ static Remove(str: string, startIndex: number, length: number): string;
213
+ static TrimStart(str: string): string;
214
+ static TrimEnd(string: string, trimChars?: string[]): string;
215
+ static Format(format: string, arg0: any, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any): string;
216
+ static IsNullOrEmpty(str1: string | NString): boolean;
217
+ static FromChars(chOrChars: string[]): any;
218
+ static FromChars(chOrChars: string[], startIndex: number, len: number): any;
219
+ static FromChar(ch: string, count: any): string;
220
+ static ToCharArray(str: string): string[];
221
+ static CompareOrdinal(strA: string, strB: string): number;
222
+ static PadRight(source: string, maxLength: number, fillString?: string): string;
223
+ static Insert(str: string, index: number, ch: string): string;
224
+ static Replace(str: string, orgSubStr: string, newSubStr: string): string;
225
+ }
226
+
227
+ declare class NumberFormatInfo {
228
+ static readonly NegativeSign: string;
229
+ static readonly NumberDecimalSeparator: string;
230
+ private static GetLocaleDecimalSeperator;
231
+ }
232
+
233
+ declare class Stack<TData> {
234
+ private _array;
235
+ constructor();
236
+ count(): number;
237
+ isEmpty(): boolean;
238
+ push(value: TData): void;
239
+ pop(): TData;
240
+ peek(): TData;
241
+ Clear(): void;
242
+ Clone(): Stack<TData>;
243
+ }
244
+
245
+ declare class StackFrame {
246
+ private stackFrame;
247
+ constructor(skipFrames: number);
248
+ GetFileName(): string;
249
+ }
250
+
251
+ import JSStackFrame = JSStackTrace.StackFrame;
252
+ declare class StackTrace {
253
+ GetFrames(): JSStackFrame[];
254
+ }
255
+
256
+ declare class StringBuilder {
257
+ private part;
258
+ constructor(length?: number);
259
+ constructor(value?: string, length?: number);
260
+ Append(num: number, numberOfCharacters?: number): StringBuilder;
261
+ Append(text: string): StringBuilder;
262
+ Append(text: string, numberOfCharacters: number): StringBuilder;
263
+ Append(text: string, startIndex: number, charCount: number): StringBuilder;
264
+ private AppendString;
265
+ private AppendNumber;
266
+ AppendLine(text?: string): void;
267
+ AppendFormat(format: string, arg0: any): StringBuilder;
268
+ AppendFormat(format: string, arg0: any, arg1: any): StringBuilder;
269
+ AppendFormat(format: string, arg0: any, arg1: any, arg2: any): StringBuilder;
270
+ ToString(): string;
271
+ ToString(startIndex: number, length: number): string;
272
+ get Length(): number;
273
+ get_Item(index: number): string;
274
+ set_Item(index: number, value: string): void;
275
+ Insert(index: number, value: string): StringBuilder;
276
+ Remove(startIndex: number, length: number): StringBuilder;
277
+ Replace(oldValue: string, newValue: string): StringBuilder;
278
+ Replace(oldValue: string, newValue: string, startIndex: number, count: number): StringBuilder;
279
+ toString(): string;
280
+ }
281
+
282
+ declare const $EOF = 0;
283
+ declare const $TAB = 9;
284
+ declare const $LF = 10;
285
+ declare const $VTAB = 11;
286
+ declare const $FF = 12;
287
+ declare const $CR = 13;
288
+ declare const $SPACE = 32;
289
+ declare const $BANG = 33;
290
+ declare const $DQ = 34;
291
+ declare const $HASH = 35;
292
+ declare const $$ = 36;
293
+ declare const $PERCENT = 37;
294
+ declare const $AMPERSAND = 38;
295
+ declare const $SQ = 39;
296
+ declare const $LPAREN = 40;
297
+ declare const $RPAREN = 41;
298
+ declare const $STAR = 42;
299
+ declare const $PLUS = 43;
300
+ declare const $COMMA = 44;
301
+ declare const $MINUS = 45;
302
+ declare const $PERIOD = 46;
303
+ declare const $SLASH = 47;
304
+ declare const $COLON = 58;
305
+ declare const $SEMICOLON = 59;
306
+ declare const $LT = 60;
307
+ declare const $EQ = 61;
308
+ declare const $GT = 62;
309
+ declare const $QUESTION = 63;
310
+ declare const $0 = 48;
311
+ declare const $9 = 57;
312
+ declare const $A = 65;
313
+ declare const $E = 69;
314
+ declare const $F = 70;
315
+ declare const $X = 88;
316
+ declare const $Z = 90;
317
+ declare const $LBRACKET = 91;
318
+ declare const $BACKSLASH = 92;
319
+ declare const $RBRACKET = 93;
320
+ declare const $CARET = 94;
321
+ declare const $_ = 95;
322
+ declare const $a = 97;
323
+ declare const $e = 101;
324
+ declare const $f = 102;
325
+ declare const $n = 110;
326
+ declare const $r = 114;
327
+ declare const $t = 116;
328
+ declare const $u = 117;
329
+ declare const $v = 118;
330
+ declare const $x = 120;
331
+ declare const $z = 122;
332
+ declare const $LBRACE = 123;
333
+ declare const $BAR = 124;
334
+ declare const $RBRACE = 125;
335
+ declare const $NBSP = 160;
336
+ declare const $PIPE = 124;
337
+ declare const $TILDA = 126;
338
+ declare const $AT = 64;
339
+ declare const $BT = 96;
340
+ declare function isWhitespace(code: number): boolean;
341
+ declare function isDigit(code: number): boolean;
342
+ declare function isAsciiLetter(code: number): boolean;
343
+ declare function isAsciiHexDigit(code: number): boolean;
344
+ declare function isLowerCase(str: string): boolean;
345
+ declare function isUpperCase(str: string): boolean;
346
+
347
+ declare class Thread {
348
+ private static nextId;
349
+ static CurrentThread: Thread;
350
+ ManagedThreadId: number;
351
+ constructor();
352
+ static Sleep(millisecondsTimeout: number): Promise<void>;
353
+ }
354
+
355
+ declare function isNullOrUndefined(object: any): boolean;
356
+ declare function isUndefined(object: any): boolean;
357
+
358
+ declare class WebException extends Exception {
359
+ constructor(error: Error);
360
+ }
361
+
362
+ declare class XmlConvert {
363
+ static EncodeName(name: string): string;
364
+ }
365
+
366
+ export { $$, $0, $9, $A, $AMPERSAND, $AT, $BACKSLASH, $BANG, $BAR, $BT, $CARET, $COLON, $COMMA, $CR, $DQ, $E, $EOF, $EQ, $F, $FF, $GT, $HASH, $LBRACE, $LBRACKET, $LF, $LPAREN, $LT, $MINUS, $NBSP, $PERCENT, $PERIOD, $PIPE, $PLUS, $QUESTION, $RBRACE, $RBRACKET, $RPAREN, $SEMICOLON, $SLASH, $SPACE, $SQ, $STAR, $TAB, $TILDA, $VTAB, $X, $Z, $_, $a, $e, $f, $n, $r, $t, $u, $v, $x, $z, ApplicationException, Array_Enumerator, BitArray, Char, CultureInfo, DateTime, DateTimeKind, Debug, Dictionary, Encoding, Exception, HashUtils, Hashtable, ISO_8859_1_Encoding, Int32, Int64, List, NChar, NNumber, NString, NotImplementedException, NumberFormatInfo, NumberStyles, RefParam, Stack, StackFrame, StackTrace, StringBuilder, Thread, WebException, XmlConvert, isAsciiHexDigit, isAsciiLetter, isDigit, isLowerCase, isNullOrUndefined, isUndefined, isUpperCase, isWhitespace };
367
+ export type { IComparable, IEnumerable, IHashCode };
package/index.d.ts DELETED
@@ -1,34 +0,0 @@
1
- /**
2
- * @file Automatically generated by barrelsby.
3
- */
4
- export * from "./src/ApplicationException";
5
- export * from "./src/ArrayEnumerator";
6
- export * from "./src/BitArray";
7
- export * from "./src/Char";
8
- export * from "./src/CultureInfo";
9
- export * from "./src/DateTime";
10
- export * from "./src/Debug";
11
- export * from "./src/Dictionary";
12
- export * from "./src/Encoding";
13
- export * from "./src/Exception";
14
- export * from "./src/HashTable";
15
- export * from "./src/IComparable";
16
- export * from "./src/Int32";
17
- export * from "./src/Int64";
18
- export * from "./src/ISO_8859_1_Encoding";
19
- export * from "./src/List";
20
- export * from "./src/NChar";
21
- export * from "./src/NNumber";
22
- export * from "./src/NotImplementedException";
23
- export * from "./src/NString";
24
- export * from "./src/NumberFormatInfo";
25
- export * from "./src/RefParam";
26
- export * from "./src/Stack";
27
- export * from "./src/StackFrame";
28
- export * from "./src/StackTrace";
29
- export * from "./src/StringBuilder";
30
- export * from "./src/StringUtils";
31
- export * from "./src/Thread";
32
- export * from "./src/Utils";
33
- export * from "./src/WebException";
34
- export * from "./src/XmlConvert";
@@ -1,5 +0,0 @@
1
- import { Exception } from "./Exception";
2
- export declare class ApplicationException extends Exception {
3
- InnerException: Exception;
4
- constructor(message?: string, innerException?: Exception);
5
- }
@@ -1,11 +0,0 @@
1
- export interface IEnumerable<T> {
2
- GetEnumerator(): Array_Enumerator<T>;
3
- }
4
- export declare class Array_Enumerator<T> {
5
- private array;
6
- private index;
7
- constructor(array: T[]);
8
- MoveNext(): boolean;
9
- get Current(): T;
10
- Dispose(): void;
11
- }
package/src/BitArray.d.ts DELETED
@@ -1,7 +0,0 @@
1
- export declare class BitArray {
2
- private array;
3
- get Length(): number;
4
- constructor(length: number);
5
- Get(index: number): boolean;
6
- Set(index: number, value: boolean): void;
7
- }
package/src/Char.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export declare class Char {
2
- static MinValue: string;
3
- static MaxValue: string;
4
- }
@@ -1,3 +0,0 @@
1
- export declare class CultureInfo {
2
- static InvariantCulture: CultureInfo;
3
- }
package/src/DateTime.d.ts DELETED
@@ -1,26 +0,0 @@
1
- export declare enum DateTimeKind {
2
- Local = 0,
3
- Utc = 1
4
- }
5
- export declare class DateTime {
6
- private dt;
7
- private kind;
8
- private readonly epochTicks;
9
- private readonly ticksPerMillisecond;
10
- get Ticks(): number;
11
- get Year(): number;
12
- get Month(): number;
13
- get Day(): number;
14
- get Hour(): number;
15
- get Minute(): number;
16
- get Second(): number;
17
- get Millisecond(): number;
18
- constructor(date: Date);
19
- constructor(year: number, month: number, day: number);
20
- constructor(year: number, month: number, day: number, hour: number, minute: number, second: number);
21
- Format(formatString: string): string;
22
- static get UtcNow(): DateTime;
23
- static get Now(): DateTime;
24
- static GetTotalSecondsFromMidnight(utcTime: boolean, date: Date): number;
25
- static GetTotalMilliSecondsFromMidnight(utcTime: boolean, date: Date): number;
26
- }
package/src/Debug.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export declare class Debug {
2
- static WriteLine(text: string): void;
3
- static Assert(assertCondtion: boolean, message?: string): void;
4
- }
@@ -1,11 +0,0 @@
1
- import { RefParam } from "./RefParam";
2
- export declare class Dictionary<V> {
3
- private values;
4
- get_Item(key: string): V;
5
- set_Item(key: string, value: V): void;
6
- Add(key: string, value: V): void;
7
- ContainsKey(key: string): boolean;
8
- TryGetValue(key: string, pvalue: RefParam<V>): boolean;
9
- Remove(key: string): void;
10
- get Keys(): string[];
11
- }
package/src/Encoding.d.ts DELETED
@@ -1,16 +0,0 @@
1
- export declare class Encoding {
2
- private label;
3
- static readonly ASCII: Encoding;
4
- static readonly UTF8: Encoding;
5
- static readonly Unicode: Encoding;
6
- static readonly CodePageToEncodingMap: any;
7
- private readonly textEncoder;
8
- private readonly textDecoder;
9
- constructor(label: string);
10
- GetBytes(str: string): Uint8Array;
11
- GetByteCount(str: string): number;
12
- GetString(bytes: Uint8Array, index: number, count: number): string;
13
- static GetEncoding(codepage: number): Encoding;
14
- private static PopulateCodePageToEncodingMap;
15
- toString(): string;
16
- }
@@ -1,11 +0,0 @@
1
- export declare class Exception {
2
- name: string;
3
- message: string;
4
- stack: string;
5
- errorLevel: number;
6
- constructor(message?: string);
7
- constructor(error: Error);
8
- get Message(): string;
9
- get StackTrace(): string;
10
- GetType(): string;
11
- }
@@ -1,28 +0,0 @@
1
- import { Array_Enumerator } from "./ArrayEnumerator";
2
- export declare class HashUtils {
3
- static GetHashCode(str: string): number;
4
- private static getHashCode;
5
- }
6
- export interface IHashCode {
7
- GetHashCode(): number;
8
- }
9
- export declare class Hashtable<TKey extends (IHashCode | string | number), TValue> {
10
- private _buckets;
11
- private _elementsCount;
12
- private _bucketCount;
13
- private _loadFactor;
14
- constructor(bucketCount?: number, loadFactor?: number);
15
- private HashFunction;
16
- get Count(): number;
17
- get Values(): Array_Enumerator<TValue>;
18
- get Keys(): Array_Enumerator<TKey>;
19
- Add(key: TKey, value: TValue): void;
20
- set_Item(key: TKey, value: TValue): void;
21
- private Insert;
22
- get_Item(key: TKey): TValue;
23
- ContainsKey(key: TKey): boolean;
24
- Remove(key: TKey): void;
25
- private Resize;
26
- private GetBucketIndex;
27
- Clear(): void;
28
- }
@@ -1,3 +0,0 @@
1
- export interface IComparable {
2
- CompareTo(obj: any): number;
3
- }
@@ -1,7 +0,0 @@
1
- import { Encoding } from "./Encoding";
2
- export declare class ISO_8859_1_Encoding extends Encoding {
3
- static readonly ISO_8859_1: ISO_8859_1_Encoding;
4
- constructor(label: string);
5
- GetBytes(str: string): Uint8Array;
6
- GetString(bytes: Uint8Array, index: number, count: number): string;
7
- }
package/src/Int32.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export declare class Int32 {
2
- static MinValue: number;
3
- static MaxValue: number;
4
- }
package/src/Int64.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export declare class Int64 {
2
- static MinValue: number;
3
- }
package/src/List.d.ts DELETED
@@ -1,19 +0,0 @@
1
- import { Array_Enumerator } from "./ArrayEnumerator";
2
- export declare class List<T> extends Array<T> {
3
- constructor(arrayEnumerator?: Array_Enumerator<T>);
4
- AddRange(arrayEnumerator: Array_Enumerator<T>): any;
5
- AddRange(array: Array<T>): any;
6
- get_Item(index: number): T;
7
- set_Item(index: number, value: T): void;
8
- GetEnumerator(): Array_Enumerator<T>;
9
- Remove(object: T): void;
10
- RemoveAt(index: number): void;
11
- RemoveRange(index: number, count: number): void;
12
- Insert(index: number, item: T): void;
13
- InsertRange(items: T[]): void;
14
- Clear(): void;
15
- ToArray(): T[];
16
- Contains(object: T): boolean;
17
- find(predicate: (value: T, index: number, obj: T[]) => boolean): T;
18
- SetSize(size: number): void;
19
- }
package/src/NChar.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export declare class NChar {
2
- static IsWhiteSpace(str: string): boolean;
3
- static IsLetterOrDigit(str: string): boolean;
4
- static IsDigit(str: string): boolean;
5
- static IsLetter(ltr: string): boolean;
6
- static IsLower(ch: string): boolean;
7
- static IsUpper(ch: string): boolean;
8
- }
package/src/NNumber.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import { RefParam } from "./RefParam";
2
- export declare enum NumberStyles {
3
- HexNumber = 0
4
- }
5
- export declare class NNumber {
6
- static Parse(text: string, style?: NumberStyles): number;
7
- static TryParse(str: string, pvalue: RefParam<number>): boolean;
8
- static ToString(num: number, format: string): string;
9
- }
package/src/NString.d.ts DELETED
@@ -1,23 +0,0 @@
1
- export declare class NString {
2
- static Empty: string;
3
- static IndexOf(str: string, searchStr: any, startIndex: number, count: number): number;
4
- static IndexOfAny(str: string, subs: string[], startIndex: number, count: number): number;
5
- static CopyTo(source: string, sourceIndex: number, destination: string[], destinationIndex: number, count: number): void;
6
- static Compare(strA: string, strB: string, ignoreCase: boolean): number;
7
- static Compare(strA: string, strB: string, ignoreCase: boolean, indexA: number, indexB: number, length: number): number;
8
- static Equals(strA: string, strB: string, ignoreCase: boolean): boolean;
9
- static GetHashCode(str: string): number;
10
- static Remove(str: string, startIndex: number, length: number): string;
11
- static TrimStart(str: string): string;
12
- static TrimEnd(string: string, trimChars?: string[]): string;
13
- static Format(format: string, arg0: any, arg1?: any, arg2?: any, arg3?: any, arg4?: any, arg5?: any): string;
14
- static IsNullOrEmpty(str1: string | NString): boolean;
15
- static FromChars(chOrChars: string[]): any;
16
- static FromChars(chOrChars: string[], startIndex: number, len: number): any;
17
- static FromChar(ch: string, count: any): string;
18
- static ToCharArray(str: string): string[];
19
- static CompareOrdinal(strA: string, strB: string): number;
20
- static PadRight(source: string, maxLength: number, fillString?: string): string;
21
- static Insert(str: string, index: number, ch: string): string;
22
- static Replace(str: string, orgSubStr: string, newSubStr: string): string;
23
- }
@@ -1,4 +0,0 @@
1
- import { Exception } from "./Exception";
2
- export declare class NotImplementedException extends Exception {
3
- constructor(message?: string);
4
- }
@@ -1,5 +0,0 @@
1
- export declare class NumberFormatInfo {
2
- static readonly NegativeSign: string;
3
- static readonly NumberDecimalSeparator: string;
4
- private static GetLocaleDecimalSeperator;
5
- }
package/src/RefParam.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export declare class RefParam<T> {
2
- value: T;
3
- constructor(value: T);
4
- }
package/src/Stack.d.ts DELETED
@@ -1,11 +0,0 @@
1
- export declare class Stack<TData> {
2
- private _array;
3
- constructor();
4
- count(): number;
5
- isEmpty(): boolean;
6
- push(value: TData): void;
7
- pop(): TData;
8
- peek(): TData;
9
- Clear(): void;
10
- Clone(): Stack<TData>;
11
- }
@@ -1,5 +0,0 @@
1
- export declare class StackFrame {
2
- private stackFrame;
3
- constructor(skipFrames: number);
4
- GetFileName(): string;
5
- }
@@ -1,5 +0,0 @@
1
- import * as JSStackTrace from 'stacktrace-js';
2
- import JSStackFrame = JSStackTrace.StackFrame;
3
- export declare class StackTrace {
4
- GetFrames(): JSStackFrame[];
5
- }