@tsonic/dotnet 0.8.1 → 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 +18 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +11 -11
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +994 -1006
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +3 -3
- package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
- package/System.Collections/internal/index.d.ts +26 -28
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- 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 +68 -60
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +99 -99
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +63 -65
- package/System.ComponentModel/internal/index.d.ts +428 -430
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +72 -72
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
- package/System.Data/internal/index.d.ts +168 -168
- package/System.Data.Common/internal/index.d.ts +48 -48
- package/System.Data.SqlTypes/internal/index.d.ts +21 -21
- package/System.Diagnostics/internal/index.d.ts +262 -262
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
- package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
- package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
- package/System.Drawing/internal/index.d.ts +77 -77
- package/System.Dynamic/internal/index.d.ts +27 -27
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +3 -3
- package/System.Globalization/internal/index.d.ts +18 -18
- package/System.IO/internal/index.d.ts +107 -107
- package/System.IO.Compression/internal/index.d.ts +25 -25
- package/System.IO.Enumeration/internal/index.d.ts +5 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +180 -180
- package/System.Linq.Expressions/internal/index.d.ts +169 -169
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +151 -153
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +58 -58
- package/System.Net.Http.Headers/internal/index.d.ts +48 -48
- package/System.Net.Http.Json/internal/index.d.ts +58 -58
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +72 -72
- package/System.Net.Mime/internal/index.d.ts +2 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Security/internal/index.d.ts +52 -52
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
- package/System.Net.Sockets/internal/index.d.ts +41 -41
- package/System.Net.WebSockets/internal/index.d.ts +34 -34
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +91 -93
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +219 -219
- package/System.Reflection.Emit/internal/index.d.ts +118 -118
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +14 -14
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
- package/System.Resources/internal/index.d.ts +24 -24
- package/System.Runtime/internal/index.d.ts +5 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
- package/System.Runtime.Loader/internal/index.d.ts +6 -6
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +77 -79
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
- package/System.Runtime.Versioning/internal/index.d.ts +9 -9
- package/System.Security/internal/index.d.ts +49 -49
- package/System.Security.AccessControl/internal/index.d.ts +31 -31
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
- package/System.Security.Claims/internal/index.d.ts +23 -25
- package/System.Security.Cryptography/internal/index.d.ts +189 -189
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +9 -11
- package/System.Text/internal/index.d.ts +51 -51
- package/System.Text.Json/internal/index.d.ts +83 -83
- package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
- package/System.Text.Json.Schema/internal/index.d.ts +5 -5
- package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +87 -87
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +84 -94
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +3 -3
- package/System.Transactions/internal/index.d.ts +20 -20
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +215 -215
- package/System.Xml.Linq/internal/index.d.ts +51 -51
- package/System.Xml.Resolvers/internal/index.d.ts +4 -4
- package/System.Xml.Schema/internal/index.d.ts +105 -105
- package/System.Xml.Serialization/internal/index.d.ts +136 -136
- package/System.Xml.XPath/internal/index.d.ts +19 -19
- package/System.Xml.Xsl/internal/index.d.ts +41 -41
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
- 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;
|
|
@@ -218,7 +218,7 @@ 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
|
|
|
@@ -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,7 +268,7 @@ 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
|
|
|
@@ -289,7 +289,7 @@ export interface ActivityEvent$instance {
|
|
|
289
289
|
|
|
290
290
|
export const ActivityEvent: {
|
|
291
291
|
new(name: string): ActivityEvent;
|
|
292
|
-
new(name: string, timestamp: DateTimeOffset, tags: ActivityTagsCollection): ActivityEvent;
|
|
292
|
+
new(name: string, timestamp: DateTimeOffset, tags: ActivityTagsCollection | undefined): ActivityEvent;
|
|
293
293
|
};
|
|
294
294
|
|
|
295
295
|
|
|
@@ -326,7 +326,7 @@ 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
|
|
|
@@ -376,7 +376,7 @@ 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
|
|
|
@@ -400,16 +400,16 @@ 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
|
|
|
@@ -421,16 +421,16 @@ export const Debug_AssertInterpolatedStringHandler: {
|
|
|
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
|
|
|
@@ -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;
|
|
@@ -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,29 +524,29 @@ 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
|
}
|
|
@@ -555,8 +555,8 @@ export interface Activity$instance {
|
|
|
555
555
|
export const Activity: {
|
|
556
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,12 +571,12 @@ 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
|
|
|
@@ -598,24 +598,24 @@ 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
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;
|
|
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
619
|
new(options: ActivitySourceOptions): ActivitySource;
|
|
620
620
|
addActivityListener(listener: ActivityListener): void;
|
|
621
621
|
};
|
|
@@ -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,7 +660,7 @@ 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
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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
899
|
new(): DebugProvider;
|
|
900
|
-
failCore(stackTrace: string, message: string, detailMessage: string, errorSource: string): void;
|
|
901
|
-
writeCore(message: string): void;
|
|
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,18 +906,18 @@ 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
|
|
|
@@ -940,15 +940,15 @@ 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
948
|
new(stream: Stream): DelimitedListTraceListener;
|
|
949
|
-
new(stream: Stream, name: string): DelimitedListTraceListener;
|
|
949
|
+
new(stream: Stream, name: string | undefined): DelimitedListTraceListener;
|
|
950
950
|
new(writer: TextWriter): DelimitedListTraceListener;
|
|
951
|
-
new(writer: TextWriter, name: string): DelimitedListTraceListener;
|
|
951
|
+
new(writer: TextWriter, name: string | undefined): DelimitedListTraceListener;
|
|
952
952
|
new(fileName: string): DelimitedListTraceListener;
|
|
953
953
|
new(fileName: string, name: string): DelimitedListTraceListener;
|
|
954
954
|
};
|
|
@@ -966,14 +966,14 @@ 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
|
|
|
@@ -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
1005
|
new(): DiagnosticMethodInfo;
|
|
1006
|
-
create(delegate: Function): DiagnosticMethodInfo;
|
|
1007
|
-
create(frame: StackFrame): 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
|
}
|
|
@@ -1064,40 +1064,40 @@ export const EventTypeFilter: {
|
|
|
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
1099
|
new(): FileVersionInfo;
|
|
1100
|
-
getVersionInfo(fileName: string): FileVersionInfo;
|
|
1100
|
+
getVersionInfo(fileName: string | undefined): FileVersionInfo | undefined;
|
|
1101
1101
|
};
|
|
1102
1102
|
|
|
1103
1103
|
|
|
@@ -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;
|
|
@@ -1221,10 +1221,10 @@ export const 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;
|
|
@@ -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;
|
|
@@ -1426,11 +1426,11 @@ 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
|
|
|
@@ -1439,8 +1439,8 @@ export const StackFrame: {
|
|
|
1439
1439
|
new(needFileInfo: boolean): StackFrame;
|
|
1440
1440
|
new(skipFrames: int): StackFrame;
|
|
1441
1441
|
new(skipFrames: int, needFileInfo: boolean): StackFrame;
|
|
1442
|
-
new(fileName: string, lineNumber: int): StackFrame;
|
|
1443
|
-
new(fileName: string, lineNumber: int, colNumber: int): 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
|
|
|
@@ -1526,7 +1526,7 @@ 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
|
}
|
|
@@ -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
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;
|
|
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
|
|
|
@@ -1598,38 +1598,38 @@ export const Trace: {
|
|
|
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
|
|
|
@@ -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
|
|
|
@@ -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
1793
|
new(): UnreachableException;
|
|
1794
|
-
new(message: string): UnreachableException;
|
|
1795
|
-
new(message: string, innerException: Exception): 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
|
|