@tsonic/dotnet 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +11 -11
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +994 -1006
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +3 -3
- package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
- package/System.Collections/internal/index.d.ts +26 -28
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +68 -60
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +99 -99
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +63 -65
- package/System.ComponentModel/internal/index.d.ts +428 -430
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +72 -72
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
- package/System.Data/internal/index.d.ts +168 -168
- package/System.Data.Common/internal/index.d.ts +48 -48
- package/System.Data.SqlTypes/internal/index.d.ts +21 -21
- package/System.Diagnostics/internal/index.d.ts +262 -262
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
- package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
- package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
- package/System.Drawing/internal/index.d.ts +77 -77
- package/System.Dynamic/internal/index.d.ts +27 -27
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +3 -3
- package/System.Globalization/internal/index.d.ts +18 -18
- package/System.IO/internal/index.d.ts +107 -107
- package/System.IO.Compression/internal/index.d.ts +25 -25
- package/System.IO.Enumeration/internal/index.d.ts +5 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +180 -180
- package/System.Linq.Expressions/internal/index.d.ts +169 -169
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +151 -153
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +58 -58
- package/System.Net.Http.Headers/internal/index.d.ts +48 -48
- package/System.Net.Http.Json/internal/index.d.ts +58 -58
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +72 -72
- package/System.Net.Mime/internal/index.d.ts +2 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Security/internal/index.d.ts +52 -52
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
- package/System.Net.Sockets/internal/index.d.ts +41 -41
- package/System.Net.WebSockets/internal/index.d.ts +34 -34
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +91 -93
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +219 -219
- package/System.Reflection.Emit/internal/index.d.ts +118 -118
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +14 -14
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
- package/System.Resources/internal/index.d.ts +24 -24
- package/System.Runtime/internal/index.d.ts +5 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
- package/System.Runtime.Loader/internal/index.d.ts +6 -6
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +77 -79
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
- package/System.Runtime.Versioning/internal/index.d.ts +9 -9
- package/System.Security/internal/index.d.ts +49 -49
- package/System.Security.AccessControl/internal/index.d.ts +31 -31
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
- package/System.Security.Claims/internal/index.d.ts +23 -25
- package/System.Security.Cryptography/internal/index.d.ts +189 -189
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +9 -11
- package/System.Text/internal/index.d.ts +51 -51
- package/System.Text.Json/internal/index.d.ts +83 -83
- package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
- package/System.Text.Json.Schema/internal/index.d.ts +5 -5
- package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +87 -87
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +84 -94
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +3 -3
- package/System.Transactions/internal/index.d.ts +20 -20
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +215 -215
- package/System.Xml.Linq/internal/index.d.ts +51 -51
- package/System.Xml.Resolvers/internal/index.d.ts +4 -4
- package/System.Xml.Schema/internal/index.d.ts +105 -105
- package/System.Xml.Serialization/internal/index.d.ts +136 -136
- package/System.Xml.XPath/internal/index.d.ts +19 -19
- package/System.Xml.Xsl/internal/index.d.ts +41 -41
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ export interface IValidatableObject$instance {
|
|
|
45
45
|
export type IValidatableObject = IValidatableObject$instance;
|
|
46
46
|
|
|
47
47
|
export interface AllowedValuesAttribute$instance extends ValidationAttribute {
|
|
48
|
-
readonly values: unknown[];
|
|
48
|
+
readonly values: (unknown | undefined)[];
|
|
49
49
|
isValid(value: unknown): boolean;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -58,9 +58,9 @@ export const AllowedValuesAttribute: {
|
|
|
58
58
|
export type AllowedValuesAttribute = AllowedValuesAttribute$instance;
|
|
59
59
|
|
|
60
60
|
export interface AssociatedMetadataTypeTypeDescriptionProvider$instance extends TypeDescriptionProvider {
|
|
61
|
-
getTypeDescriptor(objectType: Type, instance: unknown): ICustomTypeDescriptor;
|
|
62
|
-
getTypeDescriptor(objectType: Type): ICustomTypeDescriptor;
|
|
63
|
-
getTypeDescriptor(instance: unknown): ICustomTypeDescriptor;
|
|
61
|
+
getTypeDescriptor(objectType: Type, instance: unknown | undefined): ICustomTypeDescriptor;
|
|
62
|
+
getTypeDescriptor(objectType: Type): ICustomTypeDescriptor | undefined;
|
|
63
|
+
getTypeDescriptor(instance: unknown): ICustomTypeDescriptor | undefined;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
|
|
@@ -103,7 +103,7 @@ export type Base64StringAttribute = Base64StringAttribute$instance;
|
|
|
103
103
|
|
|
104
104
|
export interface CompareAttribute$instance extends ValidationAttribute {
|
|
105
105
|
readonly otherProperty: string;
|
|
106
|
-
readonly otherPropertyDisplayName: string;
|
|
106
|
+
readonly otherPropertyDisplayName: string | undefined;
|
|
107
107
|
readonly requiresValidationContext: boolean;
|
|
108
108
|
formatErrorMessage(name: string): string;
|
|
109
109
|
}
|
|
@@ -156,24 +156,24 @@ export const CustomValidationAttribute: {
|
|
|
156
156
|
export type CustomValidationAttribute = CustomValidationAttribute$instance;
|
|
157
157
|
|
|
158
158
|
export interface DataTypeAttribute$instance extends ValidationAttribute {
|
|
159
|
-
readonly customDataType: string;
|
|
159
|
+
readonly customDataType: string | undefined;
|
|
160
160
|
readonly dataType: DataType;
|
|
161
|
-
readonly displayFormat: DisplayFormatAttribute;
|
|
162
|
-
getDataTypeName(): string;
|
|
163
|
-
isValid(value: unknown): boolean;
|
|
161
|
+
readonly displayFormat: DisplayFormatAttribute | undefined;
|
|
162
|
+
getDataTypeName(): string | undefined;
|
|
163
|
+
isValid(value: unknown | undefined): boolean;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
export const DataTypeAttribute: {
|
|
168
168
|
new(dataType: DataType): DataTypeAttribute;
|
|
169
|
-
new(customDataType: string): DataTypeAttribute;
|
|
169
|
+
new(customDataType: string | undefined): DataTypeAttribute;
|
|
170
170
|
};
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
export type DataTypeAttribute = DataTypeAttribute$instance;
|
|
174
174
|
|
|
175
175
|
export interface DeniedValuesAttribute$instance extends ValidationAttribute {
|
|
176
|
-
readonly values: unknown[];
|
|
176
|
+
readonly values: (unknown | undefined)[];
|
|
177
177
|
isValid(value: unknown): boolean;
|
|
178
178
|
}
|
|
179
179
|
|
|
@@ -192,17 +192,17 @@ export interface DisplayAttribute$instance extends Attribute {
|
|
|
192
192
|
groupName: string;
|
|
193
193
|
name: string;
|
|
194
194
|
order: int;
|
|
195
|
-
prompt: string;
|
|
196
|
-
resourceType: Type;
|
|
197
|
-
shortName: string;
|
|
195
|
+
prompt: string | undefined;
|
|
196
|
+
resourceType: Type | undefined;
|
|
197
|
+
shortName: string | undefined;
|
|
198
198
|
getAutoGenerateField(): Nullable_1<System_Internal.Boolean>;
|
|
199
199
|
getAutoGenerateFilter(): Nullable_1<System_Internal.Boolean>;
|
|
200
|
-
getDescription(): string;
|
|
201
|
-
getGroupName(): string;
|
|
200
|
+
getDescription(): string | undefined;
|
|
201
|
+
getGroupName(): string | undefined;
|
|
202
202
|
getName(): string;
|
|
203
203
|
getOrder(): Nullable_1<System_Internal.Int32>;
|
|
204
|
-
getPrompt(): string;
|
|
205
|
-
getShortName(): string;
|
|
204
|
+
getPrompt(): string | undefined;
|
|
205
|
+
getShortName(): string | undefined;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
|
|
@@ -215,15 +215,15 @@ export type DisplayAttribute = DisplayAttribute$instance;
|
|
|
215
215
|
|
|
216
216
|
export interface DisplayColumnAttribute$instance extends Attribute {
|
|
217
217
|
readonly displayColumn: string;
|
|
218
|
-
readonly sortColumn: string;
|
|
218
|
+
readonly sortColumn: string | undefined;
|
|
219
219
|
readonly sortDescending: boolean;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
export const DisplayColumnAttribute: {
|
|
224
224
|
new(displayColumn: string): DisplayColumnAttribute;
|
|
225
|
-
new(displayColumn: string, sortColumn: string): DisplayColumnAttribute;
|
|
226
|
-
new(displayColumn: string, sortColumn: string, sortDescending: boolean): DisplayColumnAttribute;
|
|
225
|
+
new(displayColumn: string, sortColumn: string | undefined): DisplayColumnAttribute;
|
|
226
|
+
new(displayColumn: string, sortColumn: string | undefined, sortDescending: boolean): DisplayColumnAttribute;
|
|
227
227
|
};
|
|
228
228
|
|
|
229
229
|
|
|
@@ -232,11 +232,11 @@ export type DisplayColumnAttribute = DisplayColumnAttribute$instance;
|
|
|
232
232
|
export interface DisplayFormatAttribute$instance extends Attribute {
|
|
233
233
|
applyFormatInEditMode: boolean;
|
|
234
234
|
convertEmptyStringToNull: boolean;
|
|
235
|
-
dataFormatString: string;
|
|
235
|
+
dataFormatString: string | undefined;
|
|
236
236
|
htmlEncode: boolean;
|
|
237
|
-
nullDisplayText: string;
|
|
238
|
-
nullDisplayTextResourceType: Type;
|
|
239
|
-
getNullDisplayText(): string;
|
|
237
|
+
nullDisplayText: string | undefined;
|
|
238
|
+
nullDisplayTextResourceType: Type | undefined;
|
|
239
|
+
getNullDisplayText(): string | undefined;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
|
|
@@ -300,9 +300,9 @@ export const FileExtensionsAttribute: {
|
|
|
300
300
|
export type FileExtensionsAttribute = FileExtensionsAttribute$instance;
|
|
301
301
|
|
|
302
302
|
export interface FilterUIHintAttribute$instance extends Attribute {
|
|
303
|
-
readonly controlParameters: IDictionary_2<System_Internal.String, unknown>;
|
|
303
|
+
readonly controlParameters: IDictionary_2<System_Internal.String, unknown | undefined>;
|
|
304
304
|
readonly filterUIHint: string;
|
|
305
|
-
readonly presentationLayer: string;
|
|
305
|
+
readonly presentationLayer: string | undefined;
|
|
306
306
|
equals(obj: unknown): boolean;
|
|
307
307
|
getHashCode(): int;
|
|
308
308
|
}
|
|
@@ -310,8 +310,8 @@ export interface FilterUIHintAttribute$instance extends Attribute {
|
|
|
310
310
|
|
|
311
311
|
export const FilterUIHintAttribute: {
|
|
312
312
|
new(filterUIHint: string): FilterUIHintAttribute;
|
|
313
|
-
new(filterUIHint: string, presentationLayer: string): FilterUIHintAttribute;
|
|
314
|
-
new(filterUIHint: string, presentationLayer: string, controlParameters: unknown[]): FilterUIHintAttribute;
|
|
313
|
+
new(filterUIHint: string, presentationLayer: string | undefined): FilterUIHintAttribute;
|
|
314
|
+
new(filterUIHint: string, presentationLayer: string | undefined, controlParameters: unknown[]): FilterUIHintAttribute;
|
|
315
315
|
};
|
|
316
316
|
|
|
317
317
|
|
|
@@ -331,7 +331,7 @@ export type KeyAttribute = KeyAttribute$instance;
|
|
|
331
331
|
export interface LengthAttribute$instance extends ValidationAttribute {
|
|
332
332
|
readonly maximumLength: int;
|
|
333
333
|
readonly minimumLength: int;
|
|
334
|
-
formatErrorMessage(name: string): string;
|
|
334
|
+
formatErrorMessage(name: string): string | undefined;
|
|
335
335
|
isValid(value: unknown): boolean;
|
|
336
336
|
}
|
|
337
337
|
|
|
@@ -372,7 +372,7 @@ export type MetadataTypeAttribute = MetadataTypeAttribute$instance;
|
|
|
372
372
|
|
|
373
373
|
export interface MinLengthAttribute$instance extends ValidationAttribute {
|
|
374
374
|
readonly length: int;
|
|
375
|
-
formatErrorMessage(name: string): string;
|
|
375
|
+
formatErrorMessage(name: string): string | undefined;
|
|
376
376
|
isValid(value: unknown): boolean;
|
|
377
377
|
}
|
|
378
378
|
|
|
@@ -462,7 +462,7 @@ export type ScaffoldColumnAttribute = ScaffoldColumnAttribute$instance;
|
|
|
462
462
|
export interface StringLengthAttribute$instance extends ValidationAttribute {
|
|
463
463
|
readonly maximumLength: int;
|
|
464
464
|
minimumLength: int;
|
|
465
|
-
formatErrorMessage(name: string): string;
|
|
465
|
+
formatErrorMessage(name: string): string | undefined;
|
|
466
466
|
isValid(value: unknown): boolean;
|
|
467
467
|
}
|
|
468
468
|
|
|
@@ -486,8 +486,8 @@ export const TimestampAttribute: {
|
|
|
486
486
|
export type TimestampAttribute = TimestampAttribute$instance;
|
|
487
487
|
|
|
488
488
|
export interface UIHintAttribute$instance extends Attribute {
|
|
489
|
-
readonly controlParameters: IDictionary_2<System_Internal.String, unknown>;
|
|
490
|
-
readonly presentationLayer: string;
|
|
489
|
+
readonly controlParameters: IDictionary_2<System_Internal.String, unknown | undefined>;
|
|
490
|
+
readonly presentationLayer: string | undefined;
|
|
491
491
|
readonly uiHint: string;
|
|
492
492
|
equals(obj: unknown): boolean;
|
|
493
493
|
getHashCode(): int;
|
|
@@ -496,7 +496,7 @@ export interface UIHintAttribute$instance extends Attribute {
|
|
|
496
496
|
|
|
497
497
|
export const UIHintAttribute: {
|
|
498
498
|
new(uiHint: string): UIHintAttribute;
|
|
499
|
-
new(uiHint: string, presentationLayer: string): UIHintAttribute;
|
|
499
|
+
new(uiHint: string, presentationLayer: string | undefined): UIHintAttribute;
|
|
500
500
|
new(uiHint: string, presentationLayer: string, controlParameters: unknown[]): UIHintAttribute;
|
|
501
501
|
};
|
|
502
502
|
|
|
@@ -516,15 +516,15 @@ export const UrlAttribute: {
|
|
|
516
516
|
export type UrlAttribute = UrlAttribute$instance;
|
|
517
517
|
|
|
518
518
|
export interface ValidationAttribute$instance extends Attribute {
|
|
519
|
-
errorMessage: string;
|
|
520
|
-
errorMessageResourceName: string;
|
|
521
|
-
errorMessageResourceType: Type;
|
|
519
|
+
errorMessage: string | undefined;
|
|
520
|
+
errorMessageResourceName: string | undefined;
|
|
521
|
+
errorMessageResourceType: Type | undefined;
|
|
522
522
|
readonly requiresValidationContext: boolean;
|
|
523
|
-
formatErrorMessage(name: string): string;
|
|
524
|
-
getValidationResult(value: unknown, validationContext: ValidationContext): ValidationResult;
|
|
525
|
-
isValid(value: unknown): boolean;
|
|
526
|
-
validate(value: unknown, name: string): void;
|
|
527
|
-
validate(value: unknown, validationContext: ValidationContext): void;
|
|
523
|
+
formatErrorMessage(name: string | undefined): string | undefined;
|
|
524
|
+
getValidationResult(value: unknown | undefined, validationContext: ValidationContext): ValidationResult | undefined;
|
|
525
|
+
isValid(value: unknown | undefined): boolean;
|
|
526
|
+
validate(value: unknown | undefined, name: string | undefined): void;
|
|
527
|
+
validate(value: unknown | undefined, validationContext: ValidationContext | undefined): void;
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
|
|
@@ -536,20 +536,20 @@ export type ValidationAttribute = ValidationAttribute$instance;
|
|
|
536
536
|
|
|
537
537
|
export interface ValidationContext$instance {
|
|
538
538
|
displayName: string;
|
|
539
|
-
readonly items: IDictionary_2<unknown, unknown>;
|
|
539
|
+
readonly items: IDictionary_2<unknown, unknown | undefined>;
|
|
540
540
|
memberName: string;
|
|
541
541
|
readonly objectInstance: unknown;
|
|
542
542
|
readonly objectType: Type;
|
|
543
|
-
getService(serviceType: Type): unknown;
|
|
544
|
-
initializeServiceProvider(serviceProvider: Func_2<Type, unknown>): void;
|
|
543
|
+
getService(serviceType: Type): unknown | undefined;
|
|
544
|
+
initializeServiceProvider(serviceProvider: Func_2<Type, unknown | undefined>): void;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
|
|
548
548
|
export const ValidationContext: {
|
|
549
549
|
new(instance: unknown): ValidationContext;
|
|
550
|
-
new(instance: unknown, items: IDictionary_2<unknown, unknown>): ValidationContext;
|
|
551
|
-
new(instance: unknown, serviceProvider: IServiceProvider, items: IDictionary_2<unknown, unknown>): ValidationContext;
|
|
552
|
-
new(instance: unknown, displayName: string, serviceProvider: IServiceProvider, items: IDictionary_2<unknown, unknown>): ValidationContext;
|
|
550
|
+
new(instance: unknown, items: IDictionary_2<unknown, unknown | undefined> | undefined): ValidationContext;
|
|
551
|
+
new(instance: unknown, serviceProvider: IServiceProvider | undefined, items: IDictionary_2<unknown, unknown | undefined> | undefined): ValidationContext;
|
|
552
|
+
new(instance: unknown, displayName: string, serviceProvider: IServiceProvider | undefined, items: IDictionary_2<unknown, unknown | undefined> | undefined): ValidationContext;
|
|
553
553
|
};
|
|
554
554
|
|
|
555
555
|
|
|
@@ -563,19 +563,19 @@ export type ValidationContext = ValidationContext$instance & __ValidationContext
|
|
|
563
563
|
|
|
564
564
|
|
|
565
565
|
export interface ValidationException$instance extends Exception {
|
|
566
|
-
readonly validationAttribute: ValidationAttribute;
|
|
566
|
+
readonly validationAttribute: ValidationAttribute | undefined;
|
|
567
567
|
readonly validationResult: ValidationResult;
|
|
568
568
|
readonly value: unknown;
|
|
569
|
-
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
569
|
+
getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
|
|
573
573
|
export const ValidationException: {
|
|
574
|
-
new(validationResult: ValidationResult, validatingAttribute: ValidationAttribute, value: unknown): ValidationException;
|
|
575
|
-
new(errorMessage: string, validatingAttribute: ValidationAttribute, value: unknown): ValidationException;
|
|
574
|
+
new(validationResult: ValidationResult, validatingAttribute: ValidationAttribute | undefined, value: unknown | undefined): ValidationException;
|
|
575
|
+
new(errorMessage: string | undefined, validatingAttribute: ValidationAttribute | undefined, value: unknown | undefined): ValidationException;
|
|
576
576
|
new(): ValidationException;
|
|
577
|
-
new(message: string): ValidationException;
|
|
578
|
-
new(message: string, innerException: Exception): ValidationException;
|
|
577
|
+
new(message: string | undefined): ValidationException;
|
|
578
|
+
new(message: string | undefined, innerException: Exception | undefined): ValidationException;
|
|
579
579
|
};
|
|
580
580
|
|
|
581
581
|
|
|
@@ -587,30 +587,30 @@ export type ValidationException = ValidationException$instance & __ValidationExc
|
|
|
587
587
|
|
|
588
588
|
|
|
589
589
|
export interface ValidationResult$instance {
|
|
590
|
-
errorMessage: string;
|
|
590
|
+
errorMessage: string | undefined;
|
|
591
591
|
readonly memberNames: IEnumerable_1<System_Internal.String>;
|
|
592
|
-
toString(): string;
|
|
592
|
+
toString(): string | undefined;
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
|
|
596
596
|
export const ValidationResult: {
|
|
597
|
-
new(errorMessage: string): ValidationResult;
|
|
598
|
-
new(errorMessage: string, memberNames: IEnumerable_1<System_Internal.String>): ValidationResult;
|
|
599
|
-
readonly success: ValidationResult;
|
|
597
|
+
new(errorMessage: string | undefined): ValidationResult;
|
|
598
|
+
new(errorMessage: string | undefined, memberNames: IEnumerable_1<System_Internal.String> | undefined): ValidationResult;
|
|
599
|
+
readonly success: ValidationResult | undefined;
|
|
600
600
|
};
|
|
601
601
|
|
|
602
602
|
|
|
603
603
|
export type ValidationResult = ValidationResult$instance;
|
|
604
604
|
|
|
605
605
|
export abstract class Validator$instance {
|
|
606
|
-
static tryValidateObject(instance: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult
|
|
607
|
-
static tryValidateObject(instance: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>): boolean;
|
|
608
|
-
static tryValidateProperty(value: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>): boolean;
|
|
609
|
-
static tryValidateValue(value: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult
|
|
606
|
+
static tryValidateObject(instance: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult> | undefined, validateAllProperties: boolean): boolean;
|
|
607
|
+
static tryValidateObject(instance: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult> | undefined): boolean;
|
|
608
|
+
static tryValidateProperty(value: unknown | undefined, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult> | undefined): boolean;
|
|
609
|
+
static tryValidateValue(value: unknown | undefined, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult> | undefined, validationAttributes: IEnumerable_1<ValidationAttribute>): boolean;
|
|
610
610
|
static validateObject(instance: unknown, validationContext: ValidationContext, validateAllProperties: boolean): void;
|
|
611
611
|
static validateObject(instance: unknown, validationContext: ValidationContext): void;
|
|
612
|
-
static validateProperty(value: unknown, validationContext: ValidationContext): void;
|
|
613
|
-
static validateValue(value: unknown, validationContext: ValidationContext, validationAttributes: IEnumerable_1<ValidationAttribute>): void;
|
|
612
|
+
static validateProperty(value: unknown | undefined, validationContext: ValidationContext): void;
|
|
613
|
+
static validateValue(value: unknown | undefined, validationContext: ValidationContext, validationAttributes: IEnumerable_1<ValidationAttribute>): void;
|
|
614
614
|
}
|
|
615
615
|
|
|
616
616
|
|
|
@@ -25,7 +25,7 @@ export interface ColumnAttribute$instance extends Attribute {
|
|
|
25
25
|
|
|
26
26
|
export const ColumnAttribute: {
|
|
27
27
|
new(): ColumnAttribute;
|
|
28
|
-
new(name: string): ColumnAttribute;
|
|
28
|
+
new(name: string | undefined): ColumnAttribute;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
|
|
@@ -91,7 +91,7 @@ export type NotMappedAttribute = NotMappedAttribute$instance;
|
|
|
91
91
|
|
|
92
92
|
export interface TableAttribute$instance extends Attribute {
|
|
93
93
|
readonly name: string;
|
|
94
|
-
schema: string;
|
|
94
|
+
schema: string | undefined;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|