@tsonic/dotnet 10.0.39 → 10.0.41
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/Internal/internal/index.d.ts +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Threading.Tasks.Dataflow
|
|
3
3
|
// Assembly: System.Threading.Tasks.Dataflow
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -41,11 +39,12 @@ export interface IPropagatorBlock_2$instance<TInput, TOutput> extends ITargetBlo
|
|
|
41
39
|
|
|
42
40
|
readonly Completion: Task;
|
|
43
41
|
Complete(): void;
|
|
44
|
-
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput |
|
|
42
|
+
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput | null;
|
|
45
43
|
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput;
|
|
46
44
|
Fault(exception: Exception): void;
|
|
47
45
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
48
46
|
OfferMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput>, consumeToAccept: boolean): DataflowMessageStatus;
|
|
47
|
+
OfferMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput> | null, consumeToAccept: boolean): DataflowMessageStatus;
|
|
49
48
|
ReleaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
|
|
50
49
|
ReserveMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): boolean;
|
|
51
50
|
}
|
|
@@ -58,14 +57,14 @@ export interface IReceivableSourceBlock_1$instance<TOutput> extends ISourceBlock
|
|
|
58
57
|
|
|
59
58
|
readonly Completion: Task;
|
|
60
59
|
Complete(): void;
|
|
61
|
-
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput |
|
|
60
|
+
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput | null;
|
|
62
61
|
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput;
|
|
63
62
|
Fault(exception: Exception): void;
|
|
64
63
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
65
64
|
ReleaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
|
|
66
65
|
ReserveMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): boolean;
|
|
67
|
-
TryReceive(filter: Predicate_1<TOutput
|
|
68
|
-
TryReceiveAll(items: IList_1<TOutput>): boolean;
|
|
66
|
+
TryReceive(filter: Predicate_1<TOutput> | null, item: TOutput): boolean;
|
|
67
|
+
TryReceiveAll(items: IList_1<TOutput> | null): boolean;
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
|
|
@@ -76,7 +75,7 @@ export interface ISourceBlock_1$instance<TOutput> extends IDataflowBlock {
|
|
|
76
75
|
|
|
77
76
|
readonly Completion: Task;
|
|
78
77
|
Complete(): void;
|
|
79
|
-
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput |
|
|
78
|
+
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput | null;
|
|
80
79
|
Fault(exception: Exception): void;
|
|
81
80
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
82
81
|
ReleaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
|
|
@@ -94,7 +93,7 @@ export interface ITargetBlock_1$instance<TInput> extends IDataflowBlock {
|
|
|
94
93
|
readonly Completion: Task;
|
|
95
94
|
Complete(): void;
|
|
96
95
|
Fault(exception: Exception): void;
|
|
97
|
-
OfferMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput
|
|
96
|
+
OfferMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput> | null, consumeToAccept: boolean): DataflowMessageStatus;
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
|
|
@@ -110,7 +109,7 @@ export interface DataflowMessageHeader$instance {
|
|
|
110
109
|
readonly Id: long;
|
|
111
110
|
readonly IsValid: boolean;
|
|
112
111
|
Equals(other: DataflowMessageHeader): boolean;
|
|
113
|
-
Equals(obj:
|
|
112
|
+
Equals(obj: JsValue | null): boolean;
|
|
114
113
|
GetHashCode(): int;
|
|
115
114
|
}
|
|
116
115
|
|
|
@@ -176,8 +175,8 @@ export interface BatchBlock_1$instance<T> {
|
|
|
176
175
|
LinkTo(target: ITargetBlock_1<T[]>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
177
176
|
ToString(): string;
|
|
178
177
|
TriggerBatch(): void;
|
|
179
|
-
TryReceive(filter: Predicate_1<T[]
|
|
180
|
-
TryReceiveAll(items: IList_1<T[]>): boolean;
|
|
178
|
+
TryReceive(filter: Predicate_1<T[]> | null, item: T[] | null): boolean;
|
|
179
|
+
TryReceiveAll(items: IList_1<T[]> | null): boolean;
|
|
181
180
|
}
|
|
182
181
|
|
|
183
182
|
|
|
@@ -212,8 +211,8 @@ export interface BatchedJoinBlock_2$instance<T1, T2> {
|
|
|
212
211
|
Complete(): void;
|
|
213
212
|
LinkTo(target: ITargetBlock_1<Tuple_2<IList_1<T1>, IList_1<T2>>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
214
213
|
ToString(): string;
|
|
215
|
-
TryReceive(filter: Predicate_1<Tuple_2<IList_1<T1>, IList_1<T2
|
|
216
|
-
TryReceiveAll(items: IList_1<Tuple_2<IList_1<T1>, IList_1<T2>>>): boolean;
|
|
214
|
+
TryReceive(filter: Predicate_1<Tuple_2<IList_1<T1>, IList_1<T2>>> | null, item: Tuple_2<IList_1<T1>, IList_1<T2>> | null): boolean;
|
|
215
|
+
TryReceiveAll(items: IList_1<Tuple_2<IList_1<T1>, IList_1<T2>>> | null): boolean;
|
|
217
216
|
}
|
|
218
217
|
|
|
219
218
|
|
|
@@ -248,8 +247,8 @@ export interface BatchedJoinBlock_3$instance<T1, T2, T3> {
|
|
|
248
247
|
Complete(): void;
|
|
249
248
|
LinkTo(target: ITargetBlock_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
250
249
|
ToString(): string;
|
|
251
|
-
TryReceive(filter: Predicate_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3
|
|
252
|
-
TryReceiveAll(items: IList_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>): boolean;
|
|
250
|
+
TryReceive(filter: Predicate_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>> | null, item: Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>> | null): boolean;
|
|
251
|
+
TryReceiveAll(items: IList_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>> | null): boolean;
|
|
253
252
|
}
|
|
254
253
|
|
|
255
254
|
|
|
@@ -281,13 +280,13 @@ export interface BroadcastBlock_1$instance<T> {
|
|
|
281
280
|
Complete(): void;
|
|
282
281
|
LinkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
283
282
|
ToString(): string;
|
|
284
|
-
TryReceive(filter: Predicate_1<T
|
|
283
|
+
TryReceive(filter: Predicate_1<T> | null, item: T): boolean;
|
|
285
284
|
}
|
|
286
285
|
|
|
287
286
|
|
|
288
287
|
export const BroadcastBlock_1: {
|
|
289
|
-
new<T>(cloningFunction: Func_2<T, T>): BroadcastBlock_1<T>;
|
|
290
|
-
new<T>(cloningFunction: Func_2<T, T
|
|
288
|
+
new<T>(cloningFunction: Func_2<T, T> | null): BroadcastBlock_1<T>;
|
|
289
|
+
new<T>(cloningFunction: Func_2<T, T> | null, dataflowBlockOptions: DataflowBlockOptions): BroadcastBlock_1<T>;
|
|
291
290
|
};
|
|
292
291
|
|
|
293
292
|
|
|
@@ -315,8 +314,8 @@ export interface BufferBlock_1$instance<T> {
|
|
|
315
314
|
Complete(): void;
|
|
316
315
|
LinkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
317
316
|
ToString(): string;
|
|
318
|
-
TryReceive(filter: Predicate_1<T
|
|
319
|
-
TryReceiveAll(items: IList_1<T>): boolean;
|
|
317
|
+
TryReceive(filter: Predicate_1<T> | null, item: T): boolean;
|
|
318
|
+
TryReceiveAll(items: IList_1<T> | null): boolean;
|
|
320
319
|
}
|
|
321
320
|
|
|
322
321
|
|
|
@@ -416,8 +415,8 @@ export interface JoinBlock_2$instance<T1, T2> {
|
|
|
416
415
|
Complete(): void;
|
|
417
416
|
LinkTo(target: ITargetBlock_1<Tuple_2<T1, T2>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
418
417
|
ToString(): string;
|
|
419
|
-
TryReceive(filter: Predicate_1<Tuple_2<T1, T2
|
|
420
|
-
TryReceiveAll(items: IList_1<Tuple_2<T1, T2>>): boolean;
|
|
418
|
+
TryReceive(filter: Predicate_1<Tuple_2<T1, T2>> | null, item: Tuple_2<T1, T2> | null): boolean;
|
|
419
|
+
TryReceiveAll(items: IList_1<Tuple_2<T1, T2>> | null): boolean;
|
|
421
420
|
}
|
|
422
421
|
|
|
423
422
|
|
|
@@ -451,8 +450,8 @@ export interface JoinBlock_3$instance<T1, T2, T3> {
|
|
|
451
450
|
Complete(): void;
|
|
452
451
|
LinkTo(target: ITargetBlock_1<Tuple_3<T1, T2, T3>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
453
452
|
ToString(): string;
|
|
454
|
-
TryReceive(filter: Predicate_1<Tuple_3<T1, T2, T3
|
|
455
|
-
TryReceiveAll(items: IList_1<Tuple_3<T1, T2, T3>>): boolean;
|
|
453
|
+
TryReceive(filter: Predicate_1<Tuple_3<T1, T2, T3>> | null, item: Tuple_3<T1, T2, T3> | null): boolean;
|
|
454
|
+
TryReceiveAll(items: IList_1<Tuple_3<T1, T2, T3>> | null): boolean;
|
|
456
455
|
}
|
|
457
456
|
|
|
458
457
|
|
|
@@ -486,8 +485,8 @@ export interface TransformBlock_2$instance<TInput, TOutput> {
|
|
|
486
485
|
Complete(): void;
|
|
487
486
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
488
487
|
ToString(): string;
|
|
489
|
-
TryReceive(filter: Predicate_1<TOutput
|
|
490
|
-
TryReceiveAll(items: IList_1<TOutput>): boolean;
|
|
488
|
+
TryReceive(filter: Predicate_1<TOutput> | null, item: TOutput): boolean;
|
|
489
|
+
TryReceiveAll(items: IList_1<TOutput> | null): boolean;
|
|
491
490
|
}
|
|
492
491
|
|
|
493
492
|
|
|
@@ -522,8 +521,8 @@ export interface TransformManyBlock_2$instance<TInput, TOutput> {
|
|
|
522
521
|
Complete(): void;
|
|
523
522
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
524
523
|
ToString(): string;
|
|
525
|
-
TryReceive(filter: Predicate_1<TOutput
|
|
526
|
-
TryReceiveAll(items: IList_1<TOutput>): boolean;
|
|
524
|
+
TryReceive(filter: Predicate_1<TOutput> | null, item: TOutput): boolean;
|
|
525
|
+
TryReceiveAll(items: IList_1<TOutput> | null): boolean;
|
|
527
526
|
}
|
|
528
527
|
|
|
529
528
|
|
|
@@ -556,13 +555,13 @@ export interface WriteOnceBlock_1$instance<T> {
|
|
|
556
555
|
Complete(): void;
|
|
557
556
|
LinkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
558
557
|
ToString(): string;
|
|
559
|
-
TryReceive(filter: Predicate_1<T
|
|
558
|
+
TryReceive(filter: Predicate_1<T> | null, item: T): boolean;
|
|
560
559
|
}
|
|
561
560
|
|
|
562
561
|
|
|
563
562
|
export const WriteOnceBlock_1: {
|
|
564
|
-
new<T>(cloningFunction: Func_2<T, T>): WriteOnceBlock_1<T>;
|
|
565
|
-
new<T>(cloningFunction: Func_2<T, T
|
|
563
|
+
new<T>(cloningFunction: Func_2<T, T> | null): WriteOnceBlock_1<T>;
|
|
564
|
+
new<T>(cloningFunction: Func_2<T, T> | null, dataflowBlockOptions: DataflowBlockOptions): WriteOnceBlock_1<T>;
|
|
566
565
|
};
|
|
567
566
|
|
|
568
567
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Threading.Tasks.Sources
|
|
3
3
|
// Assembly: System.Private.CoreLib
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as System_Internal from "../../System/internal/index.js";
|
|
@@ -29,7 +30,7 @@ export interface IValueTaskSource$instance {
|
|
|
29
30
|
|
|
30
31
|
GetResult(token: short): void;
|
|
31
32
|
GetStatus(token: short): ValueTaskSourceStatus;
|
|
32
|
-
OnCompleted(continuation: Action_1<
|
|
33
|
+
OnCompleted(continuation: Action_1<JsValue | null>, state: JsValue | null, token: short, flags: ValueTaskSourceOnCompletedFlags): void;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
|
|
@@ -40,7 +41,7 @@ export interface IValueTaskSource_1$instance<TResult> {
|
|
|
40
41
|
|
|
41
42
|
GetResult(token: short): TResult;
|
|
42
43
|
GetStatus(token: short): ValueTaskSourceStatus;
|
|
43
|
-
OnCompleted(continuation: Action_1<
|
|
44
|
+
OnCompleted(continuation: Action_1<JsValue | null>, state: JsValue | null, token: short, flags: ValueTaskSourceOnCompletedFlags): void;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
|
|
@@ -53,7 +54,7 @@ export interface ManualResetValueTaskSourceCore_1$instance<TResult> {
|
|
|
53
54
|
readonly Version: short;
|
|
54
55
|
GetResult(token: short): TResult;
|
|
55
56
|
GetStatus(token: short): ValueTaskSourceStatus;
|
|
56
|
-
OnCompleted(continuation: Action_1<
|
|
57
|
+
OnCompleted(continuation: Action_1<JsValue | null>, state: JsValue | null, token: short, flags: ValueTaskSourceOnCompletedFlags): void;
|
|
57
58
|
Reset(): void;
|
|
58
59
|
SetException(error: Exception): void;
|
|
59
60
|
SetResult(result: TResult): void;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Timers
|
|
3
3
|
// Assembly: System.ComponentModel.TypeConverter
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as System_ComponentModel_Internal from "../../System.ComponentModel/internal/index.js";
|
|
@@ -14,7 +15,7 @@ import type { ISerializable, SerializationInfo, StreamingContext } from "../../S
|
|
|
14
15
|
import * as System_Internal from "../../System/internal/index.js";
|
|
15
16
|
import type { AsyncCallback, Boolean as ClrBoolean, DateTime, Delegate, Double, EventArgs, IAsyncResult, ICloneable, IDisposable, Int32, IntPtr, MarshalByRefObject, MulticastDelegate, Object as ClrObject, String as ClrString, TimeSpan, Type, Void } from "../../System/internal/index.js";
|
|
16
17
|
|
|
17
|
-
export type ElapsedEventHandler = (sender:
|
|
18
|
+
export type ElapsedEventHandler = (sender: JsValue | null, e: ElapsedEventArgs) => void;
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
export interface ElapsedEventArgs$instance extends EventArgs {
|
|
@@ -41,10 +42,10 @@ export interface Timer$instance extends Component, System_ComponentModel_Interna
|
|
|
41
42
|
AutoReset: boolean;
|
|
42
43
|
Enabled: boolean;
|
|
43
44
|
Interval: double;
|
|
44
|
-
get Site(): ISite |
|
|
45
|
-
set Site(value: ISite |
|
|
46
|
-
get SynchronizingObject(): ISynchronizeInvoke |
|
|
47
|
-
set SynchronizingObject(value: ISynchronizeInvoke |
|
|
45
|
+
get Site(): ISite | null;
|
|
46
|
+
set Site(value: ISite | null);
|
|
47
|
+
get SynchronizingObject(): ISynchronizeInvoke | null;
|
|
48
|
+
set SynchronizingObject(value: ISynchronizeInvoke | null);
|
|
48
49
|
BeginInit(): void;
|
|
49
50
|
Close(): void;
|
|
50
51
|
Dispose(disposing: boolean): void;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Transactions
|
|
3
3
|
// Assembly: System.Transactions.Local
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { IDictionary } from "../../System.Collections/internal/index.js";
|
|
@@ -65,13 +66,13 @@ export enum TransactionStatus {
|
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
|
|
68
|
-
export type HostCurrentTransactionCallback = () => Transaction |
|
|
69
|
+
export type HostCurrentTransactionCallback = () => Transaction | null;
|
|
69
70
|
|
|
70
71
|
|
|
71
|
-
export type TransactionCompletedEventHandler = (sender:
|
|
72
|
+
export type TransactionCompletedEventHandler = (sender: JsValue | null, e: TransactionEventArgs) => void;
|
|
72
73
|
|
|
73
74
|
|
|
74
|
-
export type TransactionStartedEventHandler = (sender:
|
|
75
|
+
export type TransactionStartedEventHandler = (sender: JsValue | null, e: TransactionEventArgs) => void;
|
|
75
76
|
|
|
76
77
|
|
|
77
78
|
export interface IDtcTransaction$instance {
|
|
@@ -99,7 +100,7 @@ export interface IPromotableSinglePhaseNotification$instance extends ITransactio
|
|
|
99
100
|
readonly __tsonic_iface_System_Transactions_IPromotableSinglePhaseNotification: never;
|
|
100
101
|
|
|
101
102
|
Initialize(): void;
|
|
102
|
-
Promote(): byte[] |
|
|
103
|
+
Promote(): byte[] | null;
|
|
103
104
|
SinglePhaseCommit(singlePhaseEnlistment: SinglePhaseEnlistment): void;
|
|
104
105
|
}
|
|
105
106
|
|
|
@@ -111,7 +112,7 @@ export type IPromotableSinglePhaseNotification = IPromotableSinglePhaseNotificat
|
|
|
111
112
|
export interface ISimpleTransactionSuperior$instance extends ITransactionPromoter {
|
|
112
113
|
readonly __tsonic_iface_System_Transactions_ISimpleTransactionSuperior: never;
|
|
113
114
|
|
|
114
|
-
Promote(): byte[] |
|
|
115
|
+
Promote(): byte[] | null;
|
|
115
116
|
Rollback(): void;
|
|
116
117
|
}
|
|
117
118
|
|
|
@@ -136,7 +137,7 @@ export type ISinglePhaseNotification = ISinglePhaseNotification$instance;
|
|
|
136
137
|
export interface ITransactionPromoter$instance {
|
|
137
138
|
readonly __tsonic_iface_System_Transactions_ITransactionPromoter: never;
|
|
138
139
|
|
|
139
|
-
Promote(): byte[] |
|
|
140
|
+
Promote(): byte[] | null;
|
|
140
141
|
}
|
|
141
142
|
|
|
142
143
|
|
|
@@ -149,7 +150,7 @@ export interface TransactionOptions$instance {
|
|
|
149
150
|
|
|
150
151
|
IsolationLevel: IsolationLevel;
|
|
151
152
|
Timeout: TimeSpan;
|
|
152
|
-
Equals(obj:
|
|
153
|
+
Equals(obj: JsValue | null): boolean;
|
|
153
154
|
Equals(other: TransactionOptions): boolean;
|
|
154
155
|
GetHashCode(): int;
|
|
155
156
|
}
|
|
@@ -177,7 +178,7 @@ export interface CommittableTransaction$instance extends Transaction$instance, S
|
|
|
177
178
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
178
179
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
179
180
|
|
|
180
|
-
BeginCommit(asyncCallback: AsyncCallback, asyncState:
|
|
181
|
+
BeginCommit(asyncCallback: AsyncCallback | null, asyncState: JsValue | null): IAsyncResult;
|
|
181
182
|
Commit(): void;
|
|
182
183
|
EndCommit(asyncResult: IAsyncResult): void;
|
|
183
184
|
}
|
|
@@ -238,7 +239,7 @@ export interface PreparingEnlistment$instance extends Enlistment {
|
|
|
238
239
|
readonly __tsonic_type_System_Transactions_PreparingEnlistment: never;
|
|
239
240
|
|
|
240
241
|
ForceRollback(): void;
|
|
241
|
-
ForceRollback(e: Exception): void;
|
|
242
|
+
ForceRollback(e: Exception | null): void;
|
|
242
243
|
Prepared(): void;
|
|
243
244
|
RecoveryInformation(): byte[];
|
|
244
245
|
}
|
|
@@ -254,10 +255,10 @@ export interface SinglePhaseEnlistment$instance extends Enlistment {
|
|
|
254
255
|
readonly __tsonic_type_System_Transactions_SinglePhaseEnlistment: never;
|
|
255
256
|
|
|
256
257
|
Aborted(): void;
|
|
257
|
-
Aborted(e: Exception): void;
|
|
258
|
+
Aborted(e: Exception | null): void;
|
|
258
259
|
Committed(): void;
|
|
259
260
|
InDoubt(): void;
|
|
260
|
-
InDoubt(e: Exception): void;
|
|
261
|
+
InDoubt(e: Exception | null): void;
|
|
261
262
|
}
|
|
262
263
|
|
|
263
264
|
|
|
@@ -307,19 +308,19 @@ export interface Transaction$instance extends System_Internal.IDisposable$instan
|
|
|
307
308
|
EnlistPromotableSinglePhase(promotableSinglePhaseNotification: IPromotableSinglePhaseNotification, promoterType: Guid): boolean;
|
|
308
309
|
EnlistVolatile(enlistmentNotification: IEnlistmentNotification, enlistmentOptions: EnlistmentOptions): Enlistment;
|
|
309
310
|
EnlistVolatile(singlePhaseNotification: ISinglePhaseNotification, enlistmentOptions: EnlistmentOptions): Enlistment;
|
|
310
|
-
Equals(obj:
|
|
311
|
+
Equals(obj: JsValue | null): boolean;
|
|
311
312
|
GetHashCode(): int;
|
|
312
313
|
GetPromotedToken(): byte[];
|
|
313
314
|
PromoteAndEnlistDurable(resourceManagerIdentifier: Guid, promotableNotification: IPromotableSinglePhaseNotification, enlistmentNotification: ISinglePhaseNotification, enlistmentOptions: EnlistmentOptions): Enlistment;
|
|
314
315
|
Rollback(): void;
|
|
315
|
-
Rollback(e: Exception): void;
|
|
316
|
+
Rollback(e: Exception | null): void;
|
|
316
317
|
SetDistributedTransactionIdentifier(promotableNotification: IPromotableSinglePhaseNotification, distributedTransactionIdentifier: Guid): void;
|
|
317
318
|
}
|
|
318
319
|
|
|
319
320
|
|
|
320
321
|
export const Transaction: {
|
|
321
|
-
get Current(): Transaction |
|
|
322
|
-
set Current(value: Transaction |
|
|
322
|
+
get Current(): Transaction | null;
|
|
323
|
+
set Current(value: Transaction | null);
|
|
323
324
|
};
|
|
324
325
|
|
|
325
326
|
|
|
@@ -341,8 +342,8 @@ export interface TransactionAbortedException$instance extends TransactionExcepti
|
|
|
341
342
|
|
|
342
343
|
export const TransactionAbortedException: {
|
|
343
344
|
new(): TransactionAbortedException;
|
|
344
|
-
new(message: string): TransactionAbortedException;
|
|
345
|
-
new(message: string, innerException: Exception): TransactionAbortedException;
|
|
345
|
+
new(message: string | null): TransactionAbortedException;
|
|
346
|
+
new(message: string | null, innerException: Exception | null): TransactionAbortedException;
|
|
346
347
|
};
|
|
347
348
|
|
|
348
349
|
|
|
@@ -356,7 +357,7 @@ export type TransactionAbortedException = TransactionAbortedException$instance &
|
|
|
356
357
|
export interface TransactionEventArgs$instance extends EventArgs {
|
|
357
358
|
readonly __tsonic_type_System_Transactions_TransactionEventArgs: never;
|
|
358
359
|
|
|
359
|
-
readonly Transaction: Transaction |
|
|
360
|
+
readonly Transaction: Transaction | null;
|
|
360
361
|
}
|
|
361
362
|
|
|
362
363
|
|
|
@@ -377,8 +378,8 @@ export interface TransactionException$instance extends SystemException, System_R
|
|
|
377
378
|
|
|
378
379
|
export const TransactionException: {
|
|
379
380
|
new(): TransactionException;
|
|
380
|
-
new(message: string): TransactionException;
|
|
381
|
-
new(message: string, innerException: Exception): TransactionException;
|
|
381
|
+
new(message: string | null): TransactionException;
|
|
382
|
+
new(message: string | null, innerException: Exception | null): TransactionException;
|
|
382
383
|
};
|
|
383
384
|
|
|
384
385
|
|
|
@@ -399,8 +400,8 @@ export interface TransactionInDoubtException$instance extends TransactionExcepti
|
|
|
399
400
|
|
|
400
401
|
export const TransactionInDoubtException: {
|
|
401
402
|
new(): TransactionInDoubtException;
|
|
402
|
-
new(message: string): TransactionInDoubtException;
|
|
403
|
-
new(message: string, innerException: Exception): TransactionInDoubtException;
|
|
403
|
+
new(message: string | null): TransactionInDoubtException;
|
|
404
|
+
new(message: string | null, innerException: Exception | null): TransactionInDoubtException;
|
|
404
405
|
};
|
|
405
406
|
|
|
406
407
|
|
|
@@ -437,8 +438,8 @@ export interface TransactionManagerCommunicationException$instance extends Trans
|
|
|
437
438
|
|
|
438
439
|
export const TransactionManagerCommunicationException: {
|
|
439
440
|
new(): TransactionManagerCommunicationException;
|
|
440
|
-
new(message: string): TransactionManagerCommunicationException;
|
|
441
|
-
new(message: string, innerException: Exception): TransactionManagerCommunicationException;
|
|
441
|
+
new(message: string | null): TransactionManagerCommunicationException;
|
|
442
|
+
new(message: string | null, innerException: Exception | null): TransactionManagerCommunicationException;
|
|
442
443
|
};
|
|
443
444
|
|
|
444
445
|
|
|
@@ -459,8 +460,8 @@ export interface TransactionPromotionException$instance extends TransactionExcep
|
|
|
459
460
|
|
|
460
461
|
export const TransactionPromotionException: {
|
|
461
462
|
new(): TransactionPromotionException;
|
|
462
|
-
new(message: string): TransactionPromotionException;
|
|
463
|
-
new(message: string, innerException: Exception): TransactionPromotionException;
|
|
463
|
+
new(message: string | null): TransactionPromotionException;
|
|
464
|
+
new(message: string | null, innerException: Exception | null): TransactionPromotionException;
|
|
464
465
|
};
|
|
465
466
|
|
|
466
467
|
|
|
@@ -521,8 +522,8 @@ export abstract class TransactionInterop$instance {
|
|
|
521
522
|
export type TransactionInterop = TransactionInterop$instance;
|
|
522
523
|
|
|
523
524
|
export abstract class TransactionManager$instance {
|
|
524
|
-
static get HostCurrentCallback(): HostCurrentTransactionCallback |
|
|
525
|
-
static set HostCurrentCallback(value: HostCurrentTransactionCallback |
|
|
525
|
+
static get HostCurrentCallback(): HostCurrentTransactionCallback | null;
|
|
526
|
+
static set HostCurrentCallback(value: HostCurrentTransactionCallback | null);
|
|
526
527
|
static DefaultTimeout: TimeSpan;
|
|
527
528
|
static MaximumTimeout: TimeSpan;
|
|
528
529
|
static ImplicitDistributedTransactions: boolean;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Web
|
|
3
3
|
// Assembly: System.Web.HttpUtility
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { NameValueCollection } from "../../System.Collections.Specialized/internal/index.js";
|
|
@@ -15,7 +16,7 @@ import type { Boolean as ClrBoolean, Byte, Int32, Object as ClrObject, String as
|
|
|
15
16
|
export interface IHtmlString$instance {
|
|
16
17
|
readonly __tsonic_iface_System_Web_IHtmlString: never;
|
|
17
18
|
|
|
18
|
-
ToHtmlString(): string |
|
|
19
|
+
ToHtmlString(): string | null;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
|
|
@@ -29,36 +30,36 @@ export interface HttpUtility$instance {
|
|
|
29
30
|
|
|
30
31
|
export const HttpUtility: {
|
|
31
32
|
new(): HttpUtility;
|
|
32
|
-
HtmlAttributeEncode(s: string, output: TextWriter): void;
|
|
33
|
-
HtmlAttributeEncode(s: string): string |
|
|
34
|
-
HtmlDecode(s: string, output: TextWriter): void;
|
|
35
|
-
HtmlDecode(s: string): string |
|
|
36
|
-
HtmlEncode(value:
|
|
37
|
-
HtmlEncode(s: string, output: TextWriter): void;
|
|
38
|
-
HtmlEncode(s: string): string |
|
|
39
|
-
JavaScriptStringEncode(value: string, addDoubleQuotes: boolean): string;
|
|
40
|
-
JavaScriptStringEncode(value: string): string;
|
|
33
|
+
HtmlAttributeEncode(s: string | null, output: TextWriter): void;
|
|
34
|
+
HtmlAttributeEncode(s: string | null): string | null;
|
|
35
|
+
HtmlDecode(s: string | null, output: TextWriter): void;
|
|
36
|
+
HtmlDecode(s: string | null): string | null;
|
|
37
|
+
HtmlEncode(value: JsValue | null): string | null;
|
|
38
|
+
HtmlEncode(s: string | null, output: TextWriter): void;
|
|
39
|
+
HtmlEncode(s: string | null): string | null;
|
|
40
|
+
JavaScriptStringEncode(value: string | null, addDoubleQuotes: boolean): string;
|
|
41
|
+
JavaScriptStringEncode(value: string | null): string;
|
|
41
42
|
ParseQueryString(query: string, encoding: Encoding): NameValueCollection;
|
|
42
43
|
ParseQueryString(query: string): NameValueCollection;
|
|
43
|
-
UrlDecode(bytes: byte[], offset: int, count: int, e: Encoding): string |
|
|
44
|
-
UrlDecode(bytes: byte[], e: Encoding): string |
|
|
45
|
-
UrlDecode(str: string, e: Encoding): string |
|
|
46
|
-
UrlDecode(str: string): string |
|
|
47
|
-
UrlDecodeToBytes(bytes: byte[], offset: int, count: int): byte[] |
|
|
48
|
-
UrlDecodeToBytes(bytes: byte[]): byte[] |
|
|
49
|
-
UrlDecodeToBytes(str: string, e: Encoding): byte[] |
|
|
50
|
-
UrlDecodeToBytes(str: string): byte[] |
|
|
51
|
-
UrlEncode(bytes: byte[], offset: int, count: int): string |
|
|
52
|
-
UrlEncode(bytes: byte[]): string |
|
|
53
|
-
UrlEncode(str: string, e: Encoding): string |
|
|
54
|
-
UrlEncode(str: string): string |
|
|
55
|
-
UrlEncodeToBytes(bytes: byte[], offset: int, count: int): byte[] |
|
|
56
|
-
UrlEncodeToBytes(bytes: byte[]): byte[] |
|
|
57
|
-
UrlEncodeToBytes(str: string, e: Encoding): byte[] |
|
|
58
|
-
UrlEncodeToBytes(str: string): byte[] |
|
|
59
|
-
UrlEncodeUnicode(str: string): string |
|
|
60
|
-
UrlEncodeUnicodeToBytes(str: string): byte[] |
|
|
61
|
-
UrlPathEncode(str: string): string |
|
|
44
|
+
UrlDecode(bytes: byte[] | null, offset: int, count: int, e: Encoding): string | null;
|
|
45
|
+
UrlDecode(bytes: byte[] | null, e: Encoding): string | null;
|
|
46
|
+
UrlDecode(str: string | null, e: Encoding): string | null;
|
|
47
|
+
UrlDecode(str: string | null): string | null;
|
|
48
|
+
UrlDecodeToBytes(bytes: byte[] | null, offset: int, count: int): byte[] | null;
|
|
49
|
+
UrlDecodeToBytes(bytes: byte[] | null): byte[] | null;
|
|
50
|
+
UrlDecodeToBytes(str: string | null, e: Encoding): byte[] | null;
|
|
51
|
+
UrlDecodeToBytes(str: string | null): byte[] | null;
|
|
52
|
+
UrlEncode(bytes: byte[] | null, offset: int, count: int): string | null;
|
|
53
|
+
UrlEncode(bytes: byte[] | null): string | null;
|
|
54
|
+
UrlEncode(str: string | null, e: Encoding): string | null;
|
|
55
|
+
UrlEncode(str: string | null): string | null;
|
|
56
|
+
UrlEncodeToBytes(bytes: byte[] | null, offset: int, count: int): byte[] | null;
|
|
57
|
+
UrlEncodeToBytes(bytes: byte[] | null): byte[] | null;
|
|
58
|
+
UrlEncodeToBytes(str: string | null, e: Encoding): byte[] | null;
|
|
59
|
+
UrlEncodeToBytes(str: string | null): byte[] | null;
|
|
60
|
+
UrlEncodeUnicode(str: string | null): string | null;
|
|
61
|
+
UrlEncodeUnicodeToBytes(str: string | null): byte[] | null;
|
|
62
|
+
UrlPathEncode(str: string | null): string | null;
|
|
62
63
|
};
|
|
63
64
|
|
|
64
65
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Windows.Input
|
|
3
3
|
// Assembly: System.ObjectModel
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as System_Internal from "../../System/internal/index.js";
|
|
@@ -12,8 +13,8 @@ import type { Boolean as ClrBoolean, EventHandler, Object as ClrObject, Void } f
|
|
|
12
13
|
export interface ICommand$instance {
|
|
13
14
|
readonly __tsonic_iface_System_Windows_Input_ICommand: never;
|
|
14
15
|
|
|
15
|
-
CanExecute(parameter:
|
|
16
|
-
Execute(parameter:
|
|
16
|
+
CanExecute(parameter: JsValue | null): boolean;
|
|
17
|
+
Execute(parameter: JsValue | null): void;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Windows.Markup
|
|
3
3
|
// Assembly: System.ObjectModel
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as System_Internal from "../../System/internal/index.js";
|