@tsonic/microsoft-extensions 10.0.5 → 10.0.8
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.Extensions.Caching.Distributed/internal/index.d.ts +21 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +25 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +41 -33
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +98 -89
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +13 -11
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +16 -10
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +15 -9
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +17 -17
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +6 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +19 -11
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +129 -118
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +18 -18
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +47 -31
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +25 -19
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +39 -39
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +12 -12
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +21 -15
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +21 -13
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +16 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +14 -10
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +20 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +33 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +53 -39
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +13 -13
- package/Microsoft.Extensions.Http/internal/index.d.ts +14 -10
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +13 -9
- package/Microsoft.Extensions.Internal/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Localization/internal/index.d.ts +31 -19
- package/Microsoft.Extensions.Logging/internal/index.d.ts +80 -66
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +28 -22
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +24 -10
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +6 -6
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +23 -7
- package/Microsoft.Extensions.Options/internal/index.d.ts +168 -128
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +40 -26
- package/Microsoft.Extensions.Validation/internal/index.d.ts +31 -21
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -3
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +10 -4
- package/System.Diagnostics/internal/index.d.ts +25 -12
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +120 -70
- package/System.Net.Http/internal/index.d.ts +3 -3
- package/System.Security.Cryptography/internal/index.d.ts +12 -7
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +150 -75
- package/System.Security.Cryptography.Xml/internal/index.d.ts +101 -22
- package/__internal/extensions/index.d.ts +614 -505
- package/package.json +3 -3
|
@@ -9,27 +9,29 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { ptr } from "@tsonic/core/types.js";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
13
|
-
import type {
|
|
14
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
15
|
-
import type { IEnumerable, IEnumerator } from "@tsonic/dotnet/System.Collections.js";
|
|
16
|
-
import
|
|
17
|
-
import type {
|
|
18
|
-
import
|
|
19
|
-
import type {
|
|
12
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import type { ICollection_1, IComparer_1, IEnumerable_1, IEnumerator_1, IEqualityComparer_1, IList_1, IReadOnlyCollection_1, IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
15
|
+
import type { IEnumerable, IEnumerator } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
16
|
+
import type { StringBuilder } from "@tsonic/dotnet/System.Text/internal/index.js";
|
|
17
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
18
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
19
|
+
import type { Action, Action_1, Boolean as ClrBoolean, Char, Func_1, IDisposable, IEquatable_1, Int32, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, String as ClrString, StringComparison, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
20
20
|
|
|
21
21
|
export interface IChangeToken$instance {
|
|
22
22
|
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
23
23
|
|
|
24
24
|
readonly HasChanged: boolean;
|
|
25
25
|
readonly ActiveChangeCallbacks: boolean;
|
|
26
|
-
RegisterChangeCallback(callback:
|
|
26
|
+
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
export type IChangeToken = IChangeToken$instance;
|
|
31
31
|
|
|
32
32
|
export interface InplaceStringBuilder$instance {
|
|
33
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_InplaceStringBuilder: never;
|
|
34
|
+
|
|
33
35
|
Capacity: int;
|
|
34
36
|
Append(value: string): void;
|
|
35
37
|
Append(segment: StringSegment): void;
|
|
@@ -47,18 +49,19 @@ export const InplaceStringBuilder: {
|
|
|
47
49
|
export type InplaceStringBuilder = InplaceStringBuilder$instance;
|
|
48
50
|
|
|
49
51
|
export interface StringSegment$instance {
|
|
52
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringSegment: never;
|
|
53
|
+
|
|
50
54
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
51
55
|
|
|
52
56
|
readonly Buffer: string | undefined;
|
|
53
57
|
readonly HasValue: boolean;
|
|
54
|
-
readonly [index: number]: char;
|
|
55
58
|
readonly Length: int;
|
|
56
59
|
readonly Offset: int;
|
|
57
60
|
readonly Value: string | undefined;
|
|
58
|
-
AsMemory():
|
|
59
|
-
AsSpan():
|
|
60
|
-
AsSpan(start: int):
|
|
61
|
-
AsSpan(start: int, length: int):
|
|
61
|
+
AsMemory(): ReadOnlyMemory_1<System_Internal.Char>;
|
|
62
|
+
AsSpan(): ReadOnlySpan_1<System_Internal.Char>;
|
|
63
|
+
AsSpan(start: int): ReadOnlySpan_1<System_Internal.Char>;
|
|
64
|
+
AsSpan(start: int, length: int): ReadOnlySpan_1<System_Internal.Char>;
|
|
62
65
|
EndsWith(text: string, comparisonType: StringComparison): boolean;
|
|
63
66
|
Equals(obj: unknown): boolean;
|
|
64
67
|
Equals(other: StringSegment): boolean;
|
|
@@ -96,9 +99,11 @@ export const StringSegment: {
|
|
|
96
99
|
};
|
|
97
100
|
|
|
98
101
|
|
|
99
|
-
export type StringSegment = StringSegment$instance;
|
|
102
|
+
export type StringSegment = StringSegment$instance & { readonly [index: number]: char; };
|
|
100
103
|
|
|
101
104
|
export interface StringTokenizer$instance {
|
|
105
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringTokenizer: never;
|
|
106
|
+
|
|
102
107
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
103
108
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
104
109
|
|
|
@@ -115,6 +120,8 @@ export const StringTokenizer: {
|
|
|
115
120
|
export type StringTokenizer = StringTokenizer$instance;
|
|
116
121
|
|
|
117
122
|
export interface StringTokenizer_Enumerator$instance {
|
|
123
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringTokenizer_Enumerator: never;
|
|
124
|
+
|
|
118
125
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
119
126
|
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
120
127
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -134,6 +141,8 @@ export const StringTokenizer_Enumerator: {
|
|
|
134
141
|
export type StringTokenizer_Enumerator = StringTokenizer_Enumerator$instance;
|
|
135
142
|
|
|
136
143
|
export interface StringValues$instance {
|
|
144
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringValues: never;
|
|
145
|
+
|
|
137
146
|
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
138
147
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
139
148
|
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
@@ -143,7 +152,6 @@ export interface StringValues$instance {
|
|
|
143
152
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
144
153
|
|
|
145
154
|
readonly Count: int;
|
|
146
|
-
readonly [index: number]: string | undefined;
|
|
147
155
|
Equals(other: StringValues): boolean;
|
|
148
156
|
Equals(other: string): boolean;
|
|
149
157
|
Equals(other: string[]): boolean;
|
|
@@ -171,9 +179,11 @@ export const StringValues: {
|
|
|
171
179
|
};
|
|
172
180
|
|
|
173
181
|
|
|
174
|
-
export type StringValues = StringValues$instance;
|
|
182
|
+
export type StringValues = StringValues$instance & { readonly [index: number]: string | undefined; };
|
|
175
183
|
|
|
176
184
|
export interface StringValues_Enumerator$instance {
|
|
185
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringValues_Enumerator: never;
|
|
186
|
+
|
|
177
187
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
178
188
|
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
179
189
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -193,11 +203,13 @@ export const StringValues_Enumerator: {
|
|
|
193
203
|
export type StringValues_Enumerator = StringValues_Enumerator$instance;
|
|
194
204
|
|
|
195
205
|
export interface CancellationChangeToken$instance {
|
|
206
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_CancellationChangeToken: never;
|
|
207
|
+
|
|
196
208
|
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
197
209
|
|
|
198
210
|
ActiveChangeCallbacks: boolean;
|
|
199
211
|
readonly HasChanged: boolean;
|
|
200
|
-
RegisterChangeCallback(callback:
|
|
212
|
+
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
201
213
|
}
|
|
202
214
|
|
|
203
215
|
|
|
@@ -213,18 +225,20 @@ export interface __CancellationChangeToken$views {
|
|
|
213
225
|
export type CancellationChangeToken = CancellationChangeToken$instance & __CancellationChangeToken$views;
|
|
214
226
|
|
|
215
227
|
|
|
216
|
-
export interface CompositeChangeToken$instance {
|
|
228
|
+
export interface CompositeChangeToken$instance extends IChangeToken$instance {
|
|
229
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_CompositeChangeToken: never;
|
|
230
|
+
|
|
217
231
|
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
218
232
|
|
|
219
233
|
readonly ActiveChangeCallbacks: boolean;
|
|
220
|
-
readonly ChangeTokens:
|
|
234
|
+
readonly ChangeTokens: IReadOnlyList_1<IChangeToken>;
|
|
221
235
|
readonly HasChanged: boolean;
|
|
222
|
-
RegisterChangeCallback(callback:
|
|
236
|
+
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
223
237
|
}
|
|
224
238
|
|
|
225
239
|
|
|
226
240
|
export const CompositeChangeToken: {
|
|
227
|
-
new(changeTokens:
|
|
241
|
+
new(changeTokens: IReadOnlyList_1<IChangeToken>): CompositeChangeToken;
|
|
228
242
|
};
|
|
229
243
|
|
|
230
244
|
|
|
@@ -232,12 +246,12 @@ export interface __CompositeChangeToken$views {
|
|
|
232
246
|
As_IChangeToken(): IChangeToken$instance;
|
|
233
247
|
}
|
|
234
248
|
|
|
235
|
-
export interface CompositeChangeToken$instance extends IChangeToken$instance {}
|
|
236
|
-
|
|
237
249
|
export type CompositeChangeToken = CompositeChangeToken$instance & __CompositeChangeToken$views;
|
|
238
250
|
|
|
239
251
|
|
|
240
252
|
export interface StringSegmentComparer$instance {
|
|
253
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringSegmentComparer: never;
|
|
254
|
+
|
|
241
255
|
readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
|
|
242
256
|
readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
|
|
243
257
|
|
|
@@ -256,8 +270,8 @@ export const StringSegmentComparer: {
|
|
|
256
270
|
export type StringSegmentComparer = StringSegmentComparer$instance;
|
|
257
271
|
|
|
258
272
|
export abstract class ChangeToken$instance {
|
|
259
|
-
static OnChange<TState>(changeTokenProducer:
|
|
260
|
-
static OnChange(changeTokenProducer:
|
|
273
|
+
static OnChange<TState>(changeTokenProducer: Func_1<IChangeToken>, changeTokenConsumer: Action_1<TState>, state: TState): IDisposable;
|
|
274
|
+
static OnChange(changeTokenProducer: Func_1<IChangeToken>, changeTokenConsumer: Action): IDisposable;
|
|
261
275
|
}
|
|
262
276
|
|
|
263
277
|
|
|
@@ -9,13 +9,13 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { ptr } from "@tsonic/core/types.js";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
|
-
import type {
|
|
13
|
-
import type { ValidationAttribute, ValidationContext } from "@tsonic/dotnet/System.ComponentModel.DataAnnotations.js";
|
|
14
|
-
import
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import
|
|
18
|
-
import type {
|
|
12
|
+
import type { Dictionary_2, IList_1, IReadOnlyList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import type { ValidationAttribute, ValidationContext } from "@tsonic/dotnet/System.ComponentModel.DataAnnotations/internal/index.js";
|
|
14
|
+
import type { ParameterInfo } from "@tsonic/dotnet/System.Reflection/internal/index.js";
|
|
15
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
16
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
17
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
18
|
+
import type { Action_1, Attribute, Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Type, ValueType } from "@tsonic/dotnet/System/internal/index.js";
|
|
19
19
|
|
|
20
20
|
export interface IValidatableInfo$instance {
|
|
21
21
|
readonly __tsonic_iface_Microsoft_Extensions_Validation_IValidatableInfo: never;
|
|
@@ -37,9 +37,11 @@ export interface IValidatableInfoResolver$instance {
|
|
|
37
37
|
export type IValidatableInfoResolver = IValidatableInfoResolver$instance;
|
|
38
38
|
|
|
39
39
|
export interface ValidationErrorContext$instance {
|
|
40
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidationErrorContext: never;
|
|
41
|
+
|
|
40
42
|
get Container(): unknown | undefined;
|
|
41
43
|
set Container(value: unknown | undefined);
|
|
42
|
-
Errors:
|
|
44
|
+
Errors: IReadOnlyList_1<System_Internal.String>;
|
|
43
45
|
Name: string;
|
|
44
46
|
Path: string;
|
|
45
47
|
}
|
|
@@ -53,6 +55,8 @@ export const ValidationErrorContext: {
|
|
|
53
55
|
export type ValidationErrorContext = ValidationErrorContext$instance;
|
|
54
56
|
|
|
55
57
|
export interface SkipValidationAttribute$instance extends Attribute {
|
|
58
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_SkipValidationAttribute: never;
|
|
59
|
+
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
|
|
@@ -63,7 +67,9 @@ export const SkipValidationAttribute: {
|
|
|
63
67
|
|
|
64
68
|
export type SkipValidationAttribute = SkipValidationAttribute$instance;
|
|
65
69
|
|
|
66
|
-
export interface ValidatableParameterInfo$instance {
|
|
70
|
+
export interface ValidatableParameterInfo$instance extends IValidatableInfo$instance {
|
|
71
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidatableParameterInfo: never;
|
|
72
|
+
|
|
67
73
|
readonly __tsonic_iface_Microsoft_Extensions_Validation_IValidatableInfo: never;
|
|
68
74
|
|
|
69
75
|
GetValidationAttributes(): ValidationAttribute[];
|
|
@@ -79,12 +85,12 @@ export interface __ValidatableParameterInfo$views {
|
|
|
79
85
|
As_IValidatableInfo(): IValidatableInfo$instance;
|
|
80
86
|
}
|
|
81
87
|
|
|
82
|
-
export interface ValidatableParameterInfo$instance extends IValidatableInfo$instance {}
|
|
83
|
-
|
|
84
88
|
export type ValidatableParameterInfo = ValidatableParameterInfo$instance & __ValidatableParameterInfo$views;
|
|
85
89
|
|
|
86
90
|
|
|
87
|
-
export interface ValidatablePropertyInfo$instance {
|
|
91
|
+
export interface ValidatablePropertyInfo$instance extends IValidatableInfo$instance {
|
|
92
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidatablePropertyInfo: never;
|
|
93
|
+
|
|
88
94
|
readonly __tsonic_iface_Microsoft_Extensions_Validation_IValidatableInfo: never;
|
|
89
95
|
|
|
90
96
|
GetValidationAttributes(): ValidationAttribute[];
|
|
@@ -100,12 +106,12 @@ export interface __ValidatablePropertyInfo$views {
|
|
|
100
106
|
As_IValidatableInfo(): IValidatableInfo$instance;
|
|
101
107
|
}
|
|
102
108
|
|
|
103
|
-
export interface ValidatablePropertyInfo$instance extends IValidatableInfo$instance {}
|
|
104
|
-
|
|
105
109
|
export type ValidatablePropertyInfo = ValidatablePropertyInfo$instance & __ValidatablePropertyInfo$views;
|
|
106
110
|
|
|
107
111
|
|
|
108
112
|
export interface ValidatableTypeAttribute$instance extends Attribute {
|
|
113
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidatableTypeAttribute: never;
|
|
114
|
+
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
|
|
@@ -116,7 +122,9 @@ export const ValidatableTypeAttribute: {
|
|
|
116
122
|
|
|
117
123
|
export type ValidatableTypeAttribute = ValidatableTypeAttribute$instance;
|
|
118
124
|
|
|
119
|
-
export interface ValidatableTypeInfo$instance {
|
|
125
|
+
export interface ValidatableTypeInfo$instance extends IValidatableInfo$instance {
|
|
126
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidatableTypeInfo: never;
|
|
127
|
+
|
|
120
128
|
readonly __tsonic_iface_Microsoft_Extensions_Validation_IValidatableInfo: never;
|
|
121
129
|
|
|
122
130
|
GetValidationAttributes(): ValidationAttribute[];
|
|
@@ -124,7 +132,7 @@ export interface ValidatableTypeInfo$instance {
|
|
|
124
132
|
}
|
|
125
133
|
|
|
126
134
|
|
|
127
|
-
export const ValidatableTypeInfo: (abstract new(type: Type, members:
|
|
135
|
+
export const ValidatableTypeInfo: (abstract new(type: Type, members: IReadOnlyList_1<ValidatablePropertyInfo>) => ValidatableTypeInfo) & {
|
|
128
136
|
};
|
|
129
137
|
|
|
130
138
|
|
|
@@ -132,17 +140,17 @@ export interface __ValidatableTypeInfo$views {
|
|
|
132
140
|
As_IValidatableInfo(): IValidatableInfo$instance;
|
|
133
141
|
}
|
|
134
142
|
|
|
135
|
-
export interface ValidatableTypeInfo$instance extends IValidatableInfo$instance {}
|
|
136
|
-
|
|
137
143
|
export type ValidatableTypeInfo = ValidatableTypeInfo$instance & __ValidatableTypeInfo$views;
|
|
138
144
|
|
|
139
145
|
|
|
140
146
|
export interface ValidateContext$instance {
|
|
147
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidateContext: never;
|
|
148
|
+
|
|
141
149
|
CurrentDepth: int;
|
|
142
150
|
CurrentValidationPath: string;
|
|
143
151
|
ValidationContext: ValidationContext;
|
|
144
|
-
get ValidationErrors():
|
|
145
|
-
set ValidationErrors(value:
|
|
152
|
+
get ValidationErrors(): Dictionary_2<System_Internal.String, string[]> | undefined;
|
|
153
|
+
set ValidationErrors(value: Dictionary_2<System_Internal.String, string[]> | undefined);
|
|
146
154
|
ValidationOptions: ValidationOptions;
|
|
147
155
|
}
|
|
148
156
|
|
|
@@ -155,8 +163,10 @@ export const ValidateContext: {
|
|
|
155
163
|
export type ValidateContext = ValidateContext$instance;
|
|
156
164
|
|
|
157
165
|
export interface ValidationOptions$instance {
|
|
166
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidationOptions: never;
|
|
167
|
+
|
|
158
168
|
MaxDepth: int;
|
|
159
|
-
readonly Resolvers:
|
|
169
|
+
readonly Resolvers: IList_1<IValidatableInfoResolver>;
|
|
160
170
|
TryGetValidatableParameterInfo(parameterInfo: ParameterInfo, validatableInfo: IValidatableInfo): boolean;
|
|
161
171
|
TryGetValidatableTypeInfo(type: Type, validatableTypeInfo: IValidatableInfo): boolean;
|
|
162
172
|
}
|
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import type {
|
|
9
|
+
import type { TextEncoderSettings } from "@tsonic/dotnet/System.Text.Encodings.Web/internal/index.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
12
|
|
|
13
13
|
export interface WebEncoderOptions$instance {
|
|
14
|
+
readonly __tsonic_type_Microsoft_Extensions_WebEncoders_WebEncoderOptions: never;
|
|
15
|
+
|
|
14
16
|
get TextEncoderSettings(): TextEncoderSettings | undefined;
|
|
15
17
|
set TextEncoderSettings(value: TextEncoderSettings | undefined);
|
|
16
18
|
}
|
|
@@ -10,12 +10,14 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
13
|
-
import type { TextWriter } from "@tsonic/dotnet/System.IO.js";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
13
|
+
import type { TextWriter } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
14
|
+
import * as System_Text_Encodings_Web_Internal from "@tsonic/dotnet/System.Text.Encodings.Web/internal/index.js";
|
|
15
|
+
import type { HtmlEncoder, JavaScriptEncoder, UrlEncoder } from "@tsonic/dotnet/System.Text.Encodings.Web/internal/index.js";
|
|
16
|
+
import type { Boolean as ClrBoolean, Char, Int32, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
17
17
|
|
|
18
18
|
export interface HtmlTestEncoder$instance extends HtmlEncoder {
|
|
19
|
+
readonly __tsonic_type_Microsoft_Extensions_WebEncoders_Testing_HtmlTestEncoder: never;
|
|
20
|
+
|
|
19
21
|
readonly MaxOutputCharactersPerInputCharacter: int;
|
|
20
22
|
Encode(value: string): string;
|
|
21
23
|
Encode(output: TextWriter, value: char[], startIndex: int, characterCount: int): void;
|
|
@@ -34,6 +36,8 @@ export const HtmlTestEncoder: {
|
|
|
34
36
|
export type HtmlTestEncoder = HtmlTestEncoder$instance;
|
|
35
37
|
|
|
36
38
|
export interface JavaScriptTestEncoder$instance extends JavaScriptEncoder {
|
|
39
|
+
readonly __tsonic_type_Microsoft_Extensions_WebEncoders_Testing_JavaScriptTestEncoder: never;
|
|
40
|
+
|
|
37
41
|
readonly MaxOutputCharactersPerInputCharacter: int;
|
|
38
42
|
Encode(value: string): string;
|
|
39
43
|
Encode(output: TextWriter, value: char[], startIndex: int, characterCount: int): void;
|
|
@@ -52,6 +56,8 @@ export const JavaScriptTestEncoder: {
|
|
|
52
56
|
export type JavaScriptTestEncoder = JavaScriptTestEncoder$instance;
|
|
53
57
|
|
|
54
58
|
export interface UrlTestEncoder$instance extends UrlEncoder {
|
|
59
|
+
readonly __tsonic_type_Microsoft_Extensions_WebEncoders_Testing_UrlTestEncoder: never;
|
|
60
|
+
|
|
55
61
|
readonly MaxOutputCharactersPerInputCharacter: int;
|
|
56
62
|
Encode(value: string): string;
|
|
57
63
|
Encode(output: TextWriter, value: char[], startIndex: int, characterCount: int): void;
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
10
|
-
import type { ICollection, IEnumerable, IEnumerator } from "@tsonic/dotnet/System.Collections.js";
|
|
11
|
-
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel.js";
|
|
12
|
-
import type { Component, IComponent, ISupportInitialize, ISynchronizeInvoke } from "@tsonic/dotnet/System.ComponentModel.js";
|
|
13
|
-
import * as System_Diagnostics_Internal from "@tsonic/dotnet/System.Diagnostics.js";
|
|
14
|
-
import type { TraceEventCache, TraceEventType, TraceListener } from "@tsonic/dotnet/System.Diagnostics.js";
|
|
15
|
-
import * as
|
|
16
|
-
import type {
|
|
17
|
-
import * as
|
|
18
|
-
import type {
|
|
9
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
10
|
+
import type { ICollection, IEnumerable, IEnumerator } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
11
|
+
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel/internal/index.js";
|
|
12
|
+
import type { Component, IComponent, ISupportInitialize, ISynchronizeInvoke } from "@tsonic/dotnet/System.ComponentModel/internal/index.js";
|
|
13
|
+
import * as System_Diagnostics_Internal from "@tsonic/dotnet/System.Diagnostics/internal/index.js";
|
|
14
|
+
import type { TraceEventCache, TraceEventType, TraceListener } from "@tsonic/dotnet/System.Diagnostics/internal/index.js";
|
|
15
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
16
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
17
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
18
|
+
import type { AsyncCallback, Boolean as ClrBoolean, Byte, DateTime, Enum, EventArgs, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, MulticastDelegate, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
19
19
|
|
|
20
20
|
export enum EventLogEntryType {
|
|
21
21
|
Error = 1,
|
|
@@ -37,6 +37,8 @@ export type EntryWrittenEventHandler = (sender: unknown, e: EntryWrittenEventArg
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
export interface EntryWrittenEventArgs$instance extends EventArgs {
|
|
40
|
+
readonly __tsonic_type_System_Diagnostics_EntryWrittenEventArgs: never;
|
|
41
|
+
|
|
40
42
|
readonly Entry: EventLogEntry;
|
|
41
43
|
}
|
|
42
44
|
|
|
@@ -50,6 +52,8 @@ export const EntryWrittenEventArgs: {
|
|
|
50
52
|
export type EntryWrittenEventArgs = EntryWrittenEventArgs$instance;
|
|
51
53
|
|
|
52
54
|
export interface EventInstance$instance {
|
|
55
|
+
readonly __tsonic_type_System_Diagnostics_EventInstance: never;
|
|
56
|
+
|
|
53
57
|
CategoryId: int;
|
|
54
58
|
EntryType: EventLogEntryType;
|
|
55
59
|
InstanceId: long;
|
|
@@ -65,6 +69,8 @@ export const EventInstance: {
|
|
|
65
69
|
export type EventInstance = EventInstance$instance;
|
|
66
70
|
|
|
67
71
|
export interface EventLog$instance extends Component {
|
|
72
|
+
readonly __tsonic_type_System_Diagnostics_EventLog: never;
|
|
73
|
+
|
|
68
74
|
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
69
75
|
readonly __tsonic_iface_System_ComponentModel_ISupportInitialize: never;
|
|
70
76
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -128,6 +134,8 @@ export const EventLog: {
|
|
|
128
134
|
export type EventLog = EventLog$instance;
|
|
129
135
|
|
|
130
136
|
export interface EventLogEntry$instance extends Component {
|
|
137
|
+
readonly __tsonic_type_System_Diagnostics_EventLogEntry: never;
|
|
138
|
+
|
|
131
139
|
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
132
140
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
133
141
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
@@ -157,11 +165,12 @@ export const EventLogEntry: {
|
|
|
157
165
|
export type EventLogEntry = EventLogEntry$instance;
|
|
158
166
|
|
|
159
167
|
export interface EventLogEntryCollection$instance {
|
|
168
|
+
readonly __tsonic_type_System_Diagnostics_EventLogEntryCollection: never;
|
|
169
|
+
|
|
160
170
|
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
161
171
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
162
172
|
|
|
163
173
|
readonly Count: int;
|
|
164
|
-
readonly [index: number]: EventLogEntry;
|
|
165
174
|
CopyTo(entries: EventLogEntry[], index: int): void;
|
|
166
175
|
GetEnumerator(): IEnumerator;
|
|
167
176
|
}
|
|
@@ -171,9 +180,11 @@ export const EventLogEntryCollection: {
|
|
|
171
180
|
};
|
|
172
181
|
|
|
173
182
|
|
|
174
|
-
export type EventLogEntryCollection = EventLogEntryCollection$instance;
|
|
183
|
+
export type EventLogEntryCollection = EventLogEntryCollection$instance & { readonly [index: number]: EventLogEntry; };
|
|
175
184
|
|
|
176
185
|
export interface EventLogTraceListener$instance extends TraceListener {
|
|
186
|
+
readonly __tsonic_type_System_Diagnostics_EventLogTraceListener: never;
|
|
187
|
+
|
|
177
188
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
178
189
|
|
|
179
190
|
EventLog: EventLog;
|
|
@@ -199,6 +210,8 @@ export const EventLogTraceListener: {
|
|
|
199
210
|
export type EventLogTraceListener = EventLogTraceListener$instance;
|
|
200
211
|
|
|
201
212
|
export interface EventSourceCreationData$instance {
|
|
213
|
+
readonly __tsonic_type_System_Diagnostics_EventSourceCreationData: never;
|
|
214
|
+
|
|
202
215
|
CategoryCount: int;
|
|
203
216
|
CategoryResourceFile: string;
|
|
204
217
|
LogName: string;
|