@tsonic/dotnet 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Internal/internal/index.d.ts +5 -5
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
- package/Microsoft.VisualBasic/bindings.json +28 -28
- package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
- package/Microsoft.VisualBasic/internal/metadata.json +14 -14
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
- package/Microsoft.Win32/internal/index.d.ts +16 -14
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
- package/README.md +39 -0
- package/System/bindings.json +138 -138
- package/System/internal/index.d.ts +4165 -3967
- package/System/internal/metadata.json +81 -487
- package/System.Buffers/internal/index.d.ts +60 -50
- package/System.Buffers.Binary/internal/index.d.ts +126 -126
- package/System.Buffers.Text/internal/index.d.ts +67 -67
- package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
- package/System.Collections/internal/index.d.ts +199 -179
- package/System.Collections.Concurrent/internal/index.d.ts +61 -59
- package/System.Collections.Frozen/internal/index.d.ts +29 -29
- package/System.Collections.Frozen/internal/metadata.json +2 -16
- package/System.Collections.Generic/index.d.ts +1 -1
- package/System.Collections.Generic/internal/index.d.ts +382 -354
- package/System.Collections.Generic/internal/metadata.json +5 -54
- package/System.Collections.Immutable/internal/index.d.ts +321 -319
- package/System.Collections.Immutable/internal/metadata.json +5 -40
- package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
- package/System.Collections.ObjectModel/internal/metadata.json +1 -36
- package/System.Collections.Specialized/internal/index.d.ts +104 -96
- package/System.ComponentModel/internal/index.d.ts +661 -631
- package/System.ComponentModel/internal/metadata.json +0 -7
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
- package/System.ComponentModel.Design/bindings.json +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +207 -193
- package/System.ComponentModel.Design/internal/metadata.json +1 -1
- package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
- package/System.Configuration.Assemblies/bindings.json +10 -10
- package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
- package/System.Configuration.Assemblies/internal/metadata.json +5 -5
- package/System.Data/internal/index.d.ts +481 -453
- package/System.Data.Common/internal/index.d.ts +149 -121
- package/System.Data.SqlTypes/bindings.json +2 -2
- package/System.Data.SqlTypes/internal/index.d.ts +331 -299
- package/System.Data.SqlTypes/internal/metadata.json +1 -1
- package/System.Diagnostics/bindings.json +6 -6
- package/System.Diagnostics/internal/index.d.ts +333 -313
- package/System.Diagnostics/internal/metadata.json +3 -10
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
- package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
- package/System.Diagnostics.SymbolStore/bindings.json +6 -6
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
- package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
- package/System.Drawing/bindings.json +24 -24
- package/System.Drawing/internal/index.d.ts +281 -281
- package/System.Drawing/internal/metadata.json +12 -12
- package/System.Dynamic/internal/index.d.ts +46 -42
- package/System.Formats.Asn1/bindings.json +12 -12
- package/System.Formats.Asn1/internal/index.d.ts +50 -48
- package/System.Formats.Asn1/internal/metadata.json +6 -6
- package/System.Formats.Tar/bindings.json +2 -2
- package/System.Formats.Tar/internal/index.d.ts +17 -13
- package/System.Formats.Tar/internal/metadata.json +1 -1
- package/System.Globalization/bindings.json +8 -8
- package/System.Globalization/internal/index.d.ts +177 -163
- package/System.Globalization/internal/metadata.json +4 -4
- package/System.IO/internal/index.d.ts +457 -439
- package/System.IO.Compression/internal/index.d.ts +78 -72
- package/System.IO.Enumeration/internal/index.d.ts +22 -22
- package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
- package/System.IO.Pipelines/internal/index.d.ts +15 -13
- package/System.IO.Pipes/internal/index.d.ts +23 -23
- package/System.Linq/internal/index.d.ts +853 -845
- package/System.Linq/internal/metadata.json +0 -17
- package/System.Linq.Expressions/internal/index.d.ts +354 -340
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/bindings.json +2 -2
- package/System.Net/internal/index.d.ts +351 -317
- package/System.Net/internal/metadata.json +1 -1
- package/System.Net.Http/internal/index.d.ts +64 -54
- package/System.Net.Http.Headers/bindings.json +2 -2
- package/System.Net.Http.Headers/internal/index.d.ts +139 -99
- package/System.Net.Http.Headers/internal/metadata.json +1 -1
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/bindings.json +2 -2
- package/System.Net.Mail/internal/index.d.ts +90 -78
- package/System.Net.Mail/internal/metadata.json +4 -32
- package/System.Net.Mime/internal/index.d.ts +51 -51
- package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
- package/System.Net.Quic/internal/index.d.ts +15 -11
- package/System.Net.Security/bindings.json +674 -674
- package/System.Net.Security/internal/index.d.ts +396 -394
- package/System.Net.Security/internal/metadata.json +337 -337
- package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
- package/System.Net.Sockets/bindings.json +10 -10
- package/System.Net.Sockets/internal/index.d.ts +100 -90
- package/System.Net.Sockets/internal/metadata.json +5 -5
- package/System.Net.WebSockets/internal/index.d.ts +21 -19
- package/System.Numerics/bindings.json +110 -110
- package/System.Numerics/internal/index.d.ts +1057 -1039
- package/System.Numerics/internal/metadata.json +55 -89
- package/System.Reflection/bindings.json +25 -25
- package/System.Reflection/internal/index.d.ts +336 -316
- package/System.Reflection/internal/metadata.json +12 -12
- package/System.Reflection.Emit/bindings.json +307 -307
- package/System.Reflection.Emit/internal/index.d.ts +242 -236
- package/System.Reflection.Emit/internal/metadata.json +152 -152
- package/System.Reflection.Metadata/bindings.json +272 -272
- package/System.Reflection.Metadata/internal/index.d.ts +448 -438
- package/System.Reflection.Metadata/internal/metadata.json +164 -360
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
- package/System.Reflection.PortableExecutable/bindings.json +26 -26
- package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
- package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
- package/System.Resources/internal/index.d.ts +30 -24
- package/System.Runtime/internal/index.d.ts +20 -16
- package/System.Runtime.CompilerServices/bindings.json +4 -4
- package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
- package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
- package/System.Runtime.InteropServices/bindings.json +146 -146
- package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
- package/System.Runtime.InteropServices/internal/metadata.json +73 -130
- package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
- package/System.Runtime.Loader/internal/index.d.ts +9 -7
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +179 -171
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
- package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
- package/System.Runtime.Versioning/internal/index.d.ts +4 -4
- package/System.Security/internal/index.d.ts +45 -39
- package/System.Security.AccessControl/internal/index.d.ts +28 -26
- package/System.Security.Authentication/internal/index.d.ts +2 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
- package/System.Security.Claims/internal/index.d.ts +94 -90
- package/System.Security.Cryptography/bindings.json +111 -111
- package/System.Security.Cryptography/internal/index.d.ts +842 -794
- package/System.Security.Cryptography/internal/metadata.json +52 -59
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +36 -30
- package/System.Text/bindings.json +28 -28
- package/System.Text/internal/index.d.ts +325 -319
- package/System.Text/internal/metadata.json +4 -4
- package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
- package/System.Text.Json/internal/index.d.ts +184 -180
- package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
- package/System.Text.Json.Schema/internal/index.d.ts +3 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
- package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
- package/System.Text.RegularExpressions/internal/metadata.json +5 -40
- package/System.Text.Unicode/internal/index.d.ts +171 -171
- package/System.Threading/bindings.json +4 -4
- package/System.Threading/internal/index.d.ts +411 -377
- package/System.Threading/internal/metadata.json +2 -2
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +209 -205
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
- package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
- package/System.Timers/internal/index.d.ts +11 -9
- package/System.Transactions/internal/index.d.ts +83 -67
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/bindings.json +35 -35
- package/System.Xml/internal/index.d.ts +343 -325
- package/System.Xml/internal/metadata.json +17 -17
- package/System.Xml.Linq/internal/index.d.ts +122 -110
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Schema/internal/index.d.ts +71 -71
- package/System.Xml.Serialization/internal/index.d.ts +120 -120
- package/System.Xml.XPath/internal/index.d.ts +40 -34
- package/System.Xml.Xsl/internal/index.d.ts +27 -27
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
- package/__internal/extensions/index.d.ts +2294 -0
- package/package.json +1 -1
- package/internal/extensions/index.d.ts +0 -2280
|
@@ -6208,13 +6208,6 @@
|
|
|
6208
6208
|
"isStatic": false,
|
|
6209
6209
|
"parameterCount": 1
|
|
6210
6210
|
}
|
|
6211
|
-
],
|
|
6212
|
-
"unsatisfiableInterfaces": [
|
|
6213
|
-
{
|
|
6214
|
-
"interfaceClrName": "System.Collections.Generic.IReadOnlyList\u00601",
|
|
6215
|
-
"reason": "MissingOrIncompatibleMembers",
|
|
6216
|
-
"issueCount": 3
|
|
6217
|
-
}
|
|
6218
6211
|
]
|
|
6219
6212
|
},
|
|
6220
6213
|
{
|
|
@@ -63,16 +63,16 @@ export enum DataType {
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
export interface IValidatableObject$instance {
|
|
66
|
-
|
|
66
|
+
validate(validationContext: ValidationContext): IEnumerable_1<ValidationResult>;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
export type IValidatableObject = IValidatableObject$instance;
|
|
71
71
|
|
|
72
72
|
export class AllowedValuesAttribute$instance extends ValidationAttribute$instance {
|
|
73
|
-
constructor(values:
|
|
74
|
-
readonly values:
|
|
75
|
-
isValid(value:
|
|
73
|
+
constructor(values: unknown[]);
|
|
74
|
+
readonly values: unknown[];
|
|
75
|
+
isValid(value: unknown): boolean;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
|
|
@@ -81,9 +81,9 @@ export type AllowedValuesAttribute = AllowedValuesAttribute$instance;
|
|
|
81
81
|
export class AssociatedMetadataTypeTypeDescriptionProvider$instance extends System_ComponentModel_Internal.TypeDescriptionProvider$instance {
|
|
82
82
|
constructor(type_: Type);
|
|
83
83
|
constructor(type_: Type, associatedMetadataType: Type);
|
|
84
|
-
getTypeDescriptor(objectType: Type, instance:
|
|
84
|
+
getTypeDescriptor(objectType: Type, instance: unknown): ICustomTypeDescriptor;
|
|
85
85
|
getTypeDescriptor(objectType: Type): ICustomTypeDescriptor;
|
|
86
|
-
getTypeDescriptor(instance:
|
|
86
|
+
getTypeDescriptor(instance: unknown): ICustomTypeDescriptor;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
|
|
@@ -104,7 +104,7 @@ export type AssociationAttribute = AssociationAttribute$instance;
|
|
|
104
104
|
|
|
105
105
|
export class Base64StringAttribute$instance extends ValidationAttribute$instance {
|
|
106
106
|
constructor();
|
|
107
|
-
isValid(value:
|
|
107
|
+
isValid(value: unknown): boolean;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
|
|
@@ -130,7 +130,7 @@ export type ConcurrencyCheckAttribute = ConcurrencyCheckAttribute$instance;
|
|
|
130
130
|
|
|
131
131
|
export class CreditCardAttribute$instance extends DataTypeAttribute$instance {
|
|
132
132
|
constructor();
|
|
133
|
-
isValid(value:
|
|
133
|
+
isValid(value: unknown): boolean;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
|
|
@@ -140,7 +140,7 @@ export class CustomValidationAttribute$instance extends ValidationAttribute$inst
|
|
|
140
140
|
constructor(validatorType: Type, method: string);
|
|
141
141
|
readonly method: string;
|
|
142
142
|
readonly requiresValidationContext: boolean;
|
|
143
|
-
readonly typeId:
|
|
143
|
+
readonly typeId: unknown;
|
|
144
144
|
readonly validatorType: Type;
|
|
145
145
|
formatErrorMessage(name: string): string;
|
|
146
146
|
}
|
|
@@ -155,16 +155,16 @@ export class DataTypeAttribute$instance extends ValidationAttribute$instance {
|
|
|
155
155
|
readonly dataType: DataType;
|
|
156
156
|
readonly displayFormat: DisplayFormatAttribute;
|
|
157
157
|
getDataTypeName(): string;
|
|
158
|
-
isValid(value:
|
|
158
|
+
isValid(value: unknown): boolean;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
export type DataTypeAttribute = DataTypeAttribute$instance;
|
|
163
163
|
|
|
164
164
|
export class DeniedValuesAttribute$instance extends ValidationAttribute$instance {
|
|
165
|
-
constructor(values:
|
|
166
|
-
readonly values:
|
|
167
|
-
isValid(value:
|
|
165
|
+
constructor(values: unknown[]);
|
|
166
|
+
readonly values: unknown[];
|
|
167
|
+
isValid(value: unknown): boolean;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
|
|
@@ -231,7 +231,7 @@ export type EditableAttribute = EditableAttribute$instance;
|
|
|
231
231
|
|
|
232
232
|
export class EmailAddressAttribute$instance extends DataTypeAttribute$instance {
|
|
233
233
|
constructor();
|
|
234
|
-
isValid(value:
|
|
234
|
+
isValid(value: unknown): boolean;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
|
|
@@ -240,7 +240,7 @@ export type EmailAddressAttribute = EmailAddressAttribute$instance;
|
|
|
240
240
|
export class EnumDataTypeAttribute$instance extends DataTypeAttribute$instance {
|
|
241
241
|
constructor(enumType: Type);
|
|
242
242
|
readonly enumType: Type;
|
|
243
|
-
isValid(value:
|
|
243
|
+
isValid(value: unknown): boolean;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
|
|
@@ -250,7 +250,7 @@ export class FileExtensionsAttribute$instance extends DataTypeAttribute$instance
|
|
|
250
250
|
constructor();
|
|
251
251
|
extensions: string;
|
|
252
252
|
formatErrorMessage(name: string): string;
|
|
253
|
-
isValid(value:
|
|
253
|
+
isValid(value: unknown): boolean;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
|
|
@@ -259,11 +259,11 @@ export type FileExtensionsAttribute = FileExtensionsAttribute$instance;
|
|
|
259
259
|
export class FilterUIHintAttribute$instance extends System_Internal.Attribute$instance {
|
|
260
260
|
constructor(filterUIHint: string);
|
|
261
261
|
constructor(filterUIHint: string, presentationLayer: string);
|
|
262
|
-
constructor(filterUIHint: string, presentationLayer: string, controlParameters:
|
|
263
|
-
readonly controlParameters: IDictionary_2<CLROf<string>,
|
|
262
|
+
constructor(filterUIHint: string, presentationLayer: string, controlParameters: unknown[]);
|
|
263
|
+
readonly controlParameters: IDictionary_2<CLROf<string>, unknown>;
|
|
264
264
|
readonly filterUIHint: string;
|
|
265
265
|
readonly presentationLayer: string;
|
|
266
|
-
equals(obj:
|
|
266
|
+
equals(obj: unknown): boolean;
|
|
267
267
|
getHashCode(): int;
|
|
268
268
|
}
|
|
269
269
|
|
|
@@ -282,7 +282,7 @@ export class LengthAttribute$instance extends ValidationAttribute$instance {
|
|
|
282
282
|
readonly maximumLength: int;
|
|
283
283
|
readonly minimumLength: int;
|
|
284
284
|
formatErrorMessage(name: string): string;
|
|
285
|
-
isValid(value:
|
|
285
|
+
isValid(value: unknown): boolean;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
|
|
@@ -293,7 +293,7 @@ export class MaxLengthAttribute$instance extends ValidationAttribute$instance {
|
|
|
293
293
|
constructor();
|
|
294
294
|
readonly length: int;
|
|
295
295
|
formatErrorMessage(name: string): string;
|
|
296
|
-
isValid(value:
|
|
296
|
+
isValid(value: unknown): boolean;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
|
|
@@ -311,7 +311,7 @@ export class MinLengthAttribute$instance extends ValidationAttribute$instance {
|
|
|
311
311
|
constructor(length: int);
|
|
312
312
|
readonly length: int;
|
|
313
313
|
formatErrorMessage(name: string): string;
|
|
314
|
-
isValid(value:
|
|
314
|
+
isValid(value: unknown): boolean;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
|
|
@@ -319,7 +319,7 @@ export type MinLengthAttribute = MinLengthAttribute$instance;
|
|
|
319
319
|
|
|
320
320
|
export class PhoneAttribute$instance extends DataTypeAttribute$instance {
|
|
321
321
|
constructor();
|
|
322
|
-
isValid(value:
|
|
322
|
+
isValid(value: unknown): boolean;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
|
|
@@ -330,14 +330,14 @@ export class RangeAttribute$instance extends ValidationAttribute$instance {
|
|
|
330
330
|
constructor(minimum: double, maximum: double);
|
|
331
331
|
constructor(type_: Type, minimum: string, maximum: string);
|
|
332
332
|
convertValueInInvariantCulture: boolean;
|
|
333
|
-
readonly maximum:
|
|
333
|
+
readonly maximum: unknown;
|
|
334
334
|
maximumIsExclusive: boolean;
|
|
335
|
-
readonly minimum:
|
|
335
|
+
readonly minimum: unknown;
|
|
336
336
|
minimumIsExclusive: boolean;
|
|
337
337
|
readonly operandType: Type;
|
|
338
338
|
parseLimitsInInvariantCulture: boolean;
|
|
339
339
|
formatErrorMessage(name: string): string;
|
|
340
|
-
isValid(value:
|
|
340
|
+
isValid(value: unknown): boolean;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
|
|
@@ -349,7 +349,7 @@ export class RegularExpressionAttribute$instance extends ValidationAttribute$ins
|
|
|
349
349
|
matchTimeoutInMilliseconds: int;
|
|
350
350
|
readonly pattern: string;
|
|
351
351
|
formatErrorMessage(name: string): string;
|
|
352
|
-
isValid(value:
|
|
352
|
+
isValid(value: unknown): boolean;
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
|
|
@@ -358,7 +358,7 @@ export type RegularExpressionAttribute = RegularExpressionAttribute$instance;
|
|
|
358
358
|
export class RequiredAttribute$instance extends ValidationAttribute$instance {
|
|
359
359
|
constructor();
|
|
360
360
|
allowEmptyStrings: boolean;
|
|
361
|
-
isValid(value:
|
|
361
|
+
isValid(value: unknown): boolean;
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
|
|
@@ -377,7 +377,7 @@ export class StringLengthAttribute$instance extends ValidationAttribute$instance
|
|
|
377
377
|
readonly maximumLength: int;
|
|
378
378
|
minimumLength: int;
|
|
379
379
|
formatErrorMessage(name: string): string;
|
|
380
|
-
isValid(value:
|
|
380
|
+
isValid(value: unknown): boolean;
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
|
|
@@ -393,11 +393,11 @@ export type TimestampAttribute = TimestampAttribute$instance;
|
|
|
393
393
|
export class UIHintAttribute$instance extends System_Internal.Attribute$instance {
|
|
394
394
|
constructor(uiHint: string);
|
|
395
395
|
constructor(uiHint: string, presentationLayer: string);
|
|
396
|
-
constructor(uiHint: string, presentationLayer: string, controlParameters:
|
|
397
|
-
readonly controlParameters: IDictionary_2<CLROf<string>,
|
|
396
|
+
constructor(uiHint: string, presentationLayer: string, controlParameters: unknown[]);
|
|
397
|
+
readonly controlParameters: IDictionary_2<CLROf<string>, unknown>;
|
|
398
398
|
readonly presentationLayer: string;
|
|
399
399
|
readonly uiHint: string;
|
|
400
|
-
equals(obj:
|
|
400
|
+
equals(obj: unknown): boolean;
|
|
401
401
|
getHashCode(): int;
|
|
402
402
|
}
|
|
403
403
|
|
|
@@ -406,7 +406,7 @@ export type UIHintAttribute = UIHintAttribute$instance;
|
|
|
406
406
|
|
|
407
407
|
export class UrlAttribute$instance extends DataTypeAttribute$instance {
|
|
408
408
|
constructor();
|
|
409
|
-
isValid(value:
|
|
409
|
+
isValid(value: unknown): boolean;
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
|
|
@@ -418,52 +418,54 @@ export abstract class ValidationAttribute$instance extends System_Internal.Attri
|
|
|
418
418
|
errorMessageResourceType: Type;
|
|
419
419
|
readonly requiresValidationContext: boolean;
|
|
420
420
|
formatErrorMessage(name: string): string;
|
|
421
|
-
getValidationResult(value:
|
|
422
|
-
isValid(value:
|
|
423
|
-
validate(value:
|
|
424
|
-
validate(value:
|
|
421
|
+
getValidationResult(value: unknown, validationContext: ValidationContext): ValidationResult;
|
|
422
|
+
isValid(value: unknown): boolean;
|
|
423
|
+
validate(value: unknown, name: string): void;
|
|
424
|
+
validate(value: unknown, validationContext: ValidationContext): void;
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
|
|
428
428
|
export type ValidationAttribute = ValidationAttribute$instance;
|
|
429
429
|
|
|
430
430
|
export class ValidationContext$instance {
|
|
431
|
-
constructor(instance:
|
|
432
|
-
constructor(instance:
|
|
433
|
-
constructor(instance:
|
|
434
|
-
constructor(instance:
|
|
431
|
+
constructor(instance: unknown);
|
|
432
|
+
constructor(instance: unknown, items: IDictionary_2<unknown, unknown>);
|
|
433
|
+
constructor(instance: unknown, serviceProvider: IServiceProvider, items: IDictionary_2<unknown, unknown>);
|
|
434
|
+
constructor(instance: unknown, displayName: string, serviceProvider: IServiceProvider, items: IDictionary_2<unknown, unknown>);
|
|
435
435
|
displayName: string;
|
|
436
|
-
readonly items: IDictionary_2<
|
|
436
|
+
readonly items: IDictionary_2<unknown, unknown>;
|
|
437
437
|
memberName: string;
|
|
438
|
-
readonly objectInstance:
|
|
438
|
+
readonly objectInstance: unknown;
|
|
439
439
|
readonly objectType: Type;
|
|
440
|
-
getService(serviceType: Type):
|
|
441
|
-
initializeServiceProvider(serviceProvider: Func_2<Type,
|
|
440
|
+
getService(serviceType: Type): unknown;
|
|
441
|
+
initializeServiceProvider(serviceProvider: Func_2<Type, unknown>): void;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
|
|
445
445
|
export interface __ValidationContext$views {
|
|
446
|
-
|
|
446
|
+
As_IServiceProvider(): System_Internal.IServiceProvider$instance;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
+
export interface ValidationContext$instance extends System_Internal.IServiceProvider$instance {}
|
|
450
|
+
|
|
449
451
|
export type ValidationContext = ValidationContext$instance & __ValidationContext$views;
|
|
450
452
|
|
|
451
453
|
|
|
452
454
|
export class ValidationException$instance extends System_Internal.Exception$instance {
|
|
453
|
-
constructor(validationResult: ValidationResult, validatingAttribute: ValidationAttribute, value:
|
|
454
|
-
constructor(errorMessage: string, validatingAttribute: ValidationAttribute, value:
|
|
455
|
+
constructor(validationResult: ValidationResult, validatingAttribute: ValidationAttribute, value: unknown);
|
|
456
|
+
constructor(errorMessage: string, validatingAttribute: ValidationAttribute, value: unknown);
|
|
455
457
|
constructor();
|
|
456
458
|
constructor(message: string);
|
|
457
459
|
constructor(message: string, innerException: Exception);
|
|
458
460
|
readonly validationAttribute: ValidationAttribute;
|
|
459
461
|
readonly validationResult: ValidationResult;
|
|
460
|
-
readonly value:
|
|
462
|
+
readonly value: unknown;
|
|
461
463
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
462
464
|
}
|
|
463
465
|
|
|
464
466
|
|
|
465
467
|
export interface __ValidationException$views {
|
|
466
|
-
|
|
468
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
467
469
|
}
|
|
468
470
|
|
|
469
471
|
export type ValidationException = ValidationException$instance & __ValidationException$views;
|
|
@@ -482,14 +484,14 @@ export class ValidationResult$instance {
|
|
|
482
484
|
export type ValidationResult = ValidationResult$instance;
|
|
483
485
|
|
|
484
486
|
export abstract class Validator$instance {
|
|
485
|
-
static
|
|
486
|
-
static
|
|
487
|
-
static
|
|
488
|
-
static
|
|
489
|
-
static
|
|
490
|
-
static
|
|
491
|
-
static
|
|
492
|
-
static
|
|
487
|
+
static tryValidateObject2(instance: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>, validateAllProperties: boolean): boolean;
|
|
488
|
+
static tryValidateObject2(instance: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>): boolean;
|
|
489
|
+
static tryValidateProperty(value: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>): boolean;
|
|
490
|
+
static tryValidateValue(value: unknown, validationContext: ValidationContext, validationResults: ICollection_1<ValidationResult>, validationAttributes: IEnumerable_1<ValidationAttribute>): boolean;
|
|
491
|
+
static validateObject2(instance: unknown, validationContext: ValidationContext, validateAllProperties: boolean): void;
|
|
492
|
+
static validateObject2(instance: unknown, validationContext: ValidationContext): void;
|
|
493
|
+
static validateProperty(value: unknown, validationContext: ValidationContext): void;
|
|
494
|
+
static validateValue(value: unknown, validationContext: ValidationContext, validationAttributes: IEnumerable_1<ValidationAttribute>): void;
|
|
493
495
|
}
|
|
494
496
|
|
|
495
497
|
|
|
@@ -7453,7 +7453,7 @@
|
|
|
7453
7453
|
{
|
|
7454
7454
|
"stableId": "System.ComponentModel.TypeConverter:System.ComponentModel.Design.CommandID::ID:System.Int32",
|
|
7455
7455
|
"clrName": "ID",
|
|
7456
|
-
"tsEmitName": "
|
|
7456
|
+
"tsEmitName": "ID",
|
|
7457
7457
|
"metadataToken": 385876356,
|
|
7458
7458
|
"canonicalSignature": ":System.Int32",
|
|
7459
7459
|
"normalizedSignature": "ID|:System.Int32|static=false|accessor=get",
|
|
@@ -7557,7 +7557,7 @@
|
|
|
7557
7557
|
],
|
|
7558
7558
|
"exposedProperties": [
|
|
7559
7559
|
{
|
|
7560
|
-
"tsName": "
|
|
7560
|
+
"tsName": "ID",
|
|
7561
7561
|
"isStatic": false,
|
|
7562
7562
|
"tsSignatureId": "ID|:System.Int32|static=false|accessor=get",
|
|
7563
7563
|
"target": {
|