@tsonic/dotnet 0.8.0 → 0.8.2
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.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +21 -21
- package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
- package/Microsoft.Win32/internal/index.d.ts +12 -12
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +1277 -1289
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +13 -13
- package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
- package/System.Collections/internal/index.d.ts +66 -68
- package/System.Collections.Concurrent/internal/index.d.ts +24 -24
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +141 -133
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +121 -121
- package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
- package/System.Collections.Specialized/internal/index.d.ts +85 -87
- package/System.ComponentModel/internal/index.d.ts +595 -597
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
- package/System.ComponentModel.Design/internal/index.d.ts +90 -90
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
- package/System.Data/internal/index.d.ts +225 -225
- package/System.Data.Common/internal/index.d.ts +62 -62
- package/System.Data.SqlTypes/internal/index.d.ts +73 -73
- package/System.Diagnostics/internal/index.d.ts +343 -343
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
- package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
- package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
- package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
- package/System.Drawing/internal/index.d.ts +99 -99
- package/System.Dynamic/internal/index.d.ts +33 -33
- package/System.Formats.Asn1/internal/index.d.ts +12 -12
- package/System.Formats.Tar/internal/index.d.ts +17 -17
- package/System.Globalization/internal/index.d.ts +51 -51
- package/System.IO/internal/index.d.ts +172 -172
- package/System.IO.Compression/internal/index.d.ts +56 -56
- package/System.IO.Enumeration/internal/index.d.ts +6 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
- package/System.IO.Pipelines/internal/index.d.ts +13 -13
- package/System.IO.Pipes/internal/index.d.ts +32 -32
- package/System.Linq/internal/index.d.ts +187 -187
- package/System.Linq.Expressions/internal/index.d.ts +203 -203
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- package/System.Net/internal/index.d.ts +218 -220
- package/System.Net.Cache/internal/index.d.ts +10 -10
- package/System.Net.Http/internal/index.d.ts +89 -89
- package/System.Net.Http.Headers/internal/index.d.ts +86 -86
- package/System.Net.Http.Json/internal/index.d.ts +59 -59
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/internal/index.d.ts +92 -92
- package/System.Net.Mime/internal/index.d.ts +6 -6
- package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
- package/System.Net.Quic/internal/index.d.ts +13 -13
- package/System.Net.Security/internal/index.d.ts +70 -70
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
- package/System.Net.Sockets/internal/index.d.ts +94 -94
- package/System.Net.WebSockets/internal/index.d.ts +46 -46
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +128 -130
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +271 -271
- package/System.Reflection.Emit/internal/index.d.ts +123 -123
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +179 -179
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
- package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
- package/System.Resources/internal/index.d.ts +38 -38
- package/System.Runtime/internal/index.d.ts +9 -9
- package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Loader/internal/index.d.ts +9 -9
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +113 -115
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
- package/System.Runtime.Versioning/internal/index.d.ts +22 -22
- package/System.Security/internal/index.d.ts +63 -63
- package/System.Security.AccessControl/internal/index.d.ts +84 -84
- package/System.Security.Authentication/internal/index.d.ts +6 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
- package/System.Security.Claims/internal/index.d.ts +38 -40
- package/System.Security.Cryptography/internal/index.d.ts +378 -378
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
- package/System.Security.Permissions/internal/index.d.ts +1 -1
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +29 -31
- package/System.Text/internal/index.d.ts +94 -94
- package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
- package/System.Text.Json/internal/index.d.ts +103 -103
- package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
- package/System.Text.Json.Schema/internal/index.d.ts +7 -7
- package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
- package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Threading/internal/index.d.ts +160 -160
- package/System.Threading.Channels/internal/index.d.ts +12 -12
- package/System.Threading.Tasks/internal/index.d.ts +125 -135
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
- package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
- package/System.Timers/internal/index.d.ts +8 -8
- package/System.Transactions/internal/index.d.ts +51 -51
- package/System.Web/internal/index.d.ts +32 -32
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Windows.Markup/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +281 -281
- package/System.Xml.Linq/internal/index.d.ts +76 -76
- package/System.Xml.Resolvers/internal/index.d.ts +8 -8
- package/System.Xml.Schema/internal/index.d.ts +173 -173
- package/System.Xml.Serialization/internal/index.d.ts +200 -200
- package/System.Xml.XPath/internal/index.d.ts +28 -28
- package/System.Xml.Xsl/internal/index.d.ts +53 -53
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -190,10 +190,10 @@ export enum TraceOptions {
|
|
|
190
190
|
export type DataReceivedEventHandler = (sender: unknown, e: DataReceivedEventArgs) => void;
|
|
191
191
|
|
|
192
192
|
|
|
193
|
-
export type DistributedContextPropagator_PropagatorGetterCallback = (carrier: unknown, fieldName: string, fieldValue: string, fieldValues: IEnumerable_1<System_Internal.String>) => void;
|
|
193
|
+
export type DistributedContextPropagator_PropagatorGetterCallback = (carrier: unknown, fieldName: string, fieldValue: string, fieldValues: IEnumerable_1<System_Internal.String> | undefined) => void;
|
|
194
194
|
|
|
195
195
|
|
|
196
|
-
export type DistributedContextPropagator_PropagatorSetterCallback = (carrier: unknown, fieldName: string, fieldValue: string) => void;
|
|
196
|
+
export type DistributedContextPropagator_PropagatorSetterCallback = (carrier: unknown | undefined, fieldName: string, fieldValue: string) => void;
|
|
197
197
|
|
|
198
198
|
|
|
199
199
|
export type ExceptionRecorder = (activity: Activity, exception: Exception, tags: TagList) => void;
|
|
@@ -210,7 +210,7 @@ export interface Activity_Enumerator_1$instance<T> {
|
|
|
210
210
|
|
|
211
211
|
|
|
212
212
|
export const Activity_Enumerator_1: {
|
|
213
|
-
new<T>(): Activity_Enumerator_1
|
|
213
|
+
new<T>(): Activity_Enumerator_1<T>;
|
|
214
214
|
};
|
|
215
215
|
|
|
216
216
|
|
|
@@ -218,12 +218,12 @@ export type Activity_Enumerator_1<T> = Activity_Enumerator_1$instance<T>;
|
|
|
218
218
|
|
|
219
219
|
export interface ActivityChangedEventArgs$instance {
|
|
220
220
|
current: Activity;
|
|
221
|
-
previous: Activity;
|
|
221
|
+
previous: Activity | undefined;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
export const ActivityChangedEventArgs: {
|
|
226
|
-
new(): ActivityChangedEventArgs
|
|
226
|
+
new(): ActivityChangedEventArgs;
|
|
227
227
|
};
|
|
228
228
|
|
|
229
229
|
|
|
@@ -234,18 +234,18 @@ export interface ActivityContext$instance {
|
|
|
234
234
|
readonly spanId: ActivitySpanId;
|
|
235
235
|
readonly traceFlags: ActivityTraceFlags;
|
|
236
236
|
readonly traceId: ActivityTraceId;
|
|
237
|
-
readonly traceState: string;
|
|
237
|
+
readonly traceState: string | undefined;
|
|
238
238
|
equals(value: ActivityContext): boolean;
|
|
239
|
-
equals(obj: unknown): boolean;
|
|
239
|
+
equals(obj: unknown | undefined): boolean;
|
|
240
240
|
getHashCode(): int;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
|
|
244
244
|
export const ActivityContext: {
|
|
245
|
-
new(traceId: ActivityTraceId, spanId: ActivitySpanId, traceFlags: ActivityTraceFlags, traceState: string, isRemote: boolean): ActivityContext
|
|
246
|
-
parse(traceParent: string, traceState: string): ActivityContext;
|
|
247
|
-
tryParse(traceParent: string, traceState: string, isRemote: boolean, context: ActivityContext): boolean;
|
|
248
|
-
tryParse(traceParent: string, traceState: string, context: ActivityContext): boolean;
|
|
245
|
+
new(traceId: ActivityTraceId, spanId: ActivitySpanId, traceFlags: ActivityTraceFlags, traceState: string | undefined, isRemote: boolean): ActivityContext;
|
|
246
|
+
parse(traceParent: string | undefined, traceState: string | undefined): ActivityContext;
|
|
247
|
+
tryParse(traceParent: string | undefined, traceState: string | undefined, isRemote: boolean, context: ActivityContext): boolean;
|
|
248
|
+
tryParse(traceParent: string | undefined, traceState: string | undefined, context: ActivityContext): boolean;
|
|
249
249
|
};
|
|
250
250
|
|
|
251
251
|
|
|
@@ -268,12 +268,12 @@ export interface ActivityCreationOptions_1$instance<T> {
|
|
|
268
268
|
readonly source: ActivitySource;
|
|
269
269
|
readonly tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>;
|
|
270
270
|
readonly traceId: ActivityTraceId;
|
|
271
|
-
traceState: string;
|
|
271
|
+
traceState: string | undefined;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
|
|
275
275
|
export const ActivityCreationOptions_1: {
|
|
276
|
-
new<T>(): ActivityCreationOptions_1
|
|
276
|
+
new<T>(): ActivityCreationOptions_1<T>;
|
|
277
277
|
};
|
|
278
278
|
|
|
279
279
|
|
|
@@ -288,8 +288,8 @@ export interface ActivityEvent$instance {
|
|
|
288
288
|
|
|
289
289
|
|
|
290
290
|
export const ActivityEvent: {
|
|
291
|
-
new(name: string): ActivityEvent
|
|
292
|
-
new(name: string, timestamp: DateTimeOffset, tags: ActivityTagsCollection): ActivityEvent
|
|
291
|
+
new(name: string): ActivityEvent;
|
|
292
|
+
new(name: string, timestamp: DateTimeOffset, tags: ActivityTagsCollection | undefined): ActivityEvent;
|
|
293
293
|
};
|
|
294
294
|
|
|
295
295
|
|
|
@@ -306,7 +306,7 @@ export interface ActivityLink$instance {
|
|
|
306
306
|
|
|
307
307
|
|
|
308
308
|
export const ActivityLink: {
|
|
309
|
-
new(context: ActivityContext, tags: ActivityTagsCollection): ActivityLink
|
|
309
|
+
new(context: ActivityContext, tags: ActivityTagsCollection): ActivityLink;
|
|
310
310
|
};
|
|
311
311
|
|
|
312
312
|
|
|
@@ -326,12 +326,12 @@ export interface ActivitySpanId$instance {
|
|
|
326
326
|
equals(obj: unknown): boolean;
|
|
327
327
|
getHashCode(): int;
|
|
328
328
|
toHexString(): string;
|
|
329
|
-
toString(): string;
|
|
329
|
+
toString(): string | undefined;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
|
|
333
333
|
export const ActivitySpanId: {
|
|
334
|
-
new(): ActivitySpanId
|
|
334
|
+
new(): ActivitySpanId;
|
|
335
335
|
createFromBytes(idData: ReadOnlySpan_1<System_Internal.Byte>): ActivitySpanId;
|
|
336
336
|
createFromString(idData: ReadOnlySpan_1<System_Internal.Char>): ActivitySpanId;
|
|
337
337
|
createFromUtf8String(idData: ReadOnlySpan_1<System_Internal.Byte>): ActivitySpanId;
|
|
@@ -358,7 +358,7 @@ export interface ActivityTagsCollection_Enumerator$instance extends IDisposable
|
|
|
358
358
|
|
|
359
359
|
|
|
360
360
|
export const ActivityTagsCollection_Enumerator: {
|
|
361
|
-
new(): ActivityTagsCollection_Enumerator
|
|
361
|
+
new(): ActivityTagsCollection_Enumerator;
|
|
362
362
|
};
|
|
363
363
|
|
|
364
364
|
|
|
@@ -376,12 +376,12 @@ export interface ActivityTraceId$instance {
|
|
|
376
376
|
equals(obj: unknown): boolean;
|
|
377
377
|
getHashCode(): int;
|
|
378
378
|
toHexString(): string;
|
|
379
|
-
toString(): string;
|
|
379
|
+
toString(): string | undefined;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
|
|
383
383
|
export const ActivityTraceId: {
|
|
384
|
-
new(): ActivityTraceId
|
|
384
|
+
new(): ActivityTraceId;
|
|
385
385
|
createFromBytes(idData: ReadOnlySpan_1<System_Internal.Byte>): ActivityTraceId;
|
|
386
386
|
createFromString(idData: ReadOnlySpan_1<System_Internal.Char>): ActivityTraceId;
|
|
387
387
|
createFromUtf8String(idData: ReadOnlySpan_1<System_Internal.Byte>): ActivityTraceId;
|
|
@@ -400,42 +400,42 @@ export type ActivityTraceId = ActivityTraceId$instance & __ActivityTraceId$views
|
|
|
400
400
|
|
|
401
401
|
|
|
402
402
|
export interface Debug_AssertInterpolatedStringHandler$instance {
|
|
403
|
-
appendFormatted<T>(value: T): void;
|
|
404
|
-
appendFormatted<T>(value: T, format: string): void;
|
|
405
|
-
appendFormatted<T>(value: T, alignment: int): void;
|
|
406
|
-
appendFormatted<T>(value: T, alignment: int, format: string): void;
|
|
403
|
+
appendFormatted<T>(value: T | undefined): void;
|
|
404
|
+
appendFormatted<T>(value: T, format: string | undefined): void;
|
|
405
|
+
appendFormatted<T>(value: T | undefined, alignment: int): void;
|
|
406
|
+
appendFormatted<T>(value: T, alignment: int, format: string | undefined): void;
|
|
407
407
|
appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
408
|
-
appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): void;
|
|
409
|
-
appendFormatted(value: string): void;
|
|
410
|
-
appendFormatted(value: string, alignment?: int, format?: string): void;
|
|
411
|
-
appendFormatted(value: unknown, alignment?: int, format?: string): void;
|
|
412
|
-
appendLiteral(value: string): void;
|
|
408
|
+
appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | undefined): void;
|
|
409
|
+
appendFormatted(value: string | undefined): void;
|
|
410
|
+
appendFormatted(value: string | undefined, alignment?: int, format?: string | undefined): void;
|
|
411
|
+
appendFormatted(value: unknown | undefined, alignment?: int, format?: string | undefined): void;
|
|
412
|
+
appendLiteral(value: string | undefined): void;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
|
|
416
416
|
export const Debug_AssertInterpolatedStringHandler: {
|
|
417
|
-
new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_AssertInterpolatedStringHandler
|
|
417
|
+
new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_AssertInterpolatedStringHandler;
|
|
418
418
|
};
|
|
419
419
|
|
|
420
420
|
|
|
421
421
|
export type Debug_AssertInterpolatedStringHandler = Debug_AssertInterpolatedStringHandler$instance;
|
|
422
422
|
|
|
423
423
|
export interface Debug_WriteIfInterpolatedStringHandler$instance {
|
|
424
|
-
appendFormatted<T>(value: T): void;
|
|
425
|
-
appendFormatted<T>(value: T, format: string): void;
|
|
426
|
-
appendFormatted<T>(value: T, alignment: int): void;
|
|
427
|
-
appendFormatted<T>(value: T, alignment: int, format: string): void;
|
|
424
|
+
appendFormatted<T>(value: T | undefined): void;
|
|
425
|
+
appendFormatted<T>(value: T, format: string | undefined): void;
|
|
426
|
+
appendFormatted<T>(value: T | undefined, alignment: int): void;
|
|
427
|
+
appendFormatted<T>(value: T, alignment: int, format: string | undefined): void;
|
|
428
428
|
appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
429
|
-
appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): void;
|
|
430
|
-
appendFormatted(value: string): void;
|
|
431
|
-
appendFormatted(value: string, alignment?: int, format?: string): void;
|
|
432
|
-
appendFormatted(value: unknown, alignment?: int, format?: string): void;
|
|
433
|
-
appendLiteral(value: string): void;
|
|
429
|
+
appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | undefined): void;
|
|
430
|
+
appendFormatted(value: string | undefined): void;
|
|
431
|
+
appendFormatted(value: string | undefined, alignment?: int, format?: string | undefined): void;
|
|
432
|
+
appendFormatted(value: unknown | undefined, alignment?: int, format?: string | undefined): void;
|
|
433
|
+
appendLiteral(value: string | undefined): void;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
|
|
437
437
|
export const Debug_WriteIfInterpolatedStringHandler: {
|
|
438
|
-
new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_WriteIfInterpolatedStringHandler
|
|
438
|
+
new(literalLength: int, formattedCount: int, condition: boolean, shouldAppend: boolean): Debug_WriteIfInterpolatedStringHandler;
|
|
439
439
|
};
|
|
440
440
|
|
|
441
441
|
|
|
@@ -445,7 +445,7 @@ export interface TagList$instance {
|
|
|
445
445
|
readonly count: int;
|
|
446
446
|
readonly isReadOnly: boolean;
|
|
447
447
|
item: KeyValuePair_2<System_Internal.String, unknown>;
|
|
448
|
-
add(key: string, value: unknown): void;
|
|
448
|
+
add(key: string, value: unknown | undefined): void;
|
|
449
449
|
add(tag: KeyValuePair_2<System_Internal.String, unknown>): void;
|
|
450
450
|
clear(): void;
|
|
451
451
|
contains(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
|
|
@@ -460,7 +460,7 @@ export interface TagList$instance {
|
|
|
460
460
|
|
|
461
461
|
|
|
462
462
|
export const TagList: {
|
|
463
|
-
new(tagList: ReadOnlySpan_1<KeyValuePair_2<System_Internal.String, unknown>>): TagList
|
|
463
|
+
new(tagList: ReadOnlySpan_1<KeyValuePair_2<System_Internal.String, unknown>>): TagList;
|
|
464
464
|
};
|
|
465
465
|
|
|
466
466
|
|
|
@@ -484,7 +484,7 @@ export interface TagList_Enumerator$instance extends IDisposable {
|
|
|
484
484
|
|
|
485
485
|
|
|
486
486
|
export const TagList_Enumerator: {
|
|
487
|
-
new(): TagList_Enumerator
|
|
487
|
+
new(): TagList_Enumerator;
|
|
488
488
|
};
|
|
489
489
|
|
|
490
490
|
|
|
@@ -512,10 +512,10 @@ export interface Activity$instance {
|
|
|
512
512
|
readonly links: IEnumerable_1<ActivityLink>;
|
|
513
513
|
readonly operationName: string;
|
|
514
514
|
readonly parent: Activity;
|
|
515
|
-
readonly parentId: string;
|
|
515
|
+
readonly parentId: string | undefined;
|
|
516
516
|
readonly parentSpanId: ActivitySpanId;
|
|
517
517
|
readonly recorded: boolean;
|
|
518
|
-
readonly rootId: string;
|
|
518
|
+
readonly rootId: string | undefined;
|
|
519
519
|
readonly source: ActivitySource;
|
|
520
520
|
readonly spanId: ActivitySpanId;
|
|
521
521
|
readonly startTimeUtc: DateTime;
|
|
@@ -524,39 +524,39 @@ export interface Activity$instance {
|
|
|
524
524
|
readonly tagObjects: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>;
|
|
525
525
|
readonly tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>;
|
|
526
526
|
readonly traceId: ActivityTraceId;
|
|
527
|
-
traceStateString: string;
|
|
528
|
-
addBaggage(key: string, value: string): Activity;
|
|
527
|
+
traceStateString: string | undefined;
|
|
528
|
+
addBaggage(key: string, value: string | undefined): Activity;
|
|
529
529
|
addEvent(e: ActivityEvent): Activity;
|
|
530
530
|
addException(exception: Exception, tags?: TagList, timestamp?: DateTimeOffset): Activity;
|
|
531
531
|
addLink(link: ActivityLink): Activity;
|
|
532
|
-
addTag(key: string, value: string): Activity;
|
|
533
|
-
addTag(key: string, value: unknown): Activity;
|
|
532
|
+
addTag(key: string, value: string | undefined): Activity;
|
|
533
|
+
addTag(key: string, value: unknown | undefined): Activity;
|
|
534
534
|
dispose(): void;
|
|
535
535
|
enumerateEvents(): Activity_Enumerator_1<ActivityEvent>;
|
|
536
536
|
enumerateLinks(): Activity_Enumerator_1<ActivityLink>;
|
|
537
537
|
enumerateTagObjects(): Activity_Enumerator_1<KeyValuePair_2<System_Internal.String, unknown>>;
|
|
538
|
-
getBaggageItem(key: string): string;
|
|
539
|
-
getCustomProperty(propertyName: string): unknown;
|
|
540
|
-
getTagItem(key: string): unknown;
|
|
541
|
-
setBaggage(key: string, value: string): Activity;
|
|
542
|
-
setCustomProperty(propertyName: string, propertyValue: unknown): void;
|
|
538
|
+
getBaggageItem(key: string): string | undefined;
|
|
539
|
+
getCustomProperty(propertyName: string): unknown | undefined;
|
|
540
|
+
getTagItem(key: string): unknown | undefined;
|
|
541
|
+
setBaggage(key: string, value: string | undefined): Activity;
|
|
542
|
+
setCustomProperty(propertyName: string, propertyValue: unknown | undefined): void;
|
|
543
543
|
setEndTime(endTimeUtc: DateTime): Activity;
|
|
544
544
|
setIdFormat(format: ActivityIdFormat): Activity;
|
|
545
545
|
setParentId(parentId: string): Activity;
|
|
546
546
|
setParentId(traceId: ActivityTraceId, spanId: ActivitySpanId, activityTraceFlags?: ActivityTraceFlags): Activity;
|
|
547
547
|
setStartTime(startTimeUtc: DateTime): Activity;
|
|
548
|
-
setStatus(code: ActivityStatusCode, description?: string): Activity;
|
|
549
|
-
setTag(key: string, value: unknown): Activity;
|
|
548
|
+
setStatus(code: ActivityStatusCode, description?: string | undefined): Activity;
|
|
549
|
+
setTag(key: string, value: unknown | undefined): Activity;
|
|
550
550
|
start(): Activity;
|
|
551
551
|
stop(): void;
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
|
|
555
555
|
export const Activity: {
|
|
556
|
-
new(operationName: string): Activity
|
|
556
|
+
new(operationName: string): Activity;
|
|
557
557
|
forceDefaultIdFormat: boolean;
|
|
558
|
-
current: Activity;
|
|
559
|
-
traceIdGenerator: Func_1<ActivityTraceId
|
|
558
|
+
current: Activity | undefined;
|
|
559
|
+
traceIdGenerator: Func_1<ActivityTraceId> | undefined;
|
|
560
560
|
defaultIdFormat: ActivityIdFormat;
|
|
561
561
|
};
|
|
562
562
|
|
|
@@ -571,18 +571,18 @@ export type Activity = Activity$instance & __Activity$views;
|
|
|
571
571
|
|
|
572
572
|
|
|
573
573
|
export interface ActivityListener$instance {
|
|
574
|
-
activityStarted: Action_1<Activity
|
|
575
|
-
activityStopped: Action_1<Activity
|
|
576
|
-
exceptionRecorder: ExceptionRecorder;
|
|
577
|
-
sample: SampleActivity_1<ActivityContext
|
|
578
|
-
sampleUsingParentId: SampleActivity_1<System_Internal.String
|
|
579
|
-
shouldListenTo: Func_2<ActivitySource, System_Internal.Boolean
|
|
574
|
+
activityStarted: Action_1<Activity> | undefined;
|
|
575
|
+
activityStopped: Action_1<Activity> | undefined;
|
|
576
|
+
exceptionRecorder: ExceptionRecorder | undefined;
|
|
577
|
+
sample: SampleActivity_1<ActivityContext> | undefined;
|
|
578
|
+
sampleUsingParentId: SampleActivity_1<System_Internal.String> | undefined;
|
|
579
|
+
shouldListenTo: Func_2<ActivitySource, System_Internal.Boolean> | undefined;
|
|
580
580
|
dispose(): void;
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
|
|
584
584
|
export const ActivityListener: {
|
|
585
|
-
new(): ActivityListener
|
|
585
|
+
new(): ActivityListener;
|
|
586
586
|
};
|
|
587
587
|
|
|
588
588
|
|
|
@@ -598,25 +598,25 @@ export type ActivityListener = ActivityListener$instance & __ActivityListener$vi
|
|
|
598
598
|
export interface ActivitySource$instance {
|
|
599
599
|
readonly name: string;
|
|
600
600
|
readonly tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>;
|
|
601
|
-
readonly telemetrySchemaUrl: string;
|
|
601
|
+
readonly telemetrySchemaUrl: string | undefined;
|
|
602
602
|
readonly version: string;
|
|
603
|
-
createActivity(name: string, kind: ActivityKind): Activity;
|
|
604
|
-
createActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown
|
|
605
|
-
createActivity(name: string, kind: ActivityKind, parentId: string, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown
|
|
603
|
+
createActivity(name: string, kind: ActivityKind): Activity | undefined;
|
|
604
|
+
createActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined, links?: IEnumerable_1<ActivityLink>, idFormat?: ActivityIdFormat): Activity;
|
|
605
|
+
createActivity(name: string, kind: ActivityKind, parentId: string, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined, links?: IEnumerable_1<ActivityLink>, idFormat?: ActivityIdFormat): Activity;
|
|
606
606
|
dispose(): void;
|
|
607
607
|
hasListeners(): boolean;
|
|
608
|
-
startActivity(name?: string, kind?: ActivityKind): Activity;
|
|
609
|
-
startActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown
|
|
610
|
-
startActivity(name: string, kind: ActivityKind, parentId: string, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown
|
|
611
|
-
startActivity(kind: ActivityKind, parentContext?: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown
|
|
608
|
+
startActivity(name?: string, kind?: ActivityKind): Activity | undefined;
|
|
609
|
+
startActivity(name: string, kind: ActivityKind, parentContext: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined, links?: IEnumerable_1<ActivityLink>, startTime?: DateTimeOffset): Activity;
|
|
610
|
+
startActivity(name: string, kind: ActivityKind, parentId: string, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined, links?: IEnumerable_1<ActivityLink>, startTime?: DateTimeOffset): Activity;
|
|
611
|
+
startActivity(kind: ActivityKind, parentContext?: ActivityContext, tags?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined, links?: IEnumerable_1<ActivityLink>, startTime?: DateTimeOffset, name?: string): Activity;
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
|
|
615
615
|
export const ActivitySource: {
|
|
616
|
-
new(name: string): ActivitySource
|
|
617
|
-
new(name: string, version: string): ActivitySource
|
|
618
|
-
new(name: string, version: string, tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): ActivitySource
|
|
619
|
-
new(options: ActivitySourceOptions): ActivitySource
|
|
616
|
+
new(name: string): ActivitySource;
|
|
617
|
+
new(name: string, version: string | undefined): ActivitySource;
|
|
618
|
+
new(name: string, version: string | undefined, tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | undefined): ActivitySource;
|
|
619
|
+
new(options: ActivitySourceOptions): ActivitySource;
|
|
620
620
|
addActivityListener(listener: ActivityListener): void;
|
|
621
621
|
};
|
|
622
622
|
|
|
@@ -633,13 +633,13 @@ export type ActivitySource = ActivitySource$instance & __ActivitySource$views;
|
|
|
633
633
|
export interface ActivitySourceOptions$instance {
|
|
634
634
|
name: string;
|
|
635
635
|
tags: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>;
|
|
636
|
-
telemetrySchemaUrl: string;
|
|
636
|
+
telemetrySchemaUrl: string | undefined;
|
|
637
637
|
version: string;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
|
|
641
641
|
export const ActivitySourceOptions: {
|
|
642
|
-
new(name: string): ActivitySourceOptions
|
|
642
|
+
new(name: string | undefined): ActivitySourceOptions;
|
|
643
643
|
};
|
|
644
644
|
|
|
645
645
|
|
|
@@ -650,8 +650,8 @@ export interface ActivityTagsCollection$instance {
|
|
|
650
650
|
readonly isReadOnly: boolean;
|
|
651
651
|
item: unknown;
|
|
652
652
|
readonly keys: ICollection_1<System_Internal.String>;
|
|
653
|
-
readonly values: ICollection_1<unknown>;
|
|
654
|
-
add(key: string, value: unknown): void;
|
|
653
|
+
readonly values: ICollection_1<unknown | undefined>;
|
|
654
|
+
add(key: string, value: unknown | undefined): void;
|
|
655
655
|
add(item: KeyValuePair_2<System_Internal.String, unknown>): void;
|
|
656
656
|
clear(): void;
|
|
657
657
|
contains(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
|
|
@@ -660,13 +660,13 @@ export interface ActivityTagsCollection$instance {
|
|
|
660
660
|
getEnumerator(): ActivityTagsCollection_Enumerator;
|
|
661
661
|
remove(key: string): boolean;
|
|
662
662
|
remove(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
|
|
663
|
-
tryGetValue(key: string, value: unknown): boolean;
|
|
663
|
+
tryGetValue(key: string, value: unknown | undefined): boolean;
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
|
|
667
667
|
export const ActivityTagsCollection: {
|
|
668
|
-
new(): ActivityTagsCollection
|
|
669
|
-
new(list: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): ActivityTagsCollection
|
|
668
|
+
new(): ActivityTagsCollection;
|
|
669
|
+
new(list: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): ActivityTagsCollection;
|
|
670
670
|
};
|
|
671
671
|
|
|
672
672
|
|
|
@@ -686,8 +686,8 @@ export interface BooleanSwitch$instance extends Switch {
|
|
|
686
686
|
|
|
687
687
|
|
|
688
688
|
export const BooleanSwitch: {
|
|
689
|
-
new(displayName: string, description: string): BooleanSwitch
|
|
690
|
-
new(displayName: string, description: string, defaultSwitchValue: string): BooleanSwitch
|
|
689
|
+
new(displayName: string, description: string | undefined): BooleanSwitch;
|
|
690
|
+
new(displayName: string, description: string | undefined, defaultSwitchValue: string): BooleanSwitch;
|
|
691
691
|
};
|
|
692
692
|
|
|
693
693
|
|
|
@@ -699,7 +699,7 @@ export interface ConditionalAttribute$instance extends Attribute {
|
|
|
699
699
|
|
|
700
700
|
|
|
701
701
|
export const ConditionalAttribute: {
|
|
702
|
-
new(conditionString: string): ConditionalAttribute
|
|
702
|
+
new(conditionString: string): ConditionalAttribute;
|
|
703
703
|
};
|
|
704
704
|
|
|
705
705
|
|
|
@@ -712,8 +712,8 @@ export interface ConsoleTraceListener$instance extends TextWriterTraceListener$i
|
|
|
712
712
|
|
|
713
713
|
|
|
714
714
|
export const ConsoleTraceListener: {
|
|
715
|
-
new(): ConsoleTraceListener
|
|
716
|
-
new(useErrorStream: boolean): ConsoleTraceListener
|
|
715
|
+
new(): ConsoleTraceListener;
|
|
716
|
+
new(useErrorStream: boolean): ConsoleTraceListener;
|
|
717
717
|
};
|
|
718
718
|
|
|
719
719
|
|
|
@@ -734,7 +734,7 @@ export interface CorrelationManager$instance {
|
|
|
734
734
|
|
|
735
735
|
|
|
736
736
|
export const CorrelationManager: {
|
|
737
|
-
new(): CorrelationManager
|
|
737
|
+
new(): CorrelationManager;
|
|
738
738
|
};
|
|
739
739
|
|
|
740
740
|
|
|
@@ -746,7 +746,7 @@ export interface DataReceivedEventArgs$instance extends EventArgs {
|
|
|
746
746
|
|
|
747
747
|
|
|
748
748
|
export const DataReceivedEventArgs: {
|
|
749
|
-
new(): DataReceivedEventArgs
|
|
749
|
+
new(): DataReceivedEventArgs;
|
|
750
750
|
};
|
|
751
751
|
|
|
752
752
|
|
|
@@ -760,8 +760,8 @@ export interface DebuggableAttribute$instance extends Attribute {
|
|
|
760
760
|
|
|
761
761
|
|
|
762
762
|
export const DebuggableAttribute: {
|
|
763
|
-
new(isJITTrackingEnabled: boolean, isJITOptimizerDisabled: boolean): DebuggableAttribute
|
|
764
|
-
new(modes: DebuggableAttribute_DebuggingModes): DebuggableAttribute
|
|
763
|
+
new(isJITTrackingEnabled: boolean, isJITOptimizerDisabled: boolean): DebuggableAttribute;
|
|
764
|
+
new(modes: DebuggableAttribute_DebuggingModes): DebuggableAttribute;
|
|
765
765
|
};
|
|
766
766
|
|
|
767
767
|
|
|
@@ -773,7 +773,7 @@ export interface DebuggerBrowsableAttribute$instance extends Attribute {
|
|
|
773
773
|
|
|
774
774
|
|
|
775
775
|
export const DebuggerBrowsableAttribute: {
|
|
776
|
-
new(state: DebuggerBrowsableState): DebuggerBrowsableAttribute
|
|
776
|
+
new(state: DebuggerBrowsableState): DebuggerBrowsableAttribute;
|
|
777
777
|
};
|
|
778
778
|
|
|
779
779
|
|
|
@@ -784,7 +784,7 @@ export interface DebuggerDisableUserUnhandledExceptionsAttribute$instance extend
|
|
|
784
784
|
|
|
785
785
|
|
|
786
786
|
export const DebuggerDisableUserUnhandledExceptionsAttribute: {
|
|
787
|
-
new(): DebuggerDisableUserUnhandledExceptionsAttribute
|
|
787
|
+
new(): DebuggerDisableUserUnhandledExceptionsAttribute;
|
|
788
788
|
};
|
|
789
789
|
|
|
790
790
|
|
|
@@ -793,14 +793,14 @@ export type DebuggerDisableUserUnhandledExceptionsAttribute = DebuggerDisableUse
|
|
|
793
793
|
export interface DebuggerDisplayAttribute$instance extends Attribute {
|
|
794
794
|
name: string;
|
|
795
795
|
target: Type;
|
|
796
|
-
targetTypeName: string;
|
|
796
|
+
targetTypeName: string | undefined;
|
|
797
797
|
type_: string;
|
|
798
798
|
readonly value: string;
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
|
|
802
802
|
export const DebuggerDisplayAttribute: {
|
|
803
|
-
new(value: string): DebuggerDisplayAttribute
|
|
803
|
+
new(value: string | undefined): DebuggerDisplayAttribute;
|
|
804
804
|
};
|
|
805
805
|
|
|
806
806
|
|
|
@@ -811,7 +811,7 @@ export interface DebuggerHiddenAttribute$instance extends Attribute {
|
|
|
811
811
|
|
|
812
812
|
|
|
813
813
|
export const DebuggerHiddenAttribute: {
|
|
814
|
-
new(): DebuggerHiddenAttribute
|
|
814
|
+
new(): DebuggerHiddenAttribute;
|
|
815
815
|
};
|
|
816
816
|
|
|
817
817
|
|
|
@@ -822,7 +822,7 @@ export interface DebuggerNonUserCodeAttribute$instance extends Attribute {
|
|
|
822
822
|
|
|
823
823
|
|
|
824
824
|
export const DebuggerNonUserCodeAttribute: {
|
|
825
|
-
new(): DebuggerNonUserCodeAttribute
|
|
825
|
+
new(): DebuggerNonUserCodeAttribute;
|
|
826
826
|
};
|
|
827
827
|
|
|
828
828
|
|
|
@@ -833,7 +833,7 @@ export interface DebuggerStepperBoundaryAttribute$instance extends Attribute {
|
|
|
833
833
|
|
|
834
834
|
|
|
835
835
|
export const DebuggerStepperBoundaryAttribute: {
|
|
836
|
-
new(): DebuggerStepperBoundaryAttribute
|
|
836
|
+
new(): DebuggerStepperBoundaryAttribute;
|
|
837
837
|
};
|
|
838
838
|
|
|
839
839
|
|
|
@@ -844,7 +844,7 @@ export interface DebuggerStepThroughAttribute$instance extends Attribute {
|
|
|
844
844
|
|
|
845
845
|
|
|
846
846
|
export const DebuggerStepThroughAttribute: {
|
|
847
|
-
new(): DebuggerStepThroughAttribute
|
|
847
|
+
new(): DebuggerStepThroughAttribute;
|
|
848
848
|
};
|
|
849
849
|
|
|
850
850
|
|
|
@@ -853,13 +853,13 @@ export type DebuggerStepThroughAttribute = DebuggerStepThroughAttribute$instance
|
|
|
853
853
|
export interface DebuggerTypeProxyAttribute$instance extends Attribute {
|
|
854
854
|
readonly proxyTypeName: string;
|
|
855
855
|
target: Type;
|
|
856
|
-
targetTypeName: string;
|
|
856
|
+
targetTypeName: string | undefined;
|
|
857
857
|
}
|
|
858
858
|
|
|
859
859
|
|
|
860
860
|
export const DebuggerTypeProxyAttribute: {
|
|
861
|
-
new(type_: Type): DebuggerTypeProxyAttribute
|
|
862
|
-
new(typeName: string): DebuggerTypeProxyAttribute
|
|
861
|
+
new(type_: Type | undefined): DebuggerTypeProxyAttribute;
|
|
862
|
+
new(typeName: string | undefined): DebuggerTypeProxyAttribute;
|
|
863
863
|
};
|
|
864
864
|
|
|
865
865
|
|
|
@@ -868,37 +868,37 @@ export type DebuggerTypeProxyAttribute = DebuggerTypeProxyAttribute$instance;
|
|
|
868
868
|
export interface DebuggerVisualizerAttribute$instance extends Attribute {
|
|
869
869
|
description: string;
|
|
870
870
|
target: Type;
|
|
871
|
-
targetTypeName: string;
|
|
872
|
-
readonly visualizerObjectSourceTypeName: string;
|
|
871
|
+
targetTypeName: string | undefined;
|
|
872
|
+
readonly visualizerObjectSourceTypeName: string | undefined;
|
|
873
873
|
readonly visualizerTypeName: string;
|
|
874
874
|
}
|
|
875
875
|
|
|
876
876
|
|
|
877
877
|
export const DebuggerVisualizerAttribute: {
|
|
878
|
-
new(visualizerTypeName: string): DebuggerVisualizerAttribute
|
|
879
|
-
new(visualizerTypeName: string, visualizerObjectSourceTypeName: string): DebuggerVisualizerAttribute
|
|
880
|
-
new(visualizerTypeName: string, visualizerObjectSource: Type): DebuggerVisualizerAttribute
|
|
881
|
-
new(visualizer: Type): DebuggerVisualizerAttribute
|
|
882
|
-
new(visualizer: Type, visualizerObjectSource: Type): DebuggerVisualizerAttribute
|
|
883
|
-
new(visualizer: Type, visualizerObjectSourceTypeName: string): DebuggerVisualizerAttribute
|
|
878
|
+
new(visualizerTypeName: string | undefined): DebuggerVisualizerAttribute;
|
|
879
|
+
new(visualizerTypeName: string | undefined, visualizerObjectSourceTypeName: string | undefined): DebuggerVisualizerAttribute;
|
|
880
|
+
new(visualizerTypeName: string | undefined, visualizerObjectSource: Type | undefined): DebuggerVisualizerAttribute;
|
|
881
|
+
new(visualizer: Type | undefined): DebuggerVisualizerAttribute;
|
|
882
|
+
new(visualizer: Type | undefined, visualizerObjectSource: Type | undefined): DebuggerVisualizerAttribute;
|
|
883
|
+
new(visualizer: Type | undefined, visualizerObjectSourceTypeName: string | undefined): DebuggerVisualizerAttribute;
|
|
884
884
|
};
|
|
885
885
|
|
|
886
886
|
|
|
887
887
|
export type DebuggerVisualizerAttribute = DebuggerVisualizerAttribute$instance;
|
|
888
888
|
|
|
889
889
|
export interface DebugProvider$instance {
|
|
890
|
-
fail(message: string, detailMessage: string): void;
|
|
890
|
+
fail(message: string | undefined, detailMessage: string | undefined): void;
|
|
891
891
|
onIndentLevelChanged(indentLevel: int): void;
|
|
892
892
|
onIndentSizeChanged(indentSize: int): void;
|
|
893
|
-
write(message: string): void;
|
|
894
|
-
writeLine(message: string): void;
|
|
893
|
+
write(message: string | undefined): void;
|
|
894
|
+
writeLine(message: string | undefined): void;
|
|
895
895
|
}
|
|
896
896
|
|
|
897
897
|
|
|
898
898
|
export const DebugProvider: {
|
|
899
|
-
new(): DebugProvider
|
|
900
|
-
failCore(stackTrace: string, message: string, detailMessage: string, errorSource: string): void;
|
|
901
|
-
writeCore(message: string): void;
|
|
899
|
+
new(): DebugProvider;
|
|
900
|
+
failCore(stackTrace: string | undefined, message: string | undefined, detailMessage: string | undefined, errorSource: string | undefined): void;
|
|
901
|
+
writeCore(message: string | undefined): void;
|
|
902
902
|
};
|
|
903
903
|
|
|
904
904
|
|
|
@@ -906,23 +906,23 @@ export type DebugProvider = DebugProvider$instance;
|
|
|
906
906
|
|
|
907
907
|
export interface DefaultTraceListener$instance extends TraceListener$instance {
|
|
908
908
|
assertUiEnabled: boolean;
|
|
909
|
-
logFileName: string;
|
|
909
|
+
logFileName: string | undefined;
|
|
910
910
|
dispose(): void;
|
|
911
|
-
fail(message: string): void;
|
|
912
|
-
fail(message: string, detailMessage: string): void;
|
|
913
|
-
write(message: string): void;
|
|
914
|
-
write(o: unknown): void;
|
|
915
|
-
write(message: string, category: string): void;
|
|
916
|
-
write(o: unknown, category: string): void;
|
|
917
|
-
writeLine(message: string): void;
|
|
918
|
-
writeLine(o: unknown): void;
|
|
919
|
-
writeLine(message: string, category: string): void;
|
|
920
|
-
writeLine(o: unknown, category: string): void;
|
|
911
|
+
fail(message: string | undefined): void;
|
|
912
|
+
fail(message: string | undefined, detailMessage: string | undefined): void;
|
|
913
|
+
write(message: string | undefined): void;
|
|
914
|
+
write(o: unknown | undefined): void;
|
|
915
|
+
write(message: string | undefined, category: string | undefined): void;
|
|
916
|
+
write(o: unknown | undefined, category: string | undefined): void;
|
|
917
|
+
writeLine(message: string | undefined): void;
|
|
918
|
+
writeLine(o: unknown | undefined): void;
|
|
919
|
+
writeLine(message: string | undefined, category: string | undefined): void;
|
|
920
|
+
writeLine(o: unknown | undefined, category: string | undefined): void;
|
|
921
921
|
}
|
|
922
922
|
|
|
923
923
|
|
|
924
924
|
export const DefaultTraceListener: {
|
|
925
|
-
new(): DefaultTraceListener
|
|
925
|
+
new(): DefaultTraceListener;
|
|
926
926
|
};
|
|
927
927
|
|
|
928
928
|
|
|
@@ -940,17 +940,17 @@ export interface DelimitedListTraceListener$instance extends TextWriterTraceList
|
|
|
940
940
|
traceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
|
|
941
941
|
traceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
|
|
942
942
|
traceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, message: string): void;
|
|
943
|
-
traceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int): void;
|
|
943
|
+
traceEvent(eventCache: TraceEventCache | undefined, source: string | undefined, eventType: TraceEventType, id: int): void;
|
|
944
944
|
}
|
|
945
945
|
|
|
946
946
|
|
|
947
947
|
export const DelimitedListTraceListener: {
|
|
948
|
-
new(stream: Stream): DelimitedListTraceListener
|
|
949
|
-
new(stream: Stream, name: string): DelimitedListTraceListener
|
|
950
|
-
new(writer: TextWriter): DelimitedListTraceListener
|
|
951
|
-
new(writer: TextWriter, name: string): DelimitedListTraceListener
|
|
952
|
-
new(fileName: string): DelimitedListTraceListener
|
|
953
|
-
new(fileName: string, name: string): DelimitedListTraceListener
|
|
948
|
+
new(stream: Stream): DelimitedListTraceListener;
|
|
949
|
+
new(stream: Stream, name: string | undefined): DelimitedListTraceListener;
|
|
950
|
+
new(writer: TextWriter): DelimitedListTraceListener;
|
|
951
|
+
new(writer: TextWriter, name: string | undefined): DelimitedListTraceListener;
|
|
952
|
+
new(fileName: string): DelimitedListTraceListener;
|
|
953
|
+
new(fileName: string, name: string): DelimitedListTraceListener;
|
|
954
954
|
};
|
|
955
955
|
|
|
956
956
|
|
|
@@ -966,20 +966,20 @@ export interface DiagnosticListener$instance extends DiagnosticSource {
|
|
|
966
966
|
dispose(): void;
|
|
967
967
|
isEnabled(name: string): boolean;
|
|
968
968
|
isEnabled(name: string, arg1: unknown, arg2?: unknown): boolean;
|
|
969
|
-
onActivityExport(activity: Activity, payload: unknown): void;
|
|
970
|
-
onActivityImport(activity: Activity, payload: unknown): void;
|
|
971
|
-
subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown, unknown, System_Internal.Boolean
|
|
972
|
-
subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Predicate_1<System_Internal.String>): IDisposable;
|
|
973
|
-
subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown, unknown, System_Internal.Boolean>): IDisposable;
|
|
969
|
+
onActivityExport(activity: Activity, payload: unknown | undefined): void;
|
|
970
|
+
onActivityImport(activity: Activity, payload: unknown | undefined): void;
|
|
971
|
+
subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown | undefined, unknown | undefined, System_Internal.Boolean> | undefined, onActivityImport?: Action_2<Activity, unknown | undefined> | undefined, onActivityExport?: Action_2<Activity, unknown | undefined> | undefined): IDisposable;
|
|
972
|
+
subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Predicate_1<System_Internal.String> | undefined): IDisposable;
|
|
973
|
+
subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>, isEnabled: Func_4<System_Internal.String, unknown | undefined, unknown | undefined, System_Internal.Boolean> | undefined): IDisposable;
|
|
974
974
|
subscribe(observer: IObserver_1<KeyValuePair_2<System_Internal.String, unknown>>): IDisposable;
|
|
975
975
|
toString(): string;
|
|
976
|
-
write(name: string, value: unknown): void;
|
|
976
|
+
write(name: string, value: unknown | undefined): void;
|
|
977
977
|
write<T>(name: string, value: T): void;
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
|
|
981
981
|
export const DiagnosticListener: {
|
|
982
|
-
new(name: string): DiagnosticListener
|
|
982
|
+
new(name: string): DiagnosticListener;
|
|
983
983
|
readonly allListeners: IObservable_1<DiagnosticListener>;
|
|
984
984
|
};
|
|
985
985
|
|
|
@@ -995,16 +995,16 @@ export type DiagnosticListener = DiagnosticListener$instance & __DiagnosticListe
|
|
|
995
995
|
|
|
996
996
|
|
|
997
997
|
export interface DiagnosticMethodInfo$instance {
|
|
998
|
-
readonly declaringAssemblyName: string;
|
|
999
|
-
readonly declaringTypeName: string;
|
|
998
|
+
readonly declaringAssemblyName: string | undefined;
|
|
999
|
+
readonly declaringTypeName: string | undefined;
|
|
1000
1000
|
readonly name: string;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
|
|
1004
1004
|
export const DiagnosticMethodInfo: {
|
|
1005
|
-
new(): DiagnosticMethodInfo
|
|
1006
|
-
create(delegate: Function): DiagnosticMethodInfo;
|
|
1007
|
-
create(frame: StackFrame): DiagnosticMethodInfo;
|
|
1005
|
+
new(): DiagnosticMethodInfo;
|
|
1006
|
+
create(delegate: Function): DiagnosticMethodInfo | undefined;
|
|
1007
|
+
create(frame: StackFrame): DiagnosticMethodInfo | undefined;
|
|
1008
1008
|
};
|
|
1009
1009
|
|
|
1010
1010
|
|
|
@@ -1013,13 +1013,13 @@ export type DiagnosticMethodInfo = DiagnosticMethodInfo$instance;
|
|
|
1013
1013
|
export interface DiagnosticSource$instance {
|
|
1014
1014
|
isEnabled(name: string): boolean;
|
|
1015
1015
|
isEnabled(name: string, arg1: unknown, arg2?: unknown): boolean;
|
|
1016
|
-
onActivityExport(activity: Activity, payload: unknown): void;
|
|
1017
|
-
onActivityImport(activity: Activity, payload: unknown): void;
|
|
1018
|
-
startActivity(activity: Activity, args: unknown): Activity;
|
|
1016
|
+
onActivityExport(activity: Activity, payload: unknown | undefined): void;
|
|
1017
|
+
onActivityImport(activity: Activity, payload: unknown | undefined): void;
|
|
1018
|
+
startActivity(activity: Activity, args: unknown | undefined): Activity;
|
|
1019
1019
|
startActivity<T>(activity: Activity, args: T): Activity;
|
|
1020
|
-
stopActivity(activity: Activity, args: unknown): void;
|
|
1020
|
+
stopActivity(activity: Activity, args: unknown | undefined): void;
|
|
1021
1021
|
stopActivity<T>(activity: Activity, args: T): void;
|
|
1022
|
-
write(name: string, value: unknown): void;
|
|
1022
|
+
write(name: string, value: unknown | undefined): void;
|
|
1023
1023
|
write<T>(name: string, value: T): void;
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
@@ -1032,7 +1032,7 @@ export type DiagnosticSource = DiagnosticSource$instance;
|
|
|
1032
1032
|
|
|
1033
1033
|
export interface DistributedContextPropagator$instance {
|
|
1034
1034
|
readonly fields: IReadOnlyCollection_1<System_Internal.String>;
|
|
1035
|
-
extractBaggage(carrier: unknown, getter: DistributedContextPropagator_PropagatorGetterCallback): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String
|
|
1035
|
+
extractBaggage(carrier: unknown, getter: DistributedContextPropagator_PropagatorGetterCallback): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> | undefined;
|
|
1036
1036
|
extractTraceIdAndState(carrier: unknown, getter: DistributedContextPropagator_PropagatorGetterCallback, traceId: string, traceState: string): void;
|
|
1037
1037
|
inject(activity: Activity, carrier: unknown, setter: DistributedContextPropagator_PropagatorSetterCallback): void;
|
|
1038
1038
|
}
|
|
@@ -1057,47 +1057,47 @@ export interface EventTypeFilter$instance extends TraceFilter {
|
|
|
1057
1057
|
|
|
1058
1058
|
|
|
1059
1059
|
export const EventTypeFilter: {
|
|
1060
|
-
new(level: SourceLevels): EventTypeFilter
|
|
1060
|
+
new(level: SourceLevels): EventTypeFilter;
|
|
1061
1061
|
};
|
|
1062
1062
|
|
|
1063
1063
|
|
|
1064
1064
|
export type EventTypeFilter = EventTypeFilter$instance;
|
|
1065
1065
|
|
|
1066
1066
|
export interface FileVersionInfo$instance {
|
|
1067
|
-
readonly comments: string;
|
|
1068
|
-
readonly companyName: string;
|
|
1067
|
+
readonly comments: string | undefined;
|
|
1068
|
+
readonly companyName: string | undefined;
|
|
1069
1069
|
readonly fileBuildPart: int;
|
|
1070
|
-
readonly fileDescription: string;
|
|
1070
|
+
readonly fileDescription: string | undefined;
|
|
1071
1071
|
readonly fileMajorPart: int;
|
|
1072
1072
|
readonly fileMinorPart: int;
|
|
1073
1073
|
readonly fileName: string;
|
|
1074
1074
|
readonly filePrivatePart: int;
|
|
1075
|
-
readonly fileVersion: string;
|
|
1076
|
-
readonly internalName: string;
|
|
1075
|
+
readonly fileVersion: string | undefined;
|
|
1076
|
+
readonly internalName: string | undefined;
|
|
1077
1077
|
readonly isDebug: boolean;
|
|
1078
1078
|
readonly isPatched: boolean;
|
|
1079
1079
|
readonly isPreRelease: boolean;
|
|
1080
1080
|
readonly isPrivateBuild: boolean;
|
|
1081
1081
|
readonly isSpecialBuild: boolean;
|
|
1082
|
-
readonly language: string;
|
|
1083
|
-
readonly legalCopyright: string;
|
|
1084
|
-
readonly legalTrademarks: string;
|
|
1085
|
-
readonly originalFilename: string;
|
|
1086
|
-
readonly privateBuild: string;
|
|
1082
|
+
readonly language: string | undefined;
|
|
1083
|
+
readonly legalCopyright: string | undefined;
|
|
1084
|
+
readonly legalTrademarks: string | undefined;
|
|
1085
|
+
readonly originalFilename: string | undefined;
|
|
1086
|
+
readonly privateBuild: string | undefined;
|
|
1087
1087
|
readonly productBuildPart: int;
|
|
1088
1088
|
readonly productMajorPart: int;
|
|
1089
1089
|
readonly productMinorPart: int;
|
|
1090
|
-
readonly productName: string;
|
|
1090
|
+
readonly productName: string | undefined;
|
|
1091
1091
|
readonly productPrivatePart: int;
|
|
1092
|
-
readonly productVersion: string;
|
|
1093
|
-
readonly specialBuild: string;
|
|
1094
|
-
toString(): string;
|
|
1092
|
+
readonly productVersion: string | undefined;
|
|
1093
|
+
readonly specialBuild: string | undefined;
|
|
1094
|
+
toString(): string | undefined;
|
|
1095
1095
|
}
|
|
1096
1096
|
|
|
1097
1097
|
|
|
1098
1098
|
export const FileVersionInfo: {
|
|
1099
|
-
new(): FileVersionInfo
|
|
1100
|
-
getVersionInfo(fileName: string): FileVersionInfo;
|
|
1099
|
+
new(): FileVersionInfo;
|
|
1100
|
+
getVersionInfo(fileName: string | undefined): FileVersionInfo | undefined;
|
|
1101
1101
|
};
|
|
1102
1102
|
|
|
1103
1103
|
|
|
@@ -1109,7 +1109,7 @@ export interface InitializingSwitchEventArgs$instance extends EventArgs {
|
|
|
1109
1109
|
|
|
1110
1110
|
|
|
1111
1111
|
export const InitializingSwitchEventArgs: {
|
|
1112
|
-
new(switch_: Switch): InitializingSwitchEventArgs
|
|
1112
|
+
new(switch_: Switch): InitializingSwitchEventArgs;
|
|
1113
1113
|
};
|
|
1114
1114
|
|
|
1115
1115
|
|
|
@@ -1122,7 +1122,7 @@ export interface InitializingTraceSourceEventArgs$instance extends EventArgs {
|
|
|
1122
1122
|
|
|
1123
1123
|
|
|
1124
1124
|
export const InitializingTraceSourceEventArgs: {
|
|
1125
|
-
new(traceSource: TraceSource): InitializingTraceSourceEventArgs
|
|
1125
|
+
new(traceSource: TraceSource): InitializingTraceSourceEventArgs;
|
|
1126
1126
|
};
|
|
1127
1127
|
|
|
1128
1128
|
|
|
@@ -1134,7 +1134,7 @@ export interface MonitoringDescriptionAttribute$instance extends DescriptionAttr
|
|
|
1134
1134
|
|
|
1135
1135
|
|
|
1136
1136
|
export const MonitoringDescriptionAttribute: {
|
|
1137
|
-
new(description: string): MonitoringDescriptionAttribute
|
|
1137
|
+
new(description: string): MonitoringDescriptionAttribute;
|
|
1138
1138
|
};
|
|
1139
1139
|
|
|
1140
1140
|
|
|
@@ -1150,7 +1150,7 @@ export interface Process$instance extends Component {
|
|
|
1150
1150
|
readonly hasExited: boolean;
|
|
1151
1151
|
readonly id: int;
|
|
1152
1152
|
readonly machineName: string;
|
|
1153
|
-
readonly mainModule: ProcessModule;
|
|
1153
|
+
readonly mainModule: ProcessModule | undefined;
|
|
1154
1154
|
readonly mainWindowHandle: nint;
|
|
1155
1155
|
readonly mainWindowTitle: string;
|
|
1156
1156
|
maxWorkingSet: nint;
|
|
@@ -1183,7 +1183,7 @@ export interface Process$instance extends Component {
|
|
|
1183
1183
|
readonly standardOutput: StreamReader;
|
|
1184
1184
|
startInfo: ProcessStartInfo;
|
|
1185
1185
|
readonly startTime: DateTime;
|
|
1186
|
-
synchronizingObject: ISynchronizeInvoke;
|
|
1186
|
+
synchronizingObject: ISynchronizeInvoke | undefined;
|
|
1187
1187
|
readonly threads: ProcessThreadCollection;
|
|
1188
1188
|
readonly totalProcessorTime: TimeSpan;
|
|
1189
1189
|
readonly userProcessorTime: TimeSpan;
|
|
@@ -1214,17 +1214,17 @@ export interface Process$instance extends Component {
|
|
|
1214
1214
|
|
|
1215
1215
|
|
|
1216
1216
|
export const Process: {
|
|
1217
|
-
new(): Process
|
|
1217
|
+
new(): Process;
|
|
1218
1218
|
enterDebugMode(): void;
|
|
1219
1219
|
getCurrentProcess(): Process;
|
|
1220
1220
|
getProcessById(processId: int, machineName: string): Process;
|
|
1221
1221
|
getProcessById(processId: int): Process;
|
|
1222
1222
|
getProcesses(): Process[];
|
|
1223
1223
|
getProcesses(machineName: string): Process[];
|
|
1224
|
-
getProcessesByName(processName: string, machineName: string): Process[];
|
|
1225
|
-
getProcessesByName(processName: string): Process[];
|
|
1224
|
+
getProcessesByName(processName: string | undefined, machineName: string): Process[];
|
|
1225
|
+
getProcessesByName(processName: string | undefined): Process[];
|
|
1226
1226
|
leaveDebugMode(): void;
|
|
1227
|
-
start(startInfo: ProcessStartInfo): Process;
|
|
1227
|
+
start(startInfo: ProcessStartInfo): Process | undefined;
|
|
1228
1228
|
start(fileName: string, arguments: IEnumerable_1<System_Internal.String>): Process;
|
|
1229
1229
|
start(fileName: string, userName: string, password: SecureString, domain: string): Process;
|
|
1230
1230
|
start(fileName: string, arguments: string, userName: string, password: SecureString, domain: string): Process;
|
|
@@ -1256,7 +1256,7 @@ export interface ProcessModule$instance extends Component {
|
|
|
1256
1256
|
|
|
1257
1257
|
|
|
1258
1258
|
export const ProcessModule: {
|
|
1259
|
-
new(): ProcessModule
|
|
1259
|
+
new(): ProcessModule;
|
|
1260
1260
|
};
|
|
1261
1261
|
|
|
1262
1262
|
|
|
@@ -1280,7 +1280,7 @@ export interface ProcessModuleCollection$instance extends ReadOnlyCollectionBase
|
|
|
1280
1280
|
|
|
1281
1281
|
|
|
1282
1282
|
export const ProcessModuleCollection: {
|
|
1283
|
-
new(processModules: ProcessModule[]): ProcessModuleCollection
|
|
1283
|
+
new(processModules: ProcessModule[]): ProcessModuleCollection;
|
|
1284
1284
|
};
|
|
1285
1285
|
|
|
1286
1286
|
|
|
@@ -1300,20 +1300,20 @@ export interface ProcessStartInfo$instance {
|
|
|
1300
1300
|
createNewProcessGroup: boolean;
|
|
1301
1301
|
createNoWindow: boolean;
|
|
1302
1302
|
domain: string;
|
|
1303
|
-
readonly environment: IDictionary_2<System_Internal.String,
|
|
1303
|
+
readonly environment: IDictionary_2<System_Internal.String, string | undefined>;
|
|
1304
1304
|
readonly environmentVariables: StringDictionary;
|
|
1305
1305
|
errorDialog: boolean;
|
|
1306
1306
|
errorDialogParentHandle: nint;
|
|
1307
1307
|
fileName: string;
|
|
1308
1308
|
loadUserProfile: boolean;
|
|
1309
1309
|
password: SecureString;
|
|
1310
|
-
passwordInClearText: string;
|
|
1310
|
+
passwordInClearText: string | undefined;
|
|
1311
1311
|
redirectStandardError: boolean;
|
|
1312
1312
|
redirectStandardInput: boolean;
|
|
1313
1313
|
redirectStandardOutput: boolean;
|
|
1314
|
-
standardErrorEncoding: Encoding;
|
|
1315
|
-
standardInputEncoding: Encoding;
|
|
1316
|
-
standardOutputEncoding: Encoding;
|
|
1314
|
+
standardErrorEncoding: Encoding | undefined;
|
|
1315
|
+
standardInputEncoding: Encoding | undefined;
|
|
1316
|
+
standardOutputEncoding: Encoding | undefined;
|
|
1317
1317
|
useCredentialsForNetworkingOnly: boolean;
|
|
1318
1318
|
userName: string;
|
|
1319
1319
|
useShellExecute: boolean;
|
|
@@ -1325,10 +1325,10 @@ export interface ProcessStartInfo$instance {
|
|
|
1325
1325
|
|
|
1326
1326
|
|
|
1327
1327
|
export const ProcessStartInfo: {
|
|
1328
|
-
new(): ProcessStartInfo
|
|
1329
|
-
new(fileName: string): ProcessStartInfo
|
|
1330
|
-
new(fileName: string, arguments: string): ProcessStartInfo
|
|
1331
|
-
new(fileName: string, arguments: IEnumerable_1<System_Internal.String>): ProcessStartInfo
|
|
1328
|
+
new(): ProcessStartInfo;
|
|
1329
|
+
new(fileName: string): ProcessStartInfo;
|
|
1330
|
+
new(fileName: string, arguments: string): ProcessStartInfo;
|
|
1331
|
+
new(fileName: string, arguments: IEnumerable_1<System_Internal.String>): ProcessStartInfo;
|
|
1332
1332
|
};
|
|
1333
1333
|
|
|
1334
1334
|
|
|
@@ -1355,7 +1355,7 @@ export interface ProcessThread$instance extends Component {
|
|
|
1355
1355
|
|
|
1356
1356
|
|
|
1357
1357
|
export const ProcessThread: {
|
|
1358
|
-
new(): ProcessThread
|
|
1358
|
+
new(): ProcessThread;
|
|
1359
1359
|
};
|
|
1360
1360
|
|
|
1361
1361
|
|
|
@@ -1382,7 +1382,7 @@ export interface ProcessThreadCollection$instance extends ReadOnlyCollectionBase
|
|
|
1382
1382
|
|
|
1383
1383
|
|
|
1384
1384
|
export const ProcessThreadCollection: {
|
|
1385
|
-
new(processThreads: ProcessThread[]): ProcessThreadCollection
|
|
1385
|
+
new(processThreads: ProcessThread[]): ProcessThreadCollection;
|
|
1386
1386
|
};
|
|
1387
1387
|
|
|
1388
1388
|
|
|
@@ -1403,7 +1403,7 @@ export interface SourceFilter$instance extends TraceFilter {
|
|
|
1403
1403
|
|
|
1404
1404
|
|
|
1405
1405
|
export const SourceFilter: {
|
|
1406
|
-
new(source: string): SourceFilter
|
|
1406
|
+
new(source: string): SourceFilter;
|
|
1407
1407
|
};
|
|
1408
1408
|
|
|
1409
1409
|
|
|
@@ -1416,8 +1416,8 @@ export interface SourceSwitch$instance extends Switch {
|
|
|
1416
1416
|
|
|
1417
1417
|
|
|
1418
1418
|
export const SourceSwitch: {
|
|
1419
|
-
new(name: string): SourceSwitch
|
|
1420
|
-
new(displayName: string, defaultSwitchValue: string): SourceSwitch
|
|
1419
|
+
new(name: string): SourceSwitch;
|
|
1420
|
+
new(displayName: string, defaultSwitchValue: string): SourceSwitch;
|
|
1421
1421
|
};
|
|
1422
1422
|
|
|
1423
1423
|
|
|
@@ -1426,21 +1426,21 @@ export type SourceSwitch = SourceSwitch$instance;
|
|
|
1426
1426
|
export interface StackFrame$instance {
|
|
1427
1427
|
getFileColumnNumber(): int;
|
|
1428
1428
|
getFileLineNumber(): int;
|
|
1429
|
-
getFileName(): string;
|
|
1429
|
+
getFileName(): string | undefined;
|
|
1430
1430
|
getILOffset(): int;
|
|
1431
|
-
getMethod(): MethodBase;
|
|
1431
|
+
getMethod(): MethodBase | undefined;
|
|
1432
1432
|
getNativeOffset(): int;
|
|
1433
|
-
toString(): string;
|
|
1433
|
+
toString(): string | undefined;
|
|
1434
1434
|
}
|
|
1435
1435
|
|
|
1436
1436
|
|
|
1437
1437
|
export const StackFrame: {
|
|
1438
|
-
new(): StackFrame
|
|
1439
|
-
new(needFileInfo: boolean): StackFrame
|
|
1440
|
-
new(skipFrames: int): StackFrame
|
|
1441
|
-
new(skipFrames: int, needFileInfo: boolean): StackFrame
|
|
1442
|
-
new(fileName: string, lineNumber: int): StackFrame
|
|
1443
|
-
new(fileName: string, lineNumber: int, colNumber: int): StackFrame
|
|
1438
|
+
new(): StackFrame;
|
|
1439
|
+
new(needFileInfo: boolean): StackFrame;
|
|
1440
|
+
new(skipFrames: int): StackFrame;
|
|
1441
|
+
new(skipFrames: int, needFileInfo: boolean): StackFrame;
|
|
1442
|
+
new(fileName: string | undefined, lineNumber: int): StackFrame;
|
|
1443
|
+
new(fileName: string | undefined, lineNumber: int, colNumber: int): StackFrame;
|
|
1444
1444
|
readonly OFFSET_UNKNOWN: int;
|
|
1445
1445
|
};
|
|
1446
1446
|
|
|
@@ -1456,16 +1456,16 @@ export interface StackTrace$instance {
|
|
|
1456
1456
|
|
|
1457
1457
|
|
|
1458
1458
|
export const StackTrace: {
|
|
1459
|
-
new(): StackTrace
|
|
1460
|
-
new(fNeedFileInfo: boolean): StackTrace
|
|
1461
|
-
new(skipFrames: int): StackTrace
|
|
1462
|
-
new(skipFrames: int, fNeedFileInfo: boolean): StackTrace
|
|
1463
|
-
new(e: Exception): StackTrace
|
|
1464
|
-
new(e: Exception, fNeedFileInfo: boolean): StackTrace
|
|
1465
|
-
new(e: Exception, skipFrames: int): StackTrace
|
|
1466
|
-
new(e: Exception, skipFrames: int, fNeedFileInfo: boolean): StackTrace
|
|
1467
|
-
new(frame: StackFrame): StackTrace
|
|
1468
|
-
new(frames: IEnumerable_1<StackFrame>): StackTrace
|
|
1459
|
+
new(): StackTrace;
|
|
1460
|
+
new(fNeedFileInfo: boolean): StackTrace;
|
|
1461
|
+
new(skipFrames: int): StackTrace;
|
|
1462
|
+
new(skipFrames: int, fNeedFileInfo: boolean): StackTrace;
|
|
1463
|
+
new(e: Exception): StackTrace;
|
|
1464
|
+
new(e: Exception, fNeedFileInfo: boolean): StackTrace;
|
|
1465
|
+
new(e: Exception, skipFrames: int): StackTrace;
|
|
1466
|
+
new(e: Exception, skipFrames: int, fNeedFileInfo: boolean): StackTrace;
|
|
1467
|
+
new(frame: StackFrame): StackTrace;
|
|
1468
|
+
new(frames: IEnumerable_1<StackFrame>): StackTrace;
|
|
1469
1469
|
readonly METHODS_TO_SKIP: int;
|
|
1470
1470
|
};
|
|
1471
1471
|
|
|
@@ -1477,7 +1477,7 @@ export interface StackTraceHiddenAttribute$instance extends Attribute {
|
|
|
1477
1477
|
|
|
1478
1478
|
|
|
1479
1479
|
export const StackTraceHiddenAttribute: {
|
|
1480
|
-
new(): StackTraceHiddenAttribute
|
|
1480
|
+
new(): StackTraceHiddenAttribute;
|
|
1481
1481
|
};
|
|
1482
1482
|
|
|
1483
1483
|
|
|
@@ -1497,7 +1497,7 @@ export interface Stopwatch$instance {
|
|
|
1497
1497
|
|
|
1498
1498
|
|
|
1499
1499
|
export const Stopwatch: {
|
|
1500
|
-
new(): Stopwatch
|
|
1500
|
+
new(): Stopwatch;
|
|
1501
1501
|
readonly frequency: long;
|
|
1502
1502
|
readonly isHighResolution: boolean;
|
|
1503
1503
|
getElapsedTime(startingTimestamp: long, endingTimestamp: long): TimeSpan;
|
|
@@ -1526,14 +1526,14 @@ export const Switch: {
|
|
|
1526
1526
|
export type Switch = Switch$instance;
|
|
1527
1527
|
|
|
1528
1528
|
export interface SwitchAttribute$instance extends Attribute {
|
|
1529
|
-
switchDescription: string;
|
|
1529
|
+
switchDescription: string | undefined;
|
|
1530
1530
|
switchName: string;
|
|
1531
1531
|
switchType: Type;
|
|
1532
1532
|
}
|
|
1533
1533
|
|
|
1534
1534
|
|
|
1535
1535
|
export const SwitchAttribute: {
|
|
1536
|
-
new(switchName: string, switchType: Type): SwitchAttribute
|
|
1536
|
+
new(switchName: string, switchType: Type): SwitchAttribute;
|
|
1537
1537
|
getAll(assembly: Assembly): SwitchAttribute[];
|
|
1538
1538
|
};
|
|
1539
1539
|
|
|
@@ -1546,7 +1546,7 @@ export interface SwitchLevelAttribute$instance extends Attribute {
|
|
|
1546
1546
|
|
|
1547
1547
|
|
|
1548
1548
|
export const SwitchLevelAttribute: {
|
|
1549
|
-
new(switchLevelType: Type): SwitchLevelAttribute
|
|
1549
|
+
new(switchLevelType: Type): SwitchLevelAttribute;
|
|
1550
1550
|
};
|
|
1551
1551
|
|
|
1552
1552
|
|
|
@@ -1557,25 +1557,25 @@ export interface TextWriterTraceListener$instance extends TraceListener$instance
|
|
|
1557
1557
|
close(): void;
|
|
1558
1558
|
dispose(): void;
|
|
1559
1559
|
flush(): void;
|
|
1560
|
-
write(message: string): void;
|
|
1561
|
-
write(o: unknown): void;
|
|
1562
|
-
write(message: string, category: string): void;
|
|
1563
|
-
write(o: unknown, category: string): void;
|
|
1564
|
-
writeLine(message: string): void;
|
|
1565
|
-
writeLine(o: unknown): void;
|
|
1566
|
-
writeLine(message: string, category: string): void;
|
|
1567
|
-
writeLine(o: unknown, category: string): void;
|
|
1560
|
+
write(message: string | undefined): void;
|
|
1561
|
+
write(o: unknown | undefined): void;
|
|
1562
|
+
write(message: string | undefined, category: string | undefined): void;
|
|
1563
|
+
write(o: unknown | undefined, category: string | undefined): void;
|
|
1564
|
+
writeLine(message: string | undefined): void;
|
|
1565
|
+
writeLine(o: unknown | undefined): void;
|
|
1566
|
+
writeLine(message: string | undefined, category: string | undefined): void;
|
|
1567
|
+
writeLine(o: unknown | undefined, category: string | undefined): void;
|
|
1568
1568
|
}
|
|
1569
1569
|
|
|
1570
1570
|
|
|
1571
1571
|
export const TextWriterTraceListener: {
|
|
1572
|
-
new(): TextWriterTraceListener
|
|
1573
|
-
new(stream: Stream): TextWriterTraceListener
|
|
1574
|
-
new(stream: Stream, name: string): TextWriterTraceListener
|
|
1575
|
-
new(writer: TextWriter): TextWriterTraceListener
|
|
1576
|
-
new(writer: TextWriter, name: string): TextWriterTraceListener
|
|
1577
|
-
new(fileName: string): TextWriterTraceListener
|
|
1578
|
-
new(fileName: string, name: string): TextWriterTraceListener
|
|
1572
|
+
new(): TextWriterTraceListener;
|
|
1573
|
+
new(stream: Stream | undefined): TextWriterTraceListener;
|
|
1574
|
+
new(stream: Stream | undefined, name: string | undefined): TextWriterTraceListener;
|
|
1575
|
+
new(writer: TextWriter | undefined): TextWriterTraceListener;
|
|
1576
|
+
new(writer: TextWriter | undefined, name: string | undefined): TextWriterTraceListener;
|
|
1577
|
+
new(fileName: string | undefined): TextWriterTraceListener;
|
|
1578
|
+
new(fileName: string | undefined, name: string | undefined): TextWriterTraceListener;
|
|
1579
1579
|
};
|
|
1580
1580
|
|
|
1581
1581
|
|
|
@@ -1591,45 +1591,45 @@ export interface Trace$instance {
|
|
|
1591
1591
|
|
|
1592
1592
|
|
|
1593
1593
|
export const Trace: {
|
|
1594
|
-
new(): Trace
|
|
1594
|
+
new(): Trace;
|
|
1595
1595
|
readonly correlationManager: CorrelationManager;
|
|
1596
1596
|
readonly listeners: TraceListenerCollection;
|
|
1597
1597
|
autoFlush: boolean;
|
|
1598
1598
|
useGlobalLock: boolean;
|
|
1599
1599
|
indentLevel: int;
|
|
1600
1600
|
indentSize: int;
|
|
1601
|
-
assert(condition: boolean, message: string, detailMessage: string): void;
|
|
1602
|
-
assert(condition: boolean, message?: string): void;
|
|
1601
|
+
assert(condition: boolean, message: string | undefined, detailMessage: string | undefined): void;
|
|
1602
|
+
assert(condition: boolean, message?: string | undefined): void;
|
|
1603
1603
|
assert(condition: boolean): void;
|
|
1604
1604
|
close(): void;
|
|
1605
|
-
fail(message: string, detailMessage: string): void;
|
|
1606
|
-
fail(message: string): void;
|
|
1605
|
+
fail(message: string | undefined, detailMessage: string | undefined): void;
|
|
1606
|
+
fail(message: string | undefined): void;
|
|
1607
1607
|
flush(): void;
|
|
1608
1608
|
indent(): void;
|
|
1609
1609
|
refresh(): void;
|
|
1610
|
-
traceError(format: string, ...args: unknown[]): void;
|
|
1611
|
-
traceError(message: string): void;
|
|
1612
|
-
traceInformation(format: string, ...args: unknown[]): void;
|
|
1613
|
-
traceInformation(message: string): void;
|
|
1614
|
-
traceWarning(format: string, ...args: unknown[]): void;
|
|
1615
|
-
traceWarning(message: string): void;
|
|
1610
|
+
traceError(format: string | undefined, ...args: unknown[]): void;
|
|
1611
|
+
traceError(message: string | undefined): void;
|
|
1612
|
+
traceInformation(format: string | undefined, ...args: unknown[]): void;
|
|
1613
|
+
traceInformation(message: string | undefined): void;
|
|
1614
|
+
traceWarning(format: string | undefined, ...args: unknown[]): void;
|
|
1615
|
+
traceWarning(message: string | undefined): void;
|
|
1616
1616
|
unindent(): void;
|
|
1617
|
-
write(value: unknown, category: string): void;
|
|
1618
|
-
write(value: unknown): void;
|
|
1619
|
-
write(message: string, category: string): void;
|
|
1620
|
-
write(message: string): void;
|
|
1621
|
-
writeIf(condition: boolean, value: unknown, category: string): void;
|
|
1622
|
-
writeIf(condition: boolean, value: unknown): void;
|
|
1623
|
-
writeIf(condition: boolean, message: string, category: string): void;
|
|
1624
|
-
writeIf(condition: boolean, message: string): void;
|
|
1625
|
-
writeLine(value: unknown, category: string): void;
|
|
1626
|
-
writeLine(value: unknown): void;
|
|
1627
|
-
writeLine(message: string, category: string): void;
|
|
1628
|
-
writeLine(message: string): void;
|
|
1629
|
-
writeLineIf(condition: boolean, value: unknown, category: string): void;
|
|
1630
|
-
writeLineIf(condition: boolean, value: unknown): void;
|
|
1631
|
-
writeLineIf(condition: boolean, message: string, category: string): void;
|
|
1632
|
-
writeLineIf(condition: boolean, message: string): void;
|
|
1617
|
+
write(value: unknown | undefined, category: string | undefined): void;
|
|
1618
|
+
write(value: unknown | undefined): void;
|
|
1619
|
+
write(message: string | undefined, category: string | undefined): void;
|
|
1620
|
+
write(message: string | undefined): void;
|
|
1621
|
+
writeIf(condition: boolean, value: unknown | undefined, category: string | undefined): void;
|
|
1622
|
+
writeIf(condition: boolean, value: unknown | undefined): void;
|
|
1623
|
+
writeIf(condition: boolean, message: string | undefined, category: string | undefined): void;
|
|
1624
|
+
writeIf(condition: boolean, message: string | undefined): void;
|
|
1625
|
+
writeLine(value: unknown | undefined, category: string | undefined): void;
|
|
1626
|
+
writeLine(value: unknown | undefined): void;
|
|
1627
|
+
writeLine(message: string | undefined, category: string | undefined): void;
|
|
1628
|
+
writeLine(message: string | undefined): void;
|
|
1629
|
+
writeLineIf(condition: boolean, value: unknown | undefined, category: string | undefined): void;
|
|
1630
|
+
writeLineIf(condition: boolean, value: unknown | undefined): void;
|
|
1631
|
+
writeLineIf(condition: boolean, message: string | undefined, category: string | undefined): void;
|
|
1632
|
+
writeLineIf(condition: boolean, message: string | undefined): void;
|
|
1633
1633
|
};
|
|
1634
1634
|
|
|
1635
1635
|
|
|
@@ -1646,7 +1646,7 @@ export interface TraceEventCache$instance {
|
|
|
1646
1646
|
|
|
1647
1647
|
|
|
1648
1648
|
export const TraceEventCache: {
|
|
1649
|
-
new(): TraceEventCache
|
|
1649
|
+
new(): TraceEventCache;
|
|
1650
1650
|
};
|
|
1651
1651
|
|
|
1652
1652
|
|
|
@@ -1673,23 +1673,23 @@ export interface TraceListener$instance extends MarshalByRefObject {
|
|
|
1673
1673
|
traceOutputOptions: TraceOptions;
|
|
1674
1674
|
close(): void;
|
|
1675
1675
|
dispose(): void;
|
|
1676
|
-
fail(message: string): void;
|
|
1677
|
-
fail(message: string, detailMessage: string): void;
|
|
1676
|
+
fail(message: string | undefined): void;
|
|
1677
|
+
fail(message: string | undefined, detailMessage: string | undefined): void;
|
|
1678
1678
|
flush(): void;
|
|
1679
|
-
traceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, data: unknown): void;
|
|
1680
|
-
traceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
|
|
1681
|
-
traceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int): void;
|
|
1682
|
-
traceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, message: string): void;
|
|
1683
|
-
traceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
|
|
1684
|
-
traceTransfer(eventCache: TraceEventCache, source: string, id: int, message: string, relatedActivityId: Guid): void;
|
|
1685
|
-
write(message: string): void;
|
|
1686
|
-
write(o: unknown): void;
|
|
1687
|
-
write(message: string, category: string): void;
|
|
1688
|
-
write(o: unknown, category: string): void;
|
|
1689
|
-
writeLine(message: string): void;
|
|
1690
|
-
writeLine(o: unknown): void;
|
|
1691
|
-
writeLine(message: string, category: string): void;
|
|
1692
|
-
writeLine(o: unknown, category: string): void;
|
|
1679
|
+
traceData(eventCache: TraceEventCache | undefined, source: string, eventType: TraceEventType, id: int, data: unknown | undefined): void;
|
|
1680
|
+
traceData(eventCache: TraceEventCache | undefined, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
|
|
1681
|
+
traceEvent(eventCache: TraceEventCache | undefined, source: string | undefined, eventType: TraceEventType, id: int): void;
|
|
1682
|
+
traceEvent(eventCache: TraceEventCache | undefined, source: string, eventType: TraceEventType, id: int, message: string | undefined): void;
|
|
1683
|
+
traceEvent(eventCache: TraceEventCache | undefined, source: string, eventType: TraceEventType, id: int, format: string | undefined, ...args: unknown[]): void;
|
|
1684
|
+
traceTransfer(eventCache: TraceEventCache | undefined, source: string, id: int, message: string | undefined, relatedActivityId: Guid): void;
|
|
1685
|
+
write(message: string | undefined): void;
|
|
1686
|
+
write(o: unknown | undefined): void;
|
|
1687
|
+
write(message: string | undefined, category: string | undefined): void;
|
|
1688
|
+
write(o: unknown | undefined, category: string | undefined): void;
|
|
1689
|
+
writeLine(message: string | undefined): void;
|
|
1690
|
+
writeLine(o: unknown | undefined): void;
|
|
1691
|
+
writeLine(message: string | undefined, category: string | undefined): void;
|
|
1692
|
+
writeLine(o: unknown | undefined, category: string | undefined): void;
|
|
1693
1693
|
}
|
|
1694
1694
|
|
|
1695
1695
|
|
|
@@ -1727,7 +1727,7 @@ export interface TraceListenerCollection$instance {
|
|
|
1727
1727
|
|
|
1728
1728
|
|
|
1729
1729
|
export const TraceListenerCollection: {
|
|
1730
|
-
new(): TraceListenerCollection
|
|
1730
|
+
new(): TraceListenerCollection;
|
|
1731
1731
|
};
|
|
1732
1732
|
|
|
1733
1733
|
|
|
@@ -1760,8 +1760,8 @@ export interface TraceSource$instance {
|
|
|
1760
1760
|
|
|
1761
1761
|
|
|
1762
1762
|
export const TraceSource: {
|
|
1763
|
-
new(name: string): TraceSource
|
|
1764
|
-
new(name: string, defaultLevel: SourceLevels): TraceSource
|
|
1763
|
+
new(name: string): TraceSource;
|
|
1764
|
+
new(name: string, defaultLevel: SourceLevels): TraceSource;
|
|
1765
1765
|
};
|
|
1766
1766
|
|
|
1767
1767
|
|
|
@@ -1777,22 +1777,22 @@ export interface TraceSwitch$instance extends Switch {
|
|
|
1777
1777
|
|
|
1778
1778
|
|
|
1779
1779
|
export const TraceSwitch: {
|
|
1780
|
-
new(displayName: string, description: string): TraceSwitch
|
|
1781
|
-
new(displayName: string, description: string, defaultSwitchValue: string): TraceSwitch
|
|
1780
|
+
new(displayName: string, description: string | undefined): TraceSwitch;
|
|
1781
|
+
new(displayName: string, description: string | undefined, defaultSwitchValue: string): TraceSwitch;
|
|
1782
1782
|
};
|
|
1783
1783
|
|
|
1784
1784
|
|
|
1785
1785
|
export type TraceSwitch = TraceSwitch$instance;
|
|
1786
1786
|
|
|
1787
1787
|
export interface UnreachableException$instance extends Exception {
|
|
1788
|
-
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1788
|
+
getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
|
|
1789
1789
|
}
|
|
1790
1790
|
|
|
1791
1791
|
|
|
1792
1792
|
export const UnreachableException: {
|
|
1793
|
-
new(): UnreachableException
|
|
1794
|
-
new(message: string): UnreachableException
|
|
1795
|
-
new(message: string, innerException: Exception): UnreachableException
|
|
1793
|
+
new(): UnreachableException;
|
|
1794
|
+
new(message: string | undefined): UnreachableException;
|
|
1795
|
+
new(message: string | undefined, innerException: Exception | undefined): UnreachableException;
|
|
1796
1796
|
};
|
|
1797
1797
|
|
|
1798
1798
|
|
|
@@ -1806,32 +1806,32 @@ export type UnreachableException = UnreachableException$instance & __Unreachable
|
|
|
1806
1806
|
export interface XmlWriterTraceListener$instance extends TextWriterTraceListener$instance {
|
|
1807
1807
|
close(): void;
|
|
1808
1808
|
dispose(): void;
|
|
1809
|
-
fail(message: string, detailMessage: string): void;
|
|
1810
|
-
fail(message: string): void;
|
|
1811
|
-
traceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, data: unknown): void;
|
|
1812
|
-
traceData(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
|
|
1813
|
-
traceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, format: string, ...args: unknown[]): void;
|
|
1814
|
-
traceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int, message: string): void;
|
|
1815
|
-
traceEvent(eventCache: TraceEventCache, source: string, eventType: TraceEventType, id: int): void;
|
|
1816
|
-
traceTransfer(eventCache: TraceEventCache, source: string, id: int, message: string, relatedActivityId: Guid): void;
|
|
1817
|
-
write(message: string): void;
|
|
1818
|
-
write(o: unknown): void;
|
|
1819
|
-
write(message: string, category: string): void;
|
|
1820
|
-
write(o: unknown, category: string): void;
|
|
1821
|
-
writeLine(message: string): void;
|
|
1822
|
-
writeLine(o: unknown): void;
|
|
1823
|
-
writeLine(message: string, category: string): void;
|
|
1824
|
-
writeLine(o: unknown, category: string): void;
|
|
1809
|
+
fail(message: string | undefined, detailMessage: string | undefined): void;
|
|
1810
|
+
fail(message: string | undefined): void;
|
|
1811
|
+
traceData(eventCache: TraceEventCache | undefined, source: string, eventType: TraceEventType, id: int, data: unknown | undefined): void;
|
|
1812
|
+
traceData(eventCache: TraceEventCache | undefined, source: string, eventType: TraceEventType, id: int, ...data: unknown[]): void;
|
|
1813
|
+
traceEvent(eventCache: TraceEventCache | undefined, source: string, eventType: TraceEventType, id: int, format: string | undefined, ...args: unknown[]): void;
|
|
1814
|
+
traceEvent(eventCache: TraceEventCache | undefined, source: string, eventType: TraceEventType, id: int, message: string | undefined): void;
|
|
1815
|
+
traceEvent(eventCache: TraceEventCache | undefined, source: string | undefined, eventType: TraceEventType, id: int): void;
|
|
1816
|
+
traceTransfer(eventCache: TraceEventCache | undefined, source: string, id: int, message: string | undefined, relatedActivityId: Guid): void;
|
|
1817
|
+
write(message: string | undefined): void;
|
|
1818
|
+
write(o: unknown | undefined): void;
|
|
1819
|
+
write(message: string | undefined, category: string | undefined): void;
|
|
1820
|
+
write(o: unknown | undefined, category: string | undefined): void;
|
|
1821
|
+
writeLine(message: string | undefined): void;
|
|
1822
|
+
writeLine(o: unknown | undefined): void;
|
|
1823
|
+
writeLine(message: string | undefined, category: string | undefined): void;
|
|
1824
|
+
writeLine(o: unknown | undefined, category: string | undefined): void;
|
|
1825
1825
|
}
|
|
1826
1826
|
|
|
1827
1827
|
|
|
1828
1828
|
export const XmlWriterTraceListener: {
|
|
1829
|
-
new(stream: Stream): XmlWriterTraceListener
|
|
1830
|
-
new(stream: Stream, name: string): XmlWriterTraceListener
|
|
1831
|
-
new(writer: TextWriter): XmlWriterTraceListener
|
|
1832
|
-
new(writer: TextWriter, name: string): XmlWriterTraceListener
|
|
1833
|
-
new(filename: string): XmlWriterTraceListener
|
|
1834
|
-
new(filename: string, name: string): XmlWriterTraceListener
|
|
1829
|
+
new(stream: Stream | undefined): XmlWriterTraceListener;
|
|
1830
|
+
new(stream: Stream | undefined, name: string | undefined): XmlWriterTraceListener;
|
|
1831
|
+
new(writer: TextWriter | undefined): XmlWriterTraceListener;
|
|
1832
|
+
new(writer: TextWriter | undefined, name: string | undefined): XmlWriterTraceListener;
|
|
1833
|
+
new(filename: string | undefined): XmlWriterTraceListener;
|
|
1834
|
+
new(filename: string | undefined, name: string | undefined): XmlWriterTraceListener;
|
|
1835
1835
|
};
|
|
1836
1836
|
|
|
1837
1837
|
|
|
@@ -1848,53 +1848,53 @@ export abstract class Debug$instance {
|
|
|
1848
1848
|
static indentSize: int;
|
|
1849
1849
|
static assert(condition: boolean, message: Debug_AssertInterpolatedStringHandler, detailMessage: Debug_AssertInterpolatedStringHandler): void;
|
|
1850
1850
|
static assert(condition: boolean, message: Debug_AssertInterpolatedStringHandler): void;
|
|
1851
|
-
static assert(condition: boolean, message: string, detailMessageFormat: string, ...args: unknown[]): void;
|
|
1852
|
-
static assert(condition: boolean, message: string, detailMessage: string): void;
|
|
1853
|
-
static assert(condition: boolean, message?: string): void;
|
|
1851
|
+
static assert(condition: boolean, message: string | undefined, detailMessageFormat: string | undefined, ...args: unknown[]): void;
|
|
1852
|
+
static assert(condition: boolean, message: string | undefined, detailMessage: string | undefined): void;
|
|
1853
|
+
static assert(condition: boolean, message?: string | undefined): void;
|
|
1854
1854
|
static assert(condition: boolean): void;
|
|
1855
1855
|
static close(): void;
|
|
1856
|
-
static fail(message: string, detailMessage: string): void;
|
|
1857
|
-
static fail(message: string): void;
|
|
1856
|
+
static fail(message: string | undefined, detailMessage: string | undefined): void;
|
|
1857
|
+
static fail(message: string | undefined): void;
|
|
1858
1858
|
static flush(): void;
|
|
1859
1859
|
static indent(): void;
|
|
1860
|
-
static print(format: string, ...args: unknown[]): void;
|
|
1861
|
-
static print(message: string): void;
|
|
1862
|
-
static setProvider(provider: DebugProvider): DebugProvider;
|
|
1860
|
+
static print(format: string | undefined, ...args: unknown[]): void;
|
|
1861
|
+
static print(message: string | undefined): void;
|
|
1862
|
+
static setProvider(provider: DebugProvider | undefined): DebugProvider | undefined;
|
|
1863
1863
|
static unindent(): void;
|
|
1864
|
-
static write(value: unknown, category: string): void;
|
|
1865
|
-
static write(value: unknown): void;
|
|
1866
|
-
static write(message: string, category: string): void;
|
|
1867
|
-
static write(message: string): void;
|
|
1868
|
-
static writeIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string): void;
|
|
1864
|
+
static write(value: unknown | undefined, category: string | undefined): void;
|
|
1865
|
+
static write(value: unknown | undefined): void;
|
|
1866
|
+
static write(message: string | undefined, category: string | undefined): void;
|
|
1867
|
+
static write(message: string | undefined): void;
|
|
1868
|
+
static writeIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string | undefined): void;
|
|
1869
1869
|
static writeIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler): void;
|
|
1870
|
-
static writeIf(condition: boolean, value: unknown, category: string): void;
|
|
1871
|
-
static writeIf(condition: boolean, value: unknown): void;
|
|
1872
|
-
static writeIf(condition: boolean, message: string, category: string): void;
|
|
1873
|
-
static writeIf(condition: boolean, message: string): void;
|
|
1874
|
-
static writeLine(value: unknown, category: string): void;
|
|
1875
|
-
static writeLine(value: unknown): void;
|
|
1876
|
-
static writeLine(format: string, ...args: unknown[]): void;
|
|
1877
|
-
static writeLine(message: string, category: string): void;
|
|
1878
|
-
static writeLine(message: string): void;
|
|
1879
|
-
static writeLineIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string): void;
|
|
1870
|
+
static writeIf(condition: boolean, value: unknown | undefined, category: string | undefined): void;
|
|
1871
|
+
static writeIf(condition: boolean, value: unknown | undefined): void;
|
|
1872
|
+
static writeIf(condition: boolean, message: string | undefined, category: string | undefined): void;
|
|
1873
|
+
static writeIf(condition: boolean, message: string | undefined): void;
|
|
1874
|
+
static writeLine(value: unknown | undefined, category: string | undefined): void;
|
|
1875
|
+
static writeLine(value: unknown | undefined): void;
|
|
1876
|
+
static writeLine(format: string | undefined, ...args: unknown[]): void;
|
|
1877
|
+
static writeLine(message: string | undefined, category: string | undefined): void;
|
|
1878
|
+
static writeLine(message: string | undefined): void;
|
|
1879
|
+
static writeLineIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler, category: string | undefined): void;
|
|
1880
1880
|
static writeLineIf(condition: boolean, message: Debug_WriteIfInterpolatedStringHandler): void;
|
|
1881
|
-
static writeLineIf(condition: boolean, value: unknown, category: string): void;
|
|
1882
|
-
static writeLineIf(condition: boolean, value: unknown): void;
|
|
1883
|
-
static writeLineIf(condition: boolean, message: string, category: string): void;
|
|
1884
|
-
static writeLineIf(condition: boolean, message: string): void;
|
|
1881
|
+
static writeLineIf(condition: boolean, value: unknown | undefined, category: string | undefined): void;
|
|
1882
|
+
static writeLineIf(condition: boolean, value: unknown | undefined): void;
|
|
1883
|
+
static writeLineIf(condition: boolean, message: string | undefined, category: string | undefined): void;
|
|
1884
|
+
static writeLineIf(condition: boolean, message: string | undefined): void;
|
|
1885
1885
|
}
|
|
1886
1886
|
|
|
1887
1887
|
|
|
1888
1888
|
export type Debug = Debug$instance;
|
|
1889
1889
|
|
|
1890
1890
|
export abstract class Debugger$instance {
|
|
1891
|
-
static readonly defaultCategory: string;
|
|
1891
|
+
static readonly defaultCategory: string | undefined;
|
|
1892
1892
|
static readonly isAttached: boolean;
|
|
1893
1893
|
static break_(): void;
|
|
1894
|
-
static breakForUserUnhandledException(exception: Exception): void;
|
|
1894
|
+
static breakForUserUnhandledException(exception: Exception | undefined): void;
|
|
1895
1895
|
static isLogging(): boolean;
|
|
1896
1896
|
static launch(): boolean;
|
|
1897
|
-
static log(level: int, category: string, message: string): void;
|
|
1897
|
+
static log(level: int, category: string | undefined, message: string | undefined): void;
|
|
1898
1898
|
static notifyOfCrossThreadDependency(): void;
|
|
1899
1899
|
}
|
|
1900
1900
|
|