@tsonic/dotnet 0.8.2 → 0.8.4
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.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.Win32/internal/index.d.ts +10 -10
- package/System/internal/index.d.ts +964 -950
- package/System.Buffers/internal/index.d.ts +2 -2
- package/System.Buffers.d.ts +3 -0
- package/System.CodeDom.Compiler/internal/index.d.ts +10 -10
- package/System.Collections/internal/index.d.ts +30 -24
- 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.Frozen.d.ts +3 -0
- package/System.Collections.Generic/bindings.json +20 -44
- package/System.Collections.Generic/internal/index.d.ts +54 -54
- package/System.Collections.Generic/internal/metadata.json +10 -26
- package/System.Collections.Generic.d.ts +3 -0
- package/System.Collections.Immutable/internal/index.d.ts +88 -88
- package/System.Collections.Immutable.d.ts +3 -0
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +53 -49
- package/System.ComponentModel/internal/index.d.ts +388 -376
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +55 -45
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +3 -2
- package/System.ComponentModel.Design/internal/index.d.ts +36 -36
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +20 -20
- package/System.Data/internal/index.d.ts +171 -163
- package/System.Data.Common/internal/index.d.ts +36 -28
- package/System.Data.Common.d.ts +3 -0
- package/System.Data.SqlTypes/internal/index.d.ts +23 -23
- package/System.Data.d.ts +3 -0
- package/System.Diagnostics/internal/index.d.ts +250 -228
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +37 -23
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +34 -29
- package/System.Diagnostics.Metrics.d.ts +3 -0
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +4 -4
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -24
- package/System.Diagnostics.d.ts +3 -0
- package/System.Drawing/internal/index.d.ts +76 -76
- package/System.Dynamic/internal/index.d.ts +26 -26
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +5 -4
- package/System.Globalization/internal/index.d.ts +22 -20
- package/System.Globalization.d.ts +3 -0
- package/System.IO/internal/index.d.ts +106 -103
- package/System.IO.Compression/internal/index.d.ts +24 -24
- package/System.IO.Compression.d.ts +3 -0
- package/System.IO.Enumeration/internal/index.d.ts +7 -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.Pipelines.d.ts +3 -0
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.IO.Pipes.d.ts +3 -0
- package/System.IO.d.ts +3 -0
- package/System.Linq/internal/index.d.ts +207 -207
- package/System.Linq.Expressions/internal/index.d.ts +160 -160
- package/System.Linq.d.ts +3 -0
- package/System.Net/internal/index.d.ts +157 -131
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +69 -53
- package/System.Net.Http.Headers/internal/index.d.ts +62 -45
- package/System.Net.Http.Json/internal/index.d.ts +38 -38
- package/System.Net.Http.Json.d.ts +3 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +80 -70
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +23 -23
- package/System.Net.Quic/internal/index.d.ts +4 -3
- package/System.Net.Security/internal/index.d.ts +65 -49
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -2
- package/System.Net.Sockets/internal/index.d.ts +49 -42
- package/System.Net.Sockets.d.ts +3 -0
- package/System.Net.WebSockets/internal/index.d.ts +35 -29
- package/System.Numerics/bindings.json +96 -72
- package/System.Numerics/internal/index.d.ts +93 -91
- package/System.Numerics/internal/metadata.json +64 -48
- package/System.Numerics.d.ts +3 -0
- package/System.Reflection/internal/index.d.ts +129 -126
- package/System.Reflection.Emit/internal/index.d.ts +105 -105
- package/System.Reflection.Metadata/internal/index.d.ts +15 -15
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +4 -4
- package/System.Reflection.Metadata.Ecma335.d.ts +3 -0
- package/System.Reflection.Metadata.d.ts +3 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Reflection.d.ts +3 -0
- package/System.Resources/internal/index.d.ts +20 -19
- package/System.Runtime/internal/index.d.ts +6 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +30 -28
- package/System.Runtime.InteropServices/internal/index.d.ts +85 -83
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +20 -20
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +28 -26
- package/System.Runtime.InteropServices.d.ts +3 -0
- package/System.Runtime.Intrinsics.d.ts +3 -0
- package/System.Runtime.Loader/internal/index.d.ts +2 -2
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +66 -54
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -3
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +22 -21
- package/System.Runtime.Serialization.Json.d.ts +3 -0
- package/System.Runtime.Serialization.d.ts +3 -0
- package/System.Runtime.Versioning/internal/index.d.ts +12 -9
- package/System.Security/internal/index.d.ts +62 -52
- package/System.Security.AccessControl/internal/index.d.ts +29 -25
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +8 -8
- package/System.Security.Claims/internal/index.d.ts +21 -15
- package/System.Security.Cryptography/bindings.json +4212 -4212
- package/System.Security.Cryptography/internal/index.d.ts +155 -141
- package/System.Security.Cryptography.X509Certificates/bindings.json +768 -768
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +83 -82
- package/System.Security.Cryptography.X509Certificates.d.ts +3 -0
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +3 -3
- package/System.Text/internal/index.d.ts +48 -46
- package/System.Text.Json/internal/index.d.ts +87 -81
- package/System.Text.Json.Nodes/internal/index.d.ts +41 -41
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Schema.d.ts +3 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +5 -4
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +55 -30
- package/System.Text.Json.Serialization.Metadata.d.ts +3 -0
- package/System.Text.Json.d.ts +3 -0
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Text.d.ts +3 -0
- package/System.Threading/internal/index.d.ts +86 -85
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +82 -82
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +25 -26
- package/System.Threading.Tasks.Dataflow.d.ts +3 -0
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Threading.Tasks.d.ts +3 -0
- package/System.Threading.d.ts +3 -0
- package/System.Timers/internal/index.d.ts +5 -3
- package/System.Transactions/internal/index.d.ts +18 -16
- package/System.Web/internal/index.d.ts +30 -30
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +162 -161
- package/System.Xml.Linq/internal/index.d.ts +38 -37
- package/System.Xml.Linq.d.ts +3 -0
- package/System.Xml.Resolvers/internal/index.d.ts +5 -5
- package/System.Xml.Schema/internal/index.d.ts +133 -88
- package/System.Xml.Schema.d.ts +3 -0
- package/System.Xml.Serialization/internal/index.d.ts +138 -117
- package/System.Xml.XPath/internal/index.d.ts +12 -12
- package/System.Xml.XPath.d.ts +3 -0
- package/System.Xml.Xsl/internal/index.d.ts +34 -34
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +16 -16
- package/System.d.ts +3 -0
- package/__internal/extensions/index.d.ts +2516 -2196
- package/package.json +2 -2
|
@@ -100,13 +100,13 @@ export interface AlternateView$instance extends AttachmentBase$instance {
|
|
|
100
100
|
|
|
101
101
|
export const AlternateView: {
|
|
102
102
|
new(fileName: string): AlternateView;
|
|
103
|
-
new(fileName: string, mediaType: string
|
|
104
|
-
new(fileName: string, contentType: ContentType
|
|
103
|
+
new(fileName: string, mediaType: string): AlternateView;
|
|
104
|
+
new(fileName: string, contentType: ContentType): AlternateView;
|
|
105
105
|
new(contentStream: Stream): AlternateView;
|
|
106
|
-
new(contentStream: Stream, mediaType: string
|
|
107
|
-
new(contentStream: Stream, contentType: ContentType
|
|
108
|
-
createAlternateViewFromString(content: string, contentType: ContentType
|
|
109
|
-
createAlternateViewFromString(content: string, contentEncoding: Encoding
|
|
106
|
+
new(contentStream: Stream, mediaType: string): AlternateView;
|
|
107
|
+
new(contentStream: Stream, contentType: ContentType): AlternateView;
|
|
108
|
+
createAlternateViewFromString(content: string, contentType: ContentType): AlternateView;
|
|
109
|
+
createAlternateViewFromString(content: string, contentEncoding: Encoding, mediaType: string): AlternateView;
|
|
110
110
|
createAlternateViewFromString(content: string): AlternateView;
|
|
111
111
|
};
|
|
112
112
|
|
|
@@ -120,10 +120,10 @@ export type AlternateView = AlternateView$instance & __AlternateView$views;
|
|
|
120
120
|
|
|
121
121
|
export interface AlternateViewCollection$instance extends Collection_1<AlternateView> {
|
|
122
122
|
add(item: AlternateView): void;
|
|
123
|
-
add(value: unknown
|
|
123
|
+
add(value: unknown): int;
|
|
124
124
|
clear(): void;
|
|
125
125
|
contains(item: AlternateView): boolean;
|
|
126
|
-
contains(value: unknown
|
|
126
|
+
contains(value: unknown): boolean;
|
|
127
127
|
copyTo(array: AlternateView[], index: int): void;
|
|
128
128
|
copyTo(array: ClrArray, index: int): void;
|
|
129
129
|
dispose(): void;
|
|
@@ -131,9 +131,9 @@ export interface AlternateViewCollection$instance extends Collection_1<Alternate
|
|
|
131
131
|
getEnumerator(): IEnumerator;
|
|
132
132
|
indexOf(item: AlternateView): int;
|
|
133
133
|
insert(index: int, item: AlternateView): void;
|
|
134
|
-
insert(index: int, value: unknown
|
|
134
|
+
insert(index: int, value: unknown): void;
|
|
135
135
|
remove(item: AlternateView): boolean;
|
|
136
|
-
remove(value: unknown
|
|
136
|
+
remove(value: unknown): void;
|
|
137
137
|
removeAt(index: int): void;
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -162,21 +162,22 @@ export type AlternateViewCollection = AlternateViewCollection$instance & __Alter
|
|
|
162
162
|
export interface Attachment$instance extends AttachmentBase$instance {
|
|
163
163
|
readonly contentDisposition: ContentDisposition | undefined;
|
|
164
164
|
name: string;
|
|
165
|
-
nameEncoding: Encoding | undefined;
|
|
165
|
+
get nameEncoding(): Encoding | undefined;
|
|
166
|
+
set nameEncoding(value: Encoding);
|
|
166
167
|
dispose(): void;
|
|
167
168
|
}
|
|
168
169
|
|
|
169
170
|
|
|
170
171
|
export const Attachment: {
|
|
171
|
-
new(fileName: string
|
|
172
|
-
new(fileName: string
|
|
173
|
-
new(fileName: string
|
|
174
|
-
new(contentStream: Stream
|
|
175
|
-
new(contentStream: Stream, name: string
|
|
176
|
-
new(contentStream: Stream
|
|
177
|
-
createAttachmentFromString(content: string
|
|
178
|
-
createAttachmentFromString(content: string, name: string
|
|
179
|
-
createAttachmentFromString(content: string
|
|
172
|
+
new(fileName: string): Attachment;
|
|
173
|
+
new(fileName: string, mediaType: string): Attachment;
|
|
174
|
+
new(fileName: string, contentType: ContentType): Attachment;
|
|
175
|
+
new(contentStream: Stream, name: string): Attachment;
|
|
176
|
+
new(contentStream: Stream, name: string, mediaType: string): Attachment;
|
|
177
|
+
new(contentStream: Stream, contentType: ContentType): Attachment;
|
|
178
|
+
createAttachmentFromString(content: string, contentType: ContentType): Attachment;
|
|
179
|
+
createAttachmentFromString(content: string, name: string, contentEncoding: Encoding, mediaType: string): Attachment;
|
|
180
|
+
createAttachmentFromString(content: string, name: string): Attachment;
|
|
180
181
|
};
|
|
181
182
|
|
|
182
183
|
|
|
@@ -211,10 +212,10 @@ export type AttachmentBase = AttachmentBase$instance & __AttachmentBase$views;
|
|
|
211
212
|
|
|
212
213
|
export interface AttachmentCollection$instance extends Collection_1<Attachment> {
|
|
213
214
|
add(item: Attachment): void;
|
|
214
|
-
add(value: unknown
|
|
215
|
+
add(value: unknown): int;
|
|
215
216
|
clear(): void;
|
|
216
217
|
contains(item: Attachment): boolean;
|
|
217
|
-
contains(value: unknown
|
|
218
|
+
contains(value: unknown): boolean;
|
|
218
219
|
copyTo(array: Attachment[], index: int): void;
|
|
219
220
|
copyTo(array: ClrArray, index: int): void;
|
|
220
221
|
dispose(): void;
|
|
@@ -222,9 +223,9 @@ export interface AttachmentCollection$instance extends Collection_1<Attachment>
|
|
|
222
223
|
getEnumerator(): IEnumerator;
|
|
223
224
|
indexOf(item: Attachment): int;
|
|
224
225
|
insert(index: int, item: Attachment): void;
|
|
225
|
-
insert(index: int, value: unknown
|
|
226
|
+
insert(index: int, value: unknown): void;
|
|
226
227
|
remove(item: Attachment): boolean;
|
|
227
|
-
remove(value: unknown
|
|
228
|
+
remove(value: unknown): void;
|
|
228
229
|
removeAt(index: int): void;
|
|
229
230
|
}
|
|
230
231
|
|
|
@@ -251,20 +252,21 @@ export type AttachmentCollection = AttachmentCollection$instance & __AttachmentC
|
|
|
251
252
|
|
|
252
253
|
|
|
253
254
|
export interface LinkedResource$instance extends AttachmentBase$instance {
|
|
254
|
-
contentLink: Uri | undefined;
|
|
255
|
+
get contentLink(): Uri | undefined;
|
|
256
|
+
set contentLink(value: Uri);
|
|
255
257
|
dispose(): void;
|
|
256
258
|
}
|
|
257
259
|
|
|
258
260
|
|
|
259
261
|
export const LinkedResource: {
|
|
260
262
|
new(fileName: string): LinkedResource;
|
|
261
|
-
new(fileName: string, mediaType: string
|
|
262
|
-
new(fileName: string, contentType: ContentType
|
|
263
|
+
new(fileName: string, mediaType: string): LinkedResource;
|
|
264
|
+
new(fileName: string, contentType: ContentType): LinkedResource;
|
|
263
265
|
new(contentStream: Stream): LinkedResource;
|
|
264
|
-
new(contentStream: Stream, mediaType: string
|
|
265
|
-
new(contentStream: Stream, contentType: ContentType
|
|
266
|
-
createLinkedResourceFromString(content: string, contentType: ContentType
|
|
267
|
-
createLinkedResourceFromString(content: string, contentEncoding: Encoding
|
|
266
|
+
new(contentStream: Stream, mediaType: string): LinkedResource;
|
|
267
|
+
new(contentStream: Stream, contentType: ContentType): LinkedResource;
|
|
268
|
+
createLinkedResourceFromString(content: string, contentType: ContentType): LinkedResource;
|
|
269
|
+
createLinkedResourceFromString(content: string, contentEncoding: Encoding, mediaType: string): LinkedResource;
|
|
268
270
|
createLinkedResourceFromString(content: string): LinkedResource;
|
|
269
271
|
};
|
|
270
272
|
|
|
@@ -278,10 +280,10 @@ export type LinkedResource = LinkedResource$instance & __LinkedResource$views;
|
|
|
278
280
|
|
|
279
281
|
export interface LinkedResourceCollection$instance extends Collection_1<LinkedResource> {
|
|
280
282
|
add(item: LinkedResource): void;
|
|
281
|
-
add(value: unknown
|
|
283
|
+
add(value: unknown): int;
|
|
282
284
|
clear(): void;
|
|
283
285
|
contains(item: LinkedResource): boolean;
|
|
284
|
-
contains(value: unknown
|
|
286
|
+
contains(value: unknown): boolean;
|
|
285
287
|
copyTo(array: LinkedResource[], index: int): void;
|
|
286
288
|
copyTo(array: ClrArray, index: int): void;
|
|
287
289
|
dispose(): void;
|
|
@@ -289,9 +291,9 @@ export interface LinkedResourceCollection$instance extends Collection_1<LinkedRe
|
|
|
289
291
|
getEnumerator(): IEnumerator;
|
|
290
292
|
indexOf(item: LinkedResource): int;
|
|
291
293
|
insert(index: int, item: LinkedResource): void;
|
|
292
|
-
insert(index: int, value: unknown
|
|
294
|
+
insert(index: int, value: unknown): void;
|
|
293
295
|
remove(item: LinkedResource): boolean;
|
|
294
|
-
remove(value: unknown
|
|
296
|
+
remove(value: unknown): void;
|
|
295
297
|
removeAt(index: int): void;
|
|
296
298
|
}
|
|
297
299
|
|
|
@@ -330,7 +332,7 @@ export interface MailAddress$instance {
|
|
|
330
332
|
|
|
331
333
|
export const MailAddress: {
|
|
332
334
|
new(address: string): MailAddress;
|
|
333
|
-
new(address: string, displayName: string
|
|
335
|
+
new(address: string, displayName: string): MailAddress;
|
|
334
336
|
new(address: string, displayName: string, displayNameEncoding: Encoding): MailAddress;
|
|
335
337
|
tryCreate(address: string, result: MailAddress): boolean;
|
|
336
338
|
tryCreate(address: string, displayName: string, result: MailAddress): boolean;
|
|
@@ -342,19 +344,19 @@ export type MailAddress = MailAddress$instance;
|
|
|
342
344
|
|
|
343
345
|
export interface MailAddressCollection$instance extends Collection_1<MailAddress> {
|
|
344
346
|
add(item: MailAddress): void;
|
|
345
|
-
add(value: unknown
|
|
347
|
+
add(value: unknown): int;
|
|
346
348
|
clear(): void;
|
|
347
349
|
contains(item: MailAddress): boolean;
|
|
348
|
-
contains(value: unknown
|
|
350
|
+
contains(value: unknown): boolean;
|
|
349
351
|
copyTo(array: MailAddress[], index: int): void;
|
|
350
352
|
copyTo(array: ClrArray, index: int): void;
|
|
351
353
|
getEnumerator(): IEnumerator_1<MailAddress>;
|
|
352
354
|
getEnumerator(): IEnumerator;
|
|
353
355
|
indexOf(item: MailAddress): int;
|
|
354
356
|
insert(index: int, item: MailAddress): void;
|
|
355
|
-
insert(index: int, value: unknown
|
|
357
|
+
insert(index: int, value: unknown): void;
|
|
356
358
|
remove(item: MailAddress): boolean;
|
|
357
|
-
remove(value: unknown
|
|
359
|
+
remove(value: unknown): void;
|
|
358
360
|
removeAt(index: int): void;
|
|
359
361
|
toString(): string;
|
|
360
362
|
}
|
|
@@ -383,20 +385,26 @@ export interface MailMessage$instance {
|
|
|
383
385
|
readonly attachments: AttachmentCollection;
|
|
384
386
|
readonly bcc: MailAddressCollection;
|
|
385
387
|
body: string;
|
|
386
|
-
bodyEncoding: Encoding | undefined;
|
|
388
|
+
get bodyEncoding(): Encoding | undefined;
|
|
389
|
+
set bodyEncoding(value: Encoding);
|
|
387
390
|
bodyTransferEncoding: TransferEncoding;
|
|
388
391
|
readonly CC: MailAddressCollection;
|
|
389
392
|
deliveryNotificationOptions: DeliveryNotificationOptions;
|
|
390
|
-
from_: MailAddress | undefined;
|
|
393
|
+
get from_(): MailAddress | undefined;
|
|
394
|
+
set from_(value: MailAddress);
|
|
391
395
|
readonly headers: NameValueCollection;
|
|
392
|
-
headersEncoding: Encoding | undefined;
|
|
396
|
+
get headersEncoding(): Encoding | undefined;
|
|
397
|
+
set headersEncoding(value: Encoding);
|
|
393
398
|
isBodyHtml: boolean;
|
|
394
399
|
priority: MailPriority;
|
|
395
|
-
replyTo: MailAddress | undefined;
|
|
400
|
+
get replyTo(): MailAddress | undefined;
|
|
401
|
+
set replyTo(value: MailAddress);
|
|
396
402
|
readonly replyToList: MailAddressCollection;
|
|
397
|
-
sender: MailAddress | undefined;
|
|
403
|
+
get sender(): MailAddress | undefined;
|
|
404
|
+
set sender(value: MailAddress);
|
|
398
405
|
subject: string;
|
|
399
|
-
subjectEncoding: Encoding | undefined;
|
|
406
|
+
get subjectEncoding(): Encoding | undefined;
|
|
407
|
+
set subjectEncoding(value: Encoding);
|
|
400
408
|
readonly to: MailAddressCollection;
|
|
401
409
|
dispose(): void;
|
|
402
410
|
}
|
|
@@ -405,7 +413,7 @@ export interface MailMessage$instance {
|
|
|
405
413
|
export const MailMessage: {
|
|
406
414
|
new(): MailMessage;
|
|
407
415
|
new(from_: string, to: string): MailMessage;
|
|
408
|
-
new(from_: string, to: string, subject: string
|
|
416
|
+
new(from_: string, to: string, subject: string, body: string): MailMessage;
|
|
409
417
|
new(from_: MailAddress, to: MailAddress): MailMessage;
|
|
410
418
|
};
|
|
411
419
|
|
|
@@ -426,29 +434,31 @@ export interface SmtpClient$instance {
|
|
|
426
434
|
deliveryMethod: SmtpDeliveryMethod;
|
|
427
435
|
enableSsl: boolean;
|
|
428
436
|
host: string;
|
|
429
|
-
pickupDirectoryLocation: string | undefined;
|
|
437
|
+
get pickupDirectoryLocation(): string | undefined;
|
|
438
|
+
set pickupDirectoryLocation(value: string);
|
|
430
439
|
port: int;
|
|
431
440
|
readonly servicePoint: ServicePoint;
|
|
432
|
-
targetName: string | undefined;
|
|
441
|
+
get targetName(): string | undefined;
|
|
442
|
+
set targetName(value: string);
|
|
433
443
|
timeout: int;
|
|
434
444
|
useDefaultCredentials: boolean;
|
|
435
445
|
dispose(): void;
|
|
436
|
-
send(from_: string
|
|
437
|
-
send(message: MailMessage
|
|
438
|
-
sendAsync(from_: string, recipients: string, subject: string
|
|
439
|
-
sendAsync(message: MailMessage
|
|
446
|
+
send(from_: string, recipients: string, subject: string, body: string): void;
|
|
447
|
+
send(message: MailMessage): void;
|
|
448
|
+
sendAsync(from_: string, recipients: string, subject: string, body: string, userToken: unknown): void;
|
|
449
|
+
sendAsync(message: MailMessage, userToken: unknown): void;
|
|
440
450
|
sendAsyncCancel(): void;
|
|
441
|
-
sendMailAsync(from_: string
|
|
442
|
-
sendMailAsync(message: MailMessage
|
|
443
|
-
sendMailAsync(from_: string
|
|
444
|
-
sendMailAsync(message: MailMessage
|
|
451
|
+
sendMailAsync(from_: string, recipients: string, subject: string, body: string): Task;
|
|
452
|
+
sendMailAsync(message: MailMessage): Task;
|
|
453
|
+
sendMailAsync(from_: string, recipients: string, subject: string, body: string, cancellationToken: CancellationToken): Task;
|
|
454
|
+
sendMailAsync(message: MailMessage, cancellationToken: CancellationToken): Task;
|
|
445
455
|
}
|
|
446
456
|
|
|
447
457
|
|
|
448
458
|
export const SmtpClient: {
|
|
449
459
|
new(): SmtpClient;
|
|
450
|
-
new(host: string
|
|
451
|
-
new(host: string
|
|
460
|
+
new(host: string): SmtpClient;
|
|
461
|
+
new(host: string, port: int): SmtpClient;
|
|
452
462
|
};
|
|
453
463
|
|
|
454
464
|
|
|
@@ -463,16 +473,16 @@ export type SmtpClient = SmtpClient$instance & __SmtpClient$views;
|
|
|
463
473
|
|
|
464
474
|
export interface SmtpException$instance extends Exception {
|
|
465
475
|
statusCode: SmtpStatusCode;
|
|
466
|
-
getObjectData(serializationInfo: SerializationInfo
|
|
476
|
+
getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
467
477
|
}
|
|
468
478
|
|
|
469
479
|
|
|
470
480
|
export const SmtpException: {
|
|
471
481
|
new(statusCode: SmtpStatusCode): SmtpException;
|
|
472
|
-
new(statusCode: SmtpStatusCode, message: string
|
|
482
|
+
new(statusCode: SmtpStatusCode, message: string): SmtpException;
|
|
473
483
|
new(): SmtpException;
|
|
474
|
-
new(message: string
|
|
475
|
-
new(message: string
|
|
484
|
+
new(message: string): SmtpException;
|
|
485
|
+
new(message: string, innerException: Exception): SmtpException;
|
|
476
486
|
};
|
|
477
487
|
|
|
478
488
|
|
|
@@ -485,17 +495,17 @@ export type SmtpException = SmtpException$instance & __SmtpException$views;
|
|
|
485
495
|
|
|
486
496
|
export interface SmtpFailedRecipientException$instance extends SmtpException$instance {
|
|
487
497
|
readonly failedRecipient: string | undefined;
|
|
488
|
-
getObjectData(serializationInfo: SerializationInfo
|
|
498
|
+
getObjectData(serializationInfo: SerializationInfo, streamingContext: StreamingContext): void;
|
|
489
499
|
}
|
|
490
500
|
|
|
491
501
|
|
|
492
502
|
export const SmtpFailedRecipientException: {
|
|
493
503
|
new(): SmtpFailedRecipientException;
|
|
494
|
-
new(message: string
|
|
495
|
-
new(message: string
|
|
496
|
-
new(statusCode: SmtpStatusCode, failedRecipient: string
|
|
497
|
-
new(statusCode: SmtpStatusCode, failedRecipient: string
|
|
498
|
-
new(message: string
|
|
504
|
+
new(message: string): SmtpFailedRecipientException;
|
|
505
|
+
new(message: string, innerException: Exception): SmtpFailedRecipientException;
|
|
506
|
+
new(statusCode: SmtpStatusCode, failedRecipient: string): SmtpFailedRecipientException;
|
|
507
|
+
new(statusCode: SmtpStatusCode, failedRecipient: string, serverResponse: string): SmtpFailedRecipientException;
|
|
508
|
+
new(message: string, failedRecipient: string, innerException: Exception): SmtpFailedRecipientException;
|
|
499
509
|
};
|
|
500
510
|
|
|
501
511
|
|
|
@@ -516,7 +526,7 @@ export const SmtpFailedRecipientsException: {
|
|
|
516
526
|
new(): SmtpFailedRecipientsException;
|
|
517
527
|
new(message: string): SmtpFailedRecipientsException;
|
|
518
528
|
new(message: string, innerException: Exception): SmtpFailedRecipientsException;
|
|
519
|
-
new(message: string
|
|
529
|
+
new(message: string, innerExceptions: SmtpFailedRecipientException[]): SmtpFailedRecipientsException;
|
|
520
530
|
};
|
|
521
531
|
|
|
522
532
|
|
|
@@ -43,8 +43,10 @@ export const ContentDisposition: {
|
|
|
43
43
|
export type ContentDisposition = ContentDisposition$instance;
|
|
44
44
|
|
|
45
45
|
export interface ContentType$instance {
|
|
46
|
-
boundary: string | undefined;
|
|
47
|
-
|
|
46
|
+
get boundary(): string | undefined;
|
|
47
|
+
set boundary(value: string);
|
|
48
|
+
get charSet(): string | undefined;
|
|
49
|
+
set charSet(value: string);
|
|
48
50
|
mediaType: string;
|
|
49
51
|
name: string;
|
|
50
52
|
readonly parameters: StringDictionary;
|
|
@@ -168,10 +168,10 @@ export enum TcpState {
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
|
|
171
|
-
export type NetworkAddressChangedEventHandler = (sender: unknown
|
|
171
|
+
export type NetworkAddressChangedEventHandler = (sender: unknown, e: EventArgs) => void;
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
export type NetworkAvailabilityChangedEventHandler = (sender: unknown
|
|
174
|
+
export type NetworkAvailabilityChangedEventHandler = (sender: unknown, e: NetworkAvailabilityEventArgs) => void;
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
export type PingCompletedEventHandler = (sender: unknown, e: PingCompletedEventArgs) => void;
|
|
@@ -580,7 +580,7 @@ export interface NetworkChange$instance {
|
|
|
580
580
|
|
|
581
581
|
export const NetworkChange: {
|
|
582
582
|
new(): NetworkChange;
|
|
583
|
-
registerNetworkChange(nc: NetworkChange
|
|
583
|
+
registerNetworkChange(nc: NetworkChange): void;
|
|
584
584
|
};
|
|
585
585
|
|
|
586
586
|
|
|
@@ -644,8 +644,8 @@ export const PhysicalAddress: {
|
|
|
644
644
|
new(address: byte[]): PhysicalAddress;
|
|
645
645
|
readonly none: PhysicalAddress;
|
|
646
646
|
parse(address: ReadOnlySpan_1<System_Internal.Char>): PhysicalAddress;
|
|
647
|
-
parse(address: string
|
|
648
|
-
tryParse(address: ReadOnlySpan_1<System_Internal.Char>, value: PhysicalAddress
|
|
647
|
+
parse(address: string): PhysicalAddress;
|
|
648
|
+
tryParse(address: ReadOnlySpan_1<System_Internal.Char>, value: PhysicalAddress): boolean;
|
|
649
649
|
tryParse(address: string, value: PhysicalAddress): boolean;
|
|
650
650
|
};
|
|
651
651
|
|
|
@@ -660,18 +660,18 @@ export interface Ping$instance extends Component {
|
|
|
660
660
|
send(address: IPAddress, timeout: int): PingReply;
|
|
661
661
|
send(hostNameOrAddress: string, timeout: int, buffer: byte[]): PingReply;
|
|
662
662
|
send(address: IPAddress, timeout: int, buffer: byte[]): PingReply;
|
|
663
|
-
send(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions
|
|
664
|
-
send(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions
|
|
665
|
-
send(address: IPAddress, timeout: TimeSpan, buffer?: byte[]
|
|
666
|
-
send(hostNameOrAddress: string, timeout: TimeSpan, buffer?: byte[]
|
|
667
|
-
sendAsync(hostNameOrAddress: string, userToken: unknown
|
|
668
|
-
sendAsync(hostNameOrAddress: string, timeout: int, userToken: unknown
|
|
669
|
-
sendAsync(address: IPAddress, userToken: unknown
|
|
670
|
-
sendAsync(address: IPAddress, timeout: int, userToken: unknown
|
|
671
|
-
sendAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], userToken: unknown
|
|
672
|
-
sendAsync(address: IPAddress, timeout: int, buffer: byte[], userToken: unknown
|
|
673
|
-
sendAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions
|
|
674
|
-
sendAsync(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions
|
|
663
|
+
send(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions): PingReply;
|
|
664
|
+
send(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions): PingReply;
|
|
665
|
+
send(address: IPAddress, timeout: TimeSpan, buffer?: byte[], options?: PingOptions): PingReply;
|
|
666
|
+
send(hostNameOrAddress: string, timeout: TimeSpan, buffer?: byte[], options?: PingOptions): PingReply;
|
|
667
|
+
sendAsync(hostNameOrAddress: string, userToken: unknown): void;
|
|
668
|
+
sendAsync(hostNameOrAddress: string, timeout: int, userToken: unknown): void;
|
|
669
|
+
sendAsync(address: IPAddress, userToken: unknown): void;
|
|
670
|
+
sendAsync(address: IPAddress, timeout: int, userToken: unknown): void;
|
|
671
|
+
sendAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], userToken: unknown): void;
|
|
672
|
+
sendAsync(address: IPAddress, timeout: int, buffer: byte[], userToken: unknown): void;
|
|
673
|
+
sendAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions, userToken: unknown): void;
|
|
674
|
+
sendAsync(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions, userToken: unknown): void;
|
|
675
675
|
sendAsyncCancel(): void;
|
|
676
676
|
sendPingAsync(address: IPAddress): Task_1<PingReply>;
|
|
677
677
|
sendPingAsync(hostNameOrAddress: string): Task_1<PingReply>;
|
|
@@ -679,10 +679,10 @@ export interface Ping$instance extends Component {
|
|
|
679
679
|
sendPingAsync(hostNameOrAddress: string, timeout: int): Task_1<PingReply>;
|
|
680
680
|
sendPingAsync(address: IPAddress, timeout: int, buffer: byte[]): Task_1<PingReply>;
|
|
681
681
|
sendPingAsync(hostNameOrAddress: string, timeout: int, buffer: byte[]): Task_1<PingReply>;
|
|
682
|
-
sendPingAsync(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions
|
|
683
|
-
sendPingAsync(address: IPAddress, timeout: TimeSpan, buffer?: byte[]
|
|
684
|
-
sendPingAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions
|
|
685
|
-
sendPingAsync(hostNameOrAddress: string, timeout: TimeSpan, buffer?: byte[]
|
|
682
|
+
sendPingAsync(address: IPAddress, timeout: int, buffer: byte[], options: PingOptions): Task_1<PingReply>;
|
|
683
|
+
sendPingAsync(address: IPAddress, timeout: TimeSpan, buffer?: byte[], options?: PingOptions, cancellationToken?: CancellationToken): Task_1<PingReply>;
|
|
684
|
+
sendPingAsync(hostNameOrAddress: string, timeout: int, buffer: byte[], options: PingOptions): Task_1<PingReply>;
|
|
685
|
+
sendPingAsync(hostNameOrAddress: string, timeout: TimeSpan, buffer?: byte[], options?: PingOptions, cancellationToken?: CancellationToken): Task_1<PingReply>;
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
|
|
@@ -719,8 +719,8 @@ export interface PingException$instance extends InvalidOperationException {
|
|
|
719
719
|
|
|
720
720
|
|
|
721
721
|
export const PingException: {
|
|
722
|
-
new(message: string
|
|
723
|
-
new(message: string
|
|
722
|
+
new(message: string): PingException;
|
|
723
|
+
new(message: string, innerException: Exception): PingException;
|
|
724
724
|
};
|
|
725
725
|
|
|
726
726
|
|
|
@@ -119,7 +119,8 @@ export interface QuicConnectionOptions$instance {
|
|
|
119
119
|
keepAliveInterval: TimeSpan;
|
|
120
120
|
maxInboundBidirectionalStreams: int;
|
|
121
121
|
maxInboundUnidirectionalStreams: int;
|
|
122
|
-
streamCapacityCallback: Action_2<QuicConnection, QuicStreamCapacityChangedArgs> | undefined;
|
|
122
|
+
get streamCapacityCallback(): Action_2<QuicConnection, QuicStreamCapacityChangedArgs> | undefined;
|
|
123
|
+
set streamCapacityCallback(value: Action_2<QuicConnection, QuicStreamCapacityChangedArgs>);
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
|
|
@@ -229,8 +230,8 @@ export interface QuicStream$instance extends Stream {
|
|
|
229
230
|
readonly writesClosed: Task;
|
|
230
231
|
writeTimeout: int;
|
|
231
232
|
abort(abortDirection: QuicAbortDirection, errorCode: long): void;
|
|
232
|
-
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback
|
|
233
|
-
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback
|
|
233
|
+
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
234
|
+
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
234
235
|
completeWrites(): void;
|
|
235
236
|
dispose(): void;
|
|
236
237
|
disposeAsync(): ValueTask;
|