@tsonic/dotnet 0.8.0 → 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 +21 -21
- package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
- package/Microsoft.Win32/internal/index.d.ts +12 -12
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +1277 -1289
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +13 -13
- package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
- package/System.Collections/internal/index.d.ts +66 -68
- package/System.Collections.Concurrent/internal/index.d.ts +24 -24
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +10 -10
- 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 +141 -133
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +121 -121
- package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
- package/System.Collections.Specialized/internal/index.d.ts +85 -87
- package/System.ComponentModel/internal/index.d.ts +595 -597
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
- package/System.ComponentModel.Design/internal/index.d.ts +90 -90
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
- package/System.Data/internal/index.d.ts +225 -225
- package/System.Data.Common/internal/index.d.ts +62 -62
- package/System.Data.SqlTypes/internal/index.d.ts +73 -73
- package/System.Diagnostics/internal/index.d.ts +343 -343
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
- package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
- package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
- package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
- package/System.Drawing/internal/index.d.ts +99 -99
- package/System.Dynamic/internal/index.d.ts +33 -33
- package/System.Formats.Asn1/internal/index.d.ts +12 -12
- package/System.Formats.Tar/internal/index.d.ts +17 -17
- package/System.Globalization/internal/index.d.ts +51 -51
- package/System.IO/internal/index.d.ts +172 -172
- package/System.IO.Compression/internal/index.d.ts +56 -56
- package/System.IO.Enumeration/internal/index.d.ts +6 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
- package/System.IO.Pipelines/internal/index.d.ts +13 -13
- package/System.IO.Pipes/internal/index.d.ts +32 -32
- package/System.Linq/internal/index.d.ts +187 -187
- package/System.Linq.Expressions/internal/index.d.ts +203 -203
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- package/System.Net/internal/index.d.ts +218 -220
- package/System.Net.Cache/internal/index.d.ts +10 -10
- package/System.Net.Http/internal/index.d.ts +89 -89
- package/System.Net.Http.Headers/internal/index.d.ts +86 -86
- package/System.Net.Http.Json/internal/index.d.ts +59 -59
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/internal/index.d.ts +92 -92
- package/System.Net.Mime/internal/index.d.ts +6 -6
- package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
- package/System.Net.Quic/internal/index.d.ts +13 -13
- package/System.Net.Security/internal/index.d.ts +70 -70
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
- package/System.Net.Sockets/internal/index.d.ts +94 -94
- package/System.Net.WebSockets/internal/index.d.ts +46 -46
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +128 -130
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +271 -271
- package/System.Reflection.Emit/internal/index.d.ts +123 -123
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +179 -179
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
- package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
- package/System.Resources/internal/index.d.ts +38 -38
- package/System.Runtime/internal/index.d.ts +9 -9
- package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Loader/internal/index.d.ts +9 -9
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +113 -115
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
- package/System.Runtime.Versioning/internal/index.d.ts +22 -22
- package/System.Security/internal/index.d.ts +63 -63
- package/System.Security.AccessControl/internal/index.d.ts +84 -84
- package/System.Security.Authentication/internal/index.d.ts +6 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
- package/System.Security.Claims/internal/index.d.ts +38 -40
- package/System.Security.Cryptography/internal/index.d.ts +378 -378
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
- package/System.Security.Permissions/internal/index.d.ts +1 -1
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +29 -31
- package/System.Text/internal/index.d.ts +94 -94
- package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
- package/System.Text.Json/internal/index.d.ts +103 -103
- package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
- package/System.Text.Json.Schema/internal/index.d.ts +7 -7
- package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
- package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Threading/internal/index.d.ts +160 -160
- package/System.Threading.Channels/internal/index.d.ts +12 -12
- package/System.Threading.Tasks/internal/index.d.ts +125 -135
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
- package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
- package/System.Timers/internal/index.d.ts +8 -8
- package/System.Transactions/internal/index.d.ts +51 -51
- package/System.Web/internal/index.d.ts +32 -32
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Windows.Markup/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +281 -281
- package/System.Xml.Linq/internal/index.d.ts +76 -76
- package/System.Xml.Resolvers/internal/index.d.ts +8 -8
- package/System.Xml.Schema/internal/index.d.ts +173 -173
- package/System.Xml.Serialization/internal/index.d.ts +200 -200
- package/System.Xml.XPath/internal/index.d.ts +28 -28
- package/System.Xml.Xsl/internal/index.d.ts +53 -53
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -45,28 +45,28 @@ 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
|
|
|
52
52
|
|
|
53
53
|
export const AllowedValuesAttribute: {
|
|
54
|
-
new(values: unknown[]): AllowedValuesAttribute
|
|
54
|
+
new(values: unknown[]): AllowedValuesAttribute;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
|
|
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
|
|
|
67
67
|
export const AssociatedMetadataTypeTypeDescriptionProvider: {
|
|
68
|
-
new(type_: Type): AssociatedMetadataTypeTypeDescriptionProvider
|
|
69
|
-
new(type_: Type, associatedMetadataType: Type): AssociatedMetadataTypeTypeDescriptionProvider
|
|
68
|
+
new(type_: Type): AssociatedMetadataTypeTypeDescriptionProvider;
|
|
69
|
+
new(type_: Type, associatedMetadataType: Type): AssociatedMetadataTypeTypeDescriptionProvider;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
|
|
@@ -83,7 +83,7 @@ export interface AssociationAttribute$instance extends Attribute {
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
export const AssociationAttribute: {
|
|
86
|
-
new(name: string, thisKey: string, otherKey: string): AssociationAttribute
|
|
86
|
+
new(name: string, thisKey: string, otherKey: string): AssociationAttribute;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
|
|
@@ -95,7 +95,7 @@ export interface Base64StringAttribute$instance extends ValidationAttribute {
|
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
export const Base64StringAttribute: {
|
|
98
|
-
new(): Base64StringAttribute
|
|
98
|
+
new(): Base64StringAttribute;
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
|
|
@@ -103,14 +103,14 @@ 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
|
}
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
export const CompareAttribute: {
|
|
113
|
-
new(otherProperty: string): CompareAttribute
|
|
113
|
+
new(otherProperty: string): CompareAttribute;
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
|
|
@@ -121,7 +121,7 @@ export interface ConcurrencyCheckAttribute$instance extends Attribute {
|
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
export const ConcurrencyCheckAttribute: {
|
|
124
|
-
new(): ConcurrencyCheckAttribute
|
|
124
|
+
new(): ConcurrencyCheckAttribute;
|
|
125
125
|
};
|
|
126
126
|
|
|
127
127
|
|
|
@@ -133,7 +133,7 @@ export interface CreditCardAttribute$instance extends DataTypeAttribute {
|
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
export const CreditCardAttribute: {
|
|
136
|
-
new(): CreditCardAttribute
|
|
136
|
+
new(): CreditCardAttribute;
|
|
137
137
|
};
|
|
138
138
|
|
|
139
139
|
|
|
@@ -149,37 +149,37 @@ export interface CustomValidationAttribute$instance extends ValidationAttribute
|
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
export const CustomValidationAttribute: {
|
|
152
|
-
new(validatorType: Type, method: string): CustomValidationAttribute
|
|
152
|
+
new(validatorType: Type, method: string): CustomValidationAttribute;
|
|
153
153
|
};
|
|
154
154
|
|
|
155
155
|
|
|
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
|
-
new(dataType: DataType): DataTypeAttribute
|
|
169
|
-
new(customDataType: string): DataTypeAttribute
|
|
168
|
+
new(dataType: DataType): 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
|
|
|
180
180
|
|
|
181
181
|
export const DeniedValuesAttribute: {
|
|
182
|
-
new(values: unknown[]): DeniedValuesAttribute
|
|
182
|
+
new(values: unknown[]): DeniedValuesAttribute;
|
|
183
183
|
};
|
|
184
184
|
|
|
185
185
|
|
|
@@ -192,22 +192,22 @@ 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
|
|
|
209
209
|
export const DisplayAttribute: {
|
|
210
|
-
new(): DisplayAttribute
|
|
210
|
+
new(): DisplayAttribute;
|
|
211
211
|
};
|
|
212
212
|
|
|
213
213
|
|
|
@@ -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
|
-
new(displayColumn: string): DisplayColumnAttribute
|
|
225
|
-
new(displayColumn: string, sortColumn: string): DisplayColumnAttribute
|
|
226
|
-
new(displayColumn: string, sortColumn: string, sortDescending: boolean): DisplayColumnAttribute
|
|
224
|
+
new(displayColumn: string): 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,16 +232,16 @@ 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
|
|
|
243
243
|
export const DisplayFormatAttribute: {
|
|
244
|
-
new(): DisplayFormatAttribute
|
|
244
|
+
new(): DisplayFormatAttribute;
|
|
245
245
|
};
|
|
246
246
|
|
|
247
247
|
|
|
@@ -254,7 +254,7 @@ export interface EditableAttribute$instance extends Attribute {
|
|
|
254
254
|
|
|
255
255
|
|
|
256
256
|
export const EditableAttribute: {
|
|
257
|
-
new(allowEdit: boolean): EditableAttribute
|
|
257
|
+
new(allowEdit: boolean): EditableAttribute;
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
|
|
@@ -266,7 +266,7 @@ export interface EmailAddressAttribute$instance extends DataTypeAttribute {
|
|
|
266
266
|
|
|
267
267
|
|
|
268
268
|
export const EmailAddressAttribute: {
|
|
269
|
-
new(): EmailAddressAttribute
|
|
269
|
+
new(): EmailAddressAttribute;
|
|
270
270
|
};
|
|
271
271
|
|
|
272
272
|
|
|
@@ -279,7 +279,7 @@ export interface EnumDataTypeAttribute$instance extends DataTypeAttribute {
|
|
|
279
279
|
|
|
280
280
|
|
|
281
281
|
export const EnumDataTypeAttribute: {
|
|
282
|
-
new(enumType: Type): EnumDataTypeAttribute
|
|
282
|
+
new(enumType: Type): EnumDataTypeAttribute;
|
|
283
283
|
};
|
|
284
284
|
|
|
285
285
|
|
|
@@ -293,25 +293,25 @@ export interface FileExtensionsAttribute$instance extends DataTypeAttribute {
|
|
|
293
293
|
|
|
294
294
|
|
|
295
295
|
export const FileExtensionsAttribute: {
|
|
296
|
-
new(): FileExtensionsAttribute
|
|
296
|
+
new(): FileExtensionsAttribute;
|
|
297
297
|
};
|
|
298
298
|
|
|
299
299
|
|
|
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
|
}
|
|
309
309
|
|
|
310
310
|
|
|
311
311
|
export const FilterUIHintAttribute: {
|
|
312
|
-
new(filterUIHint: string): FilterUIHintAttribute
|
|
313
|
-
new(filterUIHint: string, presentationLayer: string): FilterUIHintAttribute
|
|
314
|
-
new(filterUIHint: string, presentationLayer: string, controlParameters: unknown[]): FilterUIHintAttribute
|
|
312
|
+
new(filterUIHint: string): 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
|
|
|
@@ -322,7 +322,7 @@ export interface KeyAttribute$instance extends Attribute {
|
|
|
322
322
|
|
|
323
323
|
|
|
324
324
|
export const KeyAttribute: {
|
|
325
|
-
new(): KeyAttribute
|
|
325
|
+
new(): KeyAttribute;
|
|
326
326
|
};
|
|
327
327
|
|
|
328
328
|
|
|
@@ -331,13 +331,13 @@ 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
|
|
|
338
338
|
|
|
339
339
|
export const LengthAttribute: {
|
|
340
|
-
new(minimumLength: int, maximumLength: int): LengthAttribute
|
|
340
|
+
new(minimumLength: int, maximumLength: int): LengthAttribute;
|
|
341
341
|
};
|
|
342
342
|
|
|
343
343
|
|
|
@@ -351,8 +351,8 @@ export interface MaxLengthAttribute$instance extends ValidationAttribute {
|
|
|
351
351
|
|
|
352
352
|
|
|
353
353
|
export const MaxLengthAttribute: {
|
|
354
|
-
new(length: int): MaxLengthAttribute
|
|
355
|
-
new(): MaxLengthAttribute
|
|
354
|
+
new(length: int): MaxLengthAttribute;
|
|
355
|
+
new(): MaxLengthAttribute;
|
|
356
356
|
};
|
|
357
357
|
|
|
358
358
|
|
|
@@ -364,7 +364,7 @@ export interface MetadataTypeAttribute$instance extends Attribute {
|
|
|
364
364
|
|
|
365
365
|
|
|
366
366
|
export const MetadataTypeAttribute: {
|
|
367
|
-
new(metadataClassType: Type): MetadataTypeAttribute
|
|
367
|
+
new(metadataClassType: Type): MetadataTypeAttribute;
|
|
368
368
|
};
|
|
369
369
|
|
|
370
370
|
|
|
@@ -372,13 +372,13 @@ 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
|
|
|
379
379
|
|
|
380
380
|
export const MinLengthAttribute: {
|
|
381
|
-
new(length: int): MinLengthAttribute
|
|
381
|
+
new(length: int): MinLengthAttribute;
|
|
382
382
|
};
|
|
383
383
|
|
|
384
384
|
|
|
@@ -390,7 +390,7 @@ export interface PhoneAttribute$instance extends DataTypeAttribute {
|
|
|
390
390
|
|
|
391
391
|
|
|
392
392
|
export const PhoneAttribute: {
|
|
393
|
-
new(): PhoneAttribute
|
|
393
|
+
new(): PhoneAttribute;
|
|
394
394
|
};
|
|
395
395
|
|
|
396
396
|
|
|
@@ -410,9 +410,9 @@ export interface RangeAttribute$instance extends ValidationAttribute {
|
|
|
410
410
|
|
|
411
411
|
|
|
412
412
|
export const RangeAttribute: {
|
|
413
|
-
new(minimum: int, maximum: int): RangeAttribute
|
|
414
|
-
new(minimum: double, maximum: double): RangeAttribute
|
|
415
|
-
new(type_: Type, minimum: string, maximum: string): RangeAttribute
|
|
413
|
+
new(minimum: int, maximum: int): RangeAttribute;
|
|
414
|
+
new(minimum: double, maximum: double): RangeAttribute;
|
|
415
|
+
new(type_: Type, minimum: string, maximum: string): RangeAttribute;
|
|
416
416
|
};
|
|
417
417
|
|
|
418
418
|
|
|
@@ -428,7 +428,7 @@ export interface RegularExpressionAttribute$instance extends ValidationAttribute
|
|
|
428
428
|
|
|
429
429
|
|
|
430
430
|
export const RegularExpressionAttribute: {
|
|
431
|
-
new(pattern: string): RegularExpressionAttribute
|
|
431
|
+
new(pattern: string): RegularExpressionAttribute;
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
|
|
@@ -441,7 +441,7 @@ export interface RequiredAttribute$instance extends ValidationAttribute {
|
|
|
441
441
|
|
|
442
442
|
|
|
443
443
|
export const RequiredAttribute: {
|
|
444
|
-
new(): RequiredAttribute
|
|
444
|
+
new(): RequiredAttribute;
|
|
445
445
|
};
|
|
446
446
|
|
|
447
447
|
|
|
@@ -453,7 +453,7 @@ export interface ScaffoldColumnAttribute$instance extends Attribute {
|
|
|
453
453
|
|
|
454
454
|
|
|
455
455
|
export const ScaffoldColumnAttribute: {
|
|
456
|
-
new(scaffold: boolean): ScaffoldColumnAttribute
|
|
456
|
+
new(scaffold: boolean): ScaffoldColumnAttribute;
|
|
457
457
|
};
|
|
458
458
|
|
|
459
459
|
|
|
@@ -462,13 +462,13 @@ 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
|
|
|
469
469
|
|
|
470
470
|
export const StringLengthAttribute: {
|
|
471
|
-
new(maximumLength: int): StringLengthAttribute
|
|
471
|
+
new(maximumLength: int): StringLengthAttribute;
|
|
472
472
|
};
|
|
473
473
|
|
|
474
474
|
|
|
@@ -479,15 +479,15 @@ export interface TimestampAttribute$instance extends Attribute {
|
|
|
479
479
|
|
|
480
480
|
|
|
481
481
|
export const TimestampAttribute: {
|
|
482
|
-
new(): TimestampAttribute
|
|
482
|
+
new(): TimestampAttribute;
|
|
483
483
|
};
|
|
484
484
|
|
|
485
485
|
|
|
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;
|
|
@@ -495,9 +495,9 @@ export interface UIHintAttribute$instance extends Attribute {
|
|
|
495
495
|
|
|
496
496
|
|
|
497
497
|
export const UIHintAttribute: {
|
|
498
|
-
new(uiHint: string): UIHintAttribute
|
|
499
|
-
new(uiHint: string, presentationLayer: string): UIHintAttribute
|
|
500
|
-
new(uiHint: string, presentationLayer: string, controlParameters: unknown[]): UIHintAttribute
|
|
498
|
+
new(uiHint: string): UIHintAttribute;
|
|
499
|
+
new(uiHint: string, presentationLayer: string | undefined): UIHintAttribute;
|
|
500
|
+
new(uiHint: string, presentationLayer: string, controlParameters: unknown[]): UIHintAttribute;
|
|
501
501
|
};
|
|
502
502
|
|
|
503
503
|
|
|
@@ -509,22 +509,22 @@ export interface UrlAttribute$instance extends DataTypeAttribute {
|
|
|
509
509
|
|
|
510
510
|
|
|
511
511
|
export const UrlAttribute: {
|
|
512
|
-
new(): UrlAttribute
|
|
512
|
+
new(): UrlAttribute;
|
|
513
513
|
};
|
|
514
514
|
|
|
515
515
|
|
|
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
|
-
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
|
|
549
|
+
new(instance: 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
|
|
576
|
-
new(): ValidationException
|
|
577
|
-
new(message: string): ValidationException
|
|
578
|
-
new(message: string, innerException: Exception): 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
|
+
new(): 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
|
|
|
@@ -24,8 +24,8 @@ export interface ColumnAttribute$instance extends Attribute {
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
export const ColumnAttribute: {
|
|
27
|
-
new(): ColumnAttribute
|
|
28
|
-
new(name: string): ColumnAttribute
|
|
27
|
+
new(): ColumnAttribute;
|
|
28
|
+
new(name: string | undefined): ColumnAttribute;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
|
|
@@ -36,7 +36,7 @@ export interface ComplexTypeAttribute$instance extends Attribute {
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
export const ComplexTypeAttribute: {
|
|
39
|
-
new(): ComplexTypeAttribute
|
|
39
|
+
new(): ComplexTypeAttribute;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ export interface DatabaseGeneratedAttribute$instance extends Attribute {
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
export const DatabaseGeneratedAttribute: {
|
|
51
|
-
new(databaseGeneratedOption: DatabaseGeneratedOption): DatabaseGeneratedAttribute
|
|
51
|
+
new(databaseGeneratedOption: DatabaseGeneratedOption): DatabaseGeneratedAttribute;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
|
|
@@ -60,7 +60,7 @@ export interface ForeignKeyAttribute$instance extends Attribute {
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
export const ForeignKeyAttribute: {
|
|
63
|
-
new(name: string): ForeignKeyAttribute
|
|
63
|
+
new(name: string): ForeignKeyAttribute;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
|
|
@@ -72,7 +72,7 @@ export interface InversePropertyAttribute$instance extends Attribute {
|
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
export const InversePropertyAttribute: {
|
|
75
|
-
new(property: string): InversePropertyAttribute
|
|
75
|
+
new(property: string): InversePropertyAttribute;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
|
|
@@ -83,7 +83,7 @@ export interface NotMappedAttribute$instance extends Attribute {
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
export const NotMappedAttribute: {
|
|
86
|
-
new(): NotMappedAttribute
|
|
86
|
+
new(): NotMappedAttribute;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
|
|
@@ -91,12 +91,12 @@ 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
|
|
|
98
98
|
export const TableAttribute: {
|
|
99
|
-
new(name: string): TableAttribute
|
|
99
|
+
new(name: string): TableAttribute;
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
|