@tsonic/dotnet 10.0.2 → 10.0.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 +0 -3
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
- package/Microsoft.Win32/internal/index.d.ts +0 -1
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
- package/System/internal/index.d.ts +87 -200
- package/System.Buffers/internal/index.d.ts +10 -23
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
- package/System.Collections/internal/index.d.ts +41 -57
- package/System.Collections.Concurrent/internal/index.d.ts +4 -10
- package/System.Collections.Generic/internal/index.d.ts +15 -37
- package/System.Collections.Immutable/internal/index.d.ts +7 -20
- package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
- package/System.Collections.Specialized/internal/index.d.ts +15 -30
- package/System.ComponentModel/internal/index.d.ts +126 -216
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
- package/System.ComponentModel.Design/internal/index.d.ts +26 -53
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
- package/System.Data/internal/index.d.ts +110 -188
- package/System.Data.Common/internal/index.d.ts +155 -238
- package/System.Data.SqlTypes/internal/index.d.ts +6 -7
- package/System.Diagnostics/internal/index.d.ts +105 -169
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
- package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
- package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
- package/System.Dynamic/internal/index.d.ts +15 -29
- package/System.Formats.Asn1/internal/index.d.ts +0 -1
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Globalization/internal/index.d.ts +17 -51
- package/System.IO/internal/index.d.ts +47 -123
- package/System.IO.Compression/internal/index.d.ts +11 -33
- package/System.IO.Enumeration/internal/index.d.ts +11 -16
- package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
- package/System.IO.Pipelines/internal/index.d.ts +7 -18
- package/System.IO.Pipes/internal/index.d.ts +24 -50
- package/System.Linq/internal/index.d.ts +0 -4
- package/System.Linq.Expressions/internal/index.d.ts +108 -257
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
- package/System.Net/internal/index.d.ts +133 -184
- package/System.Net.Http/internal/index.d.ts +128 -201
- package/System.Net.Http.Headers/internal/index.d.ts +37 -40
- package/System.Net.Http.Json/internal/index.d.ts +8 -13
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
- package/System.Net.Mail/internal/index.d.ts +49 -105
- package/System.Net.Mime/internal/index.d.ts +4 -3
- package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
- package/System.Net.Quic/internal/index.d.ts +5 -11
- package/System.Net.Security/internal/index.d.ts +30 -42
- package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
- package/System.Net.Sockets/internal/index.d.ts +33 -56
- package/System.Net.WebSockets/internal/index.d.ts +16 -23
- package/System.Numerics/internal/index.d.ts +5 -5
- package/System.Reflection/internal/index.d.ts +66 -102
- package/System.Reflection.Emit/internal/index.d.ts +104 -177
- package/System.Reflection.Metadata/internal/index.d.ts +11 -21
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
- package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
- package/System.Resources/internal/index.d.ts +8 -20
- package/System.Runtime/internal/index.d.ts +5 -8
- package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
- package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
- package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
- package/System.Runtime.Loader/internal/index.d.ts +5 -11
- package/System.Runtime.Serialization/internal/index.d.ts +62 -65
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
- package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
- package/System.Runtime.Versioning/internal/index.d.ts +6 -6
- package/System.Security/internal/index.d.ts +22 -25
- package/System.Security.AccessControl/internal/index.d.ts +51 -89
- package/System.Security.Authentication/internal/index.d.ts +0 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
- package/System.Security.Claims/internal/index.d.ts +19 -38
- package/System.Security.Cryptography/internal/index.d.ts +492 -903
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
- package/System.Security.Permissions/internal/index.d.ts +2 -4
- package/System.Security.Policy/internal/index.d.ts +3 -4
- package/System.Security.Principal/internal/index.d.ts +11 -17
- package/System.Text/internal/index.d.ts +11 -23
- package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
- package/System.Text.Json/internal/index.d.ts +10 -12
- package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
- package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
- package/System.Threading/internal/index.d.ts +36 -106
- package/System.Threading.Channels/internal/index.d.ts +7 -12
- package/System.Threading.Tasks/internal/index.d.ts +18 -29
- package/System.Timers/internal/index.d.ts +4 -8
- package/System.Transactions/internal/index.d.ts +3 -14
- package/System.Xml/internal/index.d.ts +104 -167
- package/System.Xml.Linq/internal/index.d.ts +17 -13
- package/System.Xml.Schema/internal/index.d.ts +117 -112
- package/System.Xml.Serialization/internal/index.d.ts +92 -100
- package/System.Xml.XPath/internal/index.d.ts +5 -9
- package/System.Xml.Xsl/internal/index.d.ts +4 -9
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
- package/package.json +1 -1
|
@@ -44,14 +44,10 @@ export interface IValidatableObject$instance {
|
|
|
44
44
|
|
|
45
45
|
export type IValidatableObject = IValidatableObject$instance;
|
|
46
46
|
|
|
47
|
-
export
|
|
48
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
export interface AllowedValuesAttribute$instance extends AllowedValuesAttribute$protected, ValidationAttribute {
|
|
47
|
+
export interface AllowedValuesAttribute$instance extends ValidationAttribute {
|
|
53
48
|
readonly Values: (unknown | undefined)[];
|
|
54
|
-
|
|
49
|
+
IsValid(value: unknown): boolean;
|
|
50
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
55
51
|
}
|
|
56
52
|
|
|
57
53
|
|
|
@@ -94,13 +90,9 @@ export const AssociationAttribute: {
|
|
|
94
90
|
|
|
95
91
|
export type AssociationAttribute = AssociationAttribute$instance;
|
|
96
92
|
|
|
97
|
-
export
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
export interface Base64StringAttribute$instance extends Base64StringAttribute$protected, ValidationAttribute {
|
|
103
|
-
IsValid2(value: unknown): boolean;
|
|
93
|
+
export interface Base64StringAttribute$instance extends ValidationAttribute {
|
|
94
|
+
IsValid(value: unknown): boolean;
|
|
95
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
104
96
|
}
|
|
105
97
|
|
|
106
98
|
|
|
@@ -111,17 +103,13 @@ export const Base64StringAttribute: {
|
|
|
111
103
|
|
|
112
104
|
export type Base64StringAttribute = Base64StringAttribute$instance;
|
|
113
105
|
|
|
114
|
-
export
|
|
115
|
-
protected IsValid2(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
export interface CompareAttribute$instance extends CompareAttribute$protected, ValidationAttribute {
|
|
106
|
+
export interface CompareAttribute$instance extends ValidationAttribute {
|
|
120
107
|
readonly OtherProperty: string;
|
|
121
108
|
get OtherPropertyDisplayName(): string | undefined;
|
|
122
|
-
set OtherPropertyDisplayName(value: string);
|
|
109
|
+
set OtherPropertyDisplayName(value: string | undefined);
|
|
123
110
|
readonly RequiresValidationContext: boolean;
|
|
124
111
|
FormatErrorMessage(name: string): string;
|
|
112
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
125
113
|
IsValid(value: unknown): boolean;
|
|
126
114
|
}
|
|
127
115
|
|
|
@@ -144,13 +132,9 @@ export const ConcurrencyCheckAttribute: {
|
|
|
144
132
|
|
|
145
133
|
export type ConcurrencyCheckAttribute = ConcurrencyCheckAttribute$instance;
|
|
146
134
|
|
|
147
|
-
export
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
export interface CreditCardAttribute$instance extends CreditCardAttribute$protected, DataTypeAttribute {
|
|
153
|
-
IsValid2(value: unknown): boolean;
|
|
135
|
+
export interface CreditCardAttribute$instance extends DataTypeAttribute {
|
|
136
|
+
IsValid(value: unknown): boolean;
|
|
137
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
154
138
|
}
|
|
155
139
|
|
|
156
140
|
|
|
@@ -161,17 +145,13 @@ export const CreditCardAttribute: {
|
|
|
161
145
|
|
|
162
146
|
export type CreditCardAttribute = CreditCardAttribute$instance;
|
|
163
147
|
|
|
164
|
-
export
|
|
165
|
-
protected IsValid2(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
export interface CustomValidationAttribute$instance extends CustomValidationAttribute$protected, ValidationAttribute {
|
|
148
|
+
export interface CustomValidationAttribute$instance extends ValidationAttribute {
|
|
170
149
|
readonly Method: string;
|
|
171
150
|
readonly RequiresValidationContext: boolean;
|
|
172
151
|
readonly TypeId: unknown;
|
|
173
152
|
readonly ValidatorType: Type;
|
|
174
153
|
FormatErrorMessage(name: string): string;
|
|
154
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
175
155
|
IsValid(value: unknown): boolean;
|
|
176
156
|
}
|
|
177
157
|
|
|
@@ -183,18 +163,14 @@ export const CustomValidationAttribute: {
|
|
|
183
163
|
|
|
184
164
|
export type CustomValidationAttribute = CustomValidationAttribute$instance;
|
|
185
165
|
|
|
186
|
-
export
|
|
187
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
export interface DataTypeAttribute$instance extends DataTypeAttribute$protected, ValidationAttribute {
|
|
166
|
+
export interface DataTypeAttribute$instance extends ValidationAttribute {
|
|
192
167
|
readonly CustomDataType: string | undefined;
|
|
193
168
|
readonly DataType: DataType;
|
|
194
169
|
get DisplayFormat(): DisplayFormatAttribute | undefined;
|
|
195
|
-
set DisplayFormat(value: DisplayFormatAttribute);
|
|
170
|
+
set DisplayFormat(value: DisplayFormatAttribute | undefined);
|
|
196
171
|
GetDataTypeName(): string;
|
|
197
|
-
|
|
172
|
+
IsValid(value: unknown): boolean;
|
|
173
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
198
174
|
}
|
|
199
175
|
|
|
200
176
|
|
|
@@ -206,14 +182,10 @@ export const DataTypeAttribute: {
|
|
|
206
182
|
|
|
207
183
|
export type DataTypeAttribute = DataTypeAttribute$instance;
|
|
208
184
|
|
|
209
|
-
export
|
|
210
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
export interface DeniedValuesAttribute$instance extends DeniedValuesAttribute$protected, ValidationAttribute {
|
|
185
|
+
export interface DeniedValuesAttribute$instance extends ValidationAttribute {
|
|
215
186
|
readonly Values: (unknown | undefined)[];
|
|
216
|
-
|
|
187
|
+
IsValid(value: unknown): boolean;
|
|
188
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
217
189
|
}
|
|
218
190
|
|
|
219
191
|
|
|
@@ -227,21 +199,24 @@ export type DeniedValuesAttribute = DeniedValuesAttribute$instance;
|
|
|
227
199
|
export interface DisplayAttribute$instance extends Attribute {
|
|
228
200
|
AutoGenerateField: boolean;
|
|
229
201
|
AutoGenerateFilter: boolean;
|
|
230
|
-
Description: string;
|
|
231
|
-
|
|
232
|
-
|
|
202
|
+
get Description(): string | undefined;
|
|
203
|
+
set Description(value: string | undefined);
|
|
204
|
+
get GroupName(): string | undefined;
|
|
205
|
+
set GroupName(value: string | undefined);
|
|
206
|
+
get Name(): string | undefined;
|
|
207
|
+
set Name(value: string | undefined);
|
|
233
208
|
Order: int;
|
|
234
209
|
get Prompt(): string | undefined;
|
|
235
|
-
set Prompt(value: string);
|
|
210
|
+
set Prompt(value: string | undefined);
|
|
236
211
|
get ResourceType(): Type | undefined;
|
|
237
|
-
set ResourceType(value: Type);
|
|
212
|
+
set ResourceType(value: Type | undefined);
|
|
238
213
|
get ShortName(): string | undefined;
|
|
239
|
-
set ShortName(value: string);
|
|
214
|
+
set ShortName(value: string | undefined);
|
|
240
215
|
GetAutoGenerateField(): Nullable_1<System_Internal.Boolean>;
|
|
241
216
|
GetAutoGenerateFilter(): Nullable_1<System_Internal.Boolean>;
|
|
242
217
|
GetDescription(): string | undefined;
|
|
243
218
|
GetGroupName(): string | undefined;
|
|
244
|
-
GetName(): string;
|
|
219
|
+
GetName(): string | undefined;
|
|
245
220
|
GetOrder(): Nullable_1<System_Internal.Int32>;
|
|
246
221
|
GetPrompt(): string | undefined;
|
|
247
222
|
GetShortName(): string | undefined;
|
|
@@ -275,12 +250,12 @@ export interface DisplayFormatAttribute$instance extends Attribute {
|
|
|
275
250
|
ApplyFormatInEditMode: boolean;
|
|
276
251
|
ConvertEmptyStringToNull: boolean;
|
|
277
252
|
get DataFormatString(): string | undefined;
|
|
278
|
-
set DataFormatString(value: string);
|
|
253
|
+
set DataFormatString(value: string | undefined);
|
|
279
254
|
HtmlEncode: boolean;
|
|
280
255
|
get NullDisplayText(): string | undefined;
|
|
281
|
-
set NullDisplayText(value: string);
|
|
256
|
+
set NullDisplayText(value: string | undefined);
|
|
282
257
|
get NullDisplayTextResourceType(): Type | undefined;
|
|
283
|
-
set NullDisplayTextResourceType(value: Type);
|
|
258
|
+
set NullDisplayTextResourceType(value: Type | undefined);
|
|
284
259
|
GetNullDisplayText(): string | undefined;
|
|
285
260
|
}
|
|
286
261
|
|
|
@@ -305,13 +280,9 @@ export const EditableAttribute: {
|
|
|
305
280
|
|
|
306
281
|
export type EditableAttribute = EditableAttribute$instance;
|
|
307
282
|
|
|
308
|
-
export
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
export interface EmailAddressAttribute$instance extends EmailAddressAttribute$protected, DataTypeAttribute {
|
|
314
|
-
IsValid2(value: unknown): boolean;
|
|
283
|
+
export interface EmailAddressAttribute$instance extends DataTypeAttribute {
|
|
284
|
+
IsValid(value: unknown): boolean;
|
|
285
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
315
286
|
}
|
|
316
287
|
|
|
317
288
|
|
|
@@ -322,14 +293,10 @@ export const EmailAddressAttribute: {
|
|
|
322
293
|
|
|
323
294
|
export type EmailAddressAttribute = EmailAddressAttribute$instance;
|
|
324
295
|
|
|
325
|
-
export
|
|
326
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
export interface EnumDataTypeAttribute$instance extends EnumDataTypeAttribute$protected, DataTypeAttribute {
|
|
296
|
+
export interface EnumDataTypeAttribute$instance extends DataTypeAttribute {
|
|
331
297
|
readonly EnumType: Type;
|
|
332
|
-
|
|
298
|
+
IsValid(value: unknown): boolean;
|
|
299
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
333
300
|
}
|
|
334
301
|
|
|
335
302
|
|
|
@@ -340,15 +307,11 @@ export const EnumDataTypeAttribute: {
|
|
|
340
307
|
|
|
341
308
|
export type EnumDataTypeAttribute = EnumDataTypeAttribute$instance;
|
|
342
309
|
|
|
343
|
-
export
|
|
344
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
export interface FileExtensionsAttribute$instance extends FileExtensionsAttribute$protected, DataTypeAttribute {
|
|
310
|
+
export interface FileExtensionsAttribute$instance extends DataTypeAttribute {
|
|
349
311
|
Extensions: string;
|
|
350
312
|
FormatErrorMessage(name: string): string;
|
|
351
|
-
|
|
313
|
+
IsValid(value: unknown): boolean;
|
|
314
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
352
315
|
}
|
|
353
316
|
|
|
354
317
|
|
|
@@ -388,16 +351,12 @@ export const KeyAttribute: {
|
|
|
388
351
|
|
|
389
352
|
export type KeyAttribute = KeyAttribute$instance;
|
|
390
353
|
|
|
391
|
-
export
|
|
392
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
export interface LengthAttribute$instance extends LengthAttribute$protected, ValidationAttribute {
|
|
354
|
+
export interface LengthAttribute$instance extends ValidationAttribute {
|
|
397
355
|
readonly MaximumLength: int;
|
|
398
356
|
readonly MinimumLength: int;
|
|
399
357
|
FormatErrorMessage(name: string): string;
|
|
400
|
-
|
|
358
|
+
IsValid(value: unknown): boolean;
|
|
359
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
401
360
|
}
|
|
402
361
|
|
|
403
362
|
|
|
@@ -408,15 +367,11 @@ export const LengthAttribute: {
|
|
|
408
367
|
|
|
409
368
|
export type LengthAttribute = LengthAttribute$instance;
|
|
410
369
|
|
|
411
|
-
export
|
|
412
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
export interface MaxLengthAttribute$instance extends MaxLengthAttribute$protected, ValidationAttribute {
|
|
370
|
+
export interface MaxLengthAttribute$instance extends ValidationAttribute {
|
|
417
371
|
readonly Length: int;
|
|
418
372
|
FormatErrorMessage(name: string): string;
|
|
419
|
-
|
|
373
|
+
IsValid(value: unknown): boolean;
|
|
374
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
420
375
|
}
|
|
421
376
|
|
|
422
377
|
|
|
@@ -440,15 +395,11 @@ export const MetadataTypeAttribute: {
|
|
|
440
395
|
|
|
441
396
|
export type MetadataTypeAttribute = MetadataTypeAttribute$instance;
|
|
442
397
|
|
|
443
|
-
export
|
|
444
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
export interface MinLengthAttribute$instance extends MinLengthAttribute$protected, ValidationAttribute {
|
|
398
|
+
export interface MinLengthAttribute$instance extends ValidationAttribute {
|
|
449
399
|
readonly Length: int;
|
|
450
400
|
FormatErrorMessage(name: string): string;
|
|
451
|
-
|
|
401
|
+
IsValid(value: unknown): boolean;
|
|
402
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
452
403
|
}
|
|
453
404
|
|
|
454
405
|
|
|
@@ -459,13 +410,9 @@ export const MinLengthAttribute: {
|
|
|
459
410
|
|
|
460
411
|
export type MinLengthAttribute = MinLengthAttribute$instance;
|
|
461
412
|
|
|
462
|
-
export
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
export interface PhoneAttribute$instance extends PhoneAttribute$protected, DataTypeAttribute {
|
|
468
|
-
IsValid2(value: unknown): boolean;
|
|
413
|
+
export interface PhoneAttribute$instance extends DataTypeAttribute {
|
|
414
|
+
IsValid(value: unknown): boolean;
|
|
415
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
469
416
|
}
|
|
470
417
|
|
|
471
418
|
|
|
@@ -476,12 +423,7 @@ export const PhoneAttribute: {
|
|
|
476
423
|
|
|
477
424
|
export type PhoneAttribute = PhoneAttribute$instance;
|
|
478
425
|
|
|
479
|
-
export
|
|
480
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
export interface RangeAttribute$instance extends RangeAttribute$protected, ValidationAttribute {
|
|
426
|
+
export interface RangeAttribute$instance extends ValidationAttribute {
|
|
485
427
|
ConvertValueInInvariantCulture: boolean;
|
|
486
428
|
Maximum: unknown;
|
|
487
429
|
MaximumIsExclusive: boolean;
|
|
@@ -490,7 +432,8 @@ export interface RangeAttribute$instance extends RangeAttribute$protected, Valid
|
|
|
490
432
|
readonly OperandType: Type;
|
|
491
433
|
ParseLimitsInInvariantCulture: boolean;
|
|
492
434
|
FormatErrorMessage(name: string): string;
|
|
493
|
-
|
|
435
|
+
IsValid(value: unknown): boolean;
|
|
436
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
494
437
|
}
|
|
495
438
|
|
|
496
439
|
|
|
@@ -503,17 +446,13 @@ export const RangeAttribute: {
|
|
|
503
446
|
|
|
504
447
|
export type RangeAttribute = RangeAttribute$instance;
|
|
505
448
|
|
|
506
|
-
export
|
|
507
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
export interface RegularExpressionAttribute$instance extends RegularExpressionAttribute$protected, ValidationAttribute {
|
|
449
|
+
export interface RegularExpressionAttribute$instance extends ValidationAttribute {
|
|
512
450
|
readonly MatchTimeout: TimeSpan;
|
|
513
451
|
MatchTimeoutInMilliseconds: int;
|
|
514
452
|
readonly Pattern: string;
|
|
515
453
|
FormatErrorMessage(name: string): string;
|
|
516
|
-
|
|
454
|
+
IsValid(value: unknown): boolean;
|
|
455
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
517
456
|
}
|
|
518
457
|
|
|
519
458
|
|
|
@@ -524,14 +463,10 @@ export const RegularExpressionAttribute: {
|
|
|
524
463
|
|
|
525
464
|
export type RegularExpressionAttribute = RegularExpressionAttribute$instance;
|
|
526
465
|
|
|
527
|
-
export
|
|
528
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
export interface RequiredAttribute$instance extends RequiredAttribute$protected, ValidationAttribute {
|
|
466
|
+
export interface RequiredAttribute$instance extends ValidationAttribute {
|
|
533
467
|
AllowEmptyStrings: boolean;
|
|
534
|
-
|
|
468
|
+
IsValid(value: unknown): boolean;
|
|
469
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
535
470
|
}
|
|
536
471
|
|
|
537
472
|
|
|
@@ -554,16 +489,12 @@ export const ScaffoldColumnAttribute: {
|
|
|
554
489
|
|
|
555
490
|
export type ScaffoldColumnAttribute = ScaffoldColumnAttribute$instance;
|
|
556
491
|
|
|
557
|
-
export
|
|
558
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
export interface StringLengthAttribute$instance extends StringLengthAttribute$protected, ValidationAttribute {
|
|
492
|
+
export interface StringLengthAttribute$instance extends ValidationAttribute {
|
|
563
493
|
readonly MaximumLength: int;
|
|
564
494
|
MinimumLength: int;
|
|
565
495
|
FormatErrorMessage(name: string): string;
|
|
566
|
-
|
|
496
|
+
IsValid(value: unknown): boolean;
|
|
497
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
567
498
|
}
|
|
568
499
|
|
|
569
500
|
|
|
@@ -603,13 +534,9 @@ export const UIHintAttribute: {
|
|
|
603
534
|
|
|
604
535
|
export type UIHintAttribute = UIHintAttribute$instance;
|
|
605
536
|
|
|
606
|
-
export
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
export interface UrlAttribute$instance extends UrlAttribute$protected, DataTypeAttribute {
|
|
612
|
-
IsValid2(value: unknown): boolean;
|
|
537
|
+
export interface UrlAttribute$instance extends DataTypeAttribute {
|
|
538
|
+
IsValid(value: unknown): boolean;
|
|
539
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
613
540
|
}
|
|
614
541
|
|
|
615
542
|
|
|
@@ -620,31 +547,24 @@ export const UrlAttribute: {
|
|
|
620
547
|
|
|
621
548
|
export type UrlAttribute = UrlAttribute$instance;
|
|
622
549
|
|
|
623
|
-
export
|
|
624
|
-
protected IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
export interface ValidationAttribute$instance extends ValidationAttribute$protected, Attribute {
|
|
550
|
+
export interface ValidationAttribute$instance extends Attribute {
|
|
629
551
|
get ErrorMessage(): string | undefined;
|
|
630
|
-
set ErrorMessage(value: string);
|
|
552
|
+
set ErrorMessage(value: string | undefined);
|
|
631
553
|
get ErrorMessageResourceName(): string | undefined;
|
|
632
|
-
set ErrorMessageResourceName(value: string);
|
|
554
|
+
set ErrorMessageResourceName(value: string | undefined);
|
|
633
555
|
get ErrorMessageResourceType(): Type | undefined;
|
|
634
|
-
set ErrorMessageResourceType(value: Type);
|
|
556
|
+
set ErrorMessageResourceType(value: Type | undefined);
|
|
635
557
|
readonly RequiresValidationContext: boolean;
|
|
636
558
|
FormatErrorMessage(name: string): string;
|
|
637
559
|
GetValidationResult(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
638
560
|
IsValid(value: unknown): boolean;
|
|
561
|
+
IsValid(value: unknown, validationContext: ValidationContext): ValidationResult | undefined;
|
|
639
562
|
Validate(value: unknown, name: string): void;
|
|
640
563
|
Validate(value: unknown, validationContext: ValidationContext): void;
|
|
641
564
|
}
|
|
642
565
|
|
|
643
566
|
|
|
644
|
-
export const ValidationAttribute: {
|
|
645
|
-
new(): ValidationAttribute;
|
|
646
|
-
new(errorMessage: string): ValidationAttribute;
|
|
647
|
-
new(errorMessageAccessor: Func_1<System_Internal.String>): ValidationAttribute;
|
|
567
|
+
export const ValidationAttribute: (abstract new() => ValidationAttribute) & (abstract new(errorMessage: string) => ValidationAttribute) & (abstract new(errorMessageAccessor: Func_1<System_Internal.String>) => ValidationAttribute) & {
|
|
648
568
|
};
|
|
649
569
|
|
|
650
570
|
|
|
@@ -653,7 +573,8 @@ export type ValidationAttribute = ValidationAttribute$instance;
|
|
|
653
573
|
export interface ValidationContext$instance {
|
|
654
574
|
DisplayName: string;
|
|
655
575
|
readonly Items: IDictionary_2<unknown, unknown | undefined>;
|
|
656
|
-
MemberName: string;
|
|
576
|
+
get MemberName(): string | undefined;
|
|
577
|
+
set MemberName(value: string | undefined);
|
|
657
578
|
readonly ObjectInstance: unknown;
|
|
658
579
|
readonly ObjectType: Type;
|
|
659
580
|
GetService(serviceType: Type): unknown | undefined;
|
|
@@ -681,7 +602,7 @@ export type ValidationContext = ValidationContext$instance & __ValidationContext
|
|
|
681
602
|
export interface ValidationException$instance extends Exception {
|
|
682
603
|
readonly ValidationAttribute: ValidationAttribute | undefined;
|
|
683
604
|
readonly ValidationResult: ValidationResult;
|
|
684
|
-
readonly Value: unknown;
|
|
605
|
+
readonly Value: unknown | undefined;
|
|
685
606
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
686
607
|
}
|
|
687
608
|
|
|
@@ -692,7 +613,6 @@ export const ValidationException: {
|
|
|
692
613
|
new(): ValidationException;
|
|
693
614
|
new(message: string): ValidationException;
|
|
694
615
|
new(message: string, innerException: Exception): ValidationException;
|
|
695
|
-
new(info: SerializationInfo, context: StreamingContext): ValidationException;
|
|
696
616
|
};
|
|
697
617
|
|
|
698
618
|
|
|
@@ -705,7 +625,7 @@ export type ValidationException = ValidationException$instance & __ValidationExc
|
|
|
705
625
|
|
|
706
626
|
export interface ValidationResult$instance {
|
|
707
627
|
get ErrorMessage(): string | undefined;
|
|
708
|
-
set ErrorMessage(value: string);
|
|
628
|
+
set ErrorMessage(value: string | undefined);
|
|
709
629
|
readonly MemberNames: IEnumerable_1<System_Internal.String>;
|
|
710
630
|
ToString(): string;
|
|
711
631
|
}
|
|
@@ -714,7 +634,6 @@ export interface ValidationResult$instance {
|
|
|
714
634
|
export const ValidationResult: {
|
|
715
635
|
new(errorMessage: string): ValidationResult;
|
|
716
636
|
new(errorMessage: string, memberNames: IEnumerable_1<System_Internal.String>): ValidationResult;
|
|
717
|
-
new(validationResult: ValidationResult): ValidationResult;
|
|
718
637
|
readonly Success: ValidationResult | undefined;
|
|
719
638
|
};
|
|
720
639
|
|
|
@@ -17,9 +17,10 @@ export enum DatabaseGeneratedOption {
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
export interface ColumnAttribute$instance extends Attribute {
|
|
20
|
-
readonly Name: string;
|
|
20
|
+
readonly Name: string | undefined;
|
|
21
21
|
Order: int;
|
|
22
|
-
TypeName: string;
|
|
22
|
+
get TypeName(): string | undefined;
|
|
23
|
+
set TypeName(value: string | undefined);
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
|
|
@@ -92,7 +93,7 @@ export type NotMappedAttribute = NotMappedAttribute$instance;
|
|
|
92
93
|
export interface TableAttribute$instance extends Attribute {
|
|
93
94
|
readonly Name: string;
|
|
94
95
|
get Schema(): string | undefined;
|
|
95
|
-
set Schema(value: string);
|
|
96
|
+
set Schema(value: string | undefined);
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
|