@tsonic/microsoft-extensions 10.0.3 → 10.0.7
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 +27 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +29 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +54 -31
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +141 -70
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +17 -11
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +25 -8
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +24 -7
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +16 -9
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +21 -13
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +6 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +29 -10
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +171 -114
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +18 -18
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +51 -31
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +31 -19
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -1
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +65 -38
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +16 -12
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +15 -11
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +36 -15
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +23 -13
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +16 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +24 -10
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +30 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +47 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +84 -39
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +22 -13
- package/Microsoft.Extensions.Http/internal/index.d.ts +18 -10
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +21 -9
- package/Microsoft.Extensions.Internal/internal/index.d.ts +9 -5
- package/Microsoft.Extensions.Localization/internal/index.d.ts +48 -19
- package/Microsoft.Extensions.Logging/internal/index.d.ts +108 -66
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +41 -22
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +10 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +34 -10
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +8 -5
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +14 -7
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +9 -6
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +33 -7
- package/Microsoft.Extensions.Options/internal/index.d.ts +257 -128
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +68 -22
- package/Microsoft.Extensions.Primitives.d.ts +3 -0
- package/Microsoft.Extensions.Validation/internal/index.d.ts +41 -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 +37 -10
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +146 -70
- package/System.Net.Http/internal/index.d.ts +7 -3
- package/System.Security.Cryptography/internal/index.d.ts +16 -5
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +162 -69
- package/System.Security.Cryptography.Xml/internal/index.d.ts +115 -16
- package/__internal/extensions/index.d.ts +633 -487
- package/package.json +3 -3
|
@@ -9,25 +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
|
+
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
23
|
+
|
|
22
24
|
readonly HasChanged: boolean;
|
|
23
25
|
readonly ActiveChangeCallbacks: boolean;
|
|
24
|
-
RegisterChangeCallback(callback:
|
|
26
|
+
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
|
|
28
30
|
export type IChangeToken = IChangeToken$instance;
|
|
29
31
|
|
|
30
32
|
export interface InplaceStringBuilder$instance {
|
|
33
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_InplaceStringBuilder: never;
|
|
34
|
+
|
|
31
35
|
Capacity: int;
|
|
32
36
|
Append(value: string): void;
|
|
33
37
|
Append(segment: StringSegment): void;
|
|
@@ -45,16 +49,20 @@ export const InplaceStringBuilder: {
|
|
|
45
49
|
export type InplaceStringBuilder = InplaceStringBuilder$instance;
|
|
46
50
|
|
|
47
51
|
export interface StringSegment$instance {
|
|
52
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringSegment: never;
|
|
53
|
+
|
|
54
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
55
|
+
|
|
48
56
|
readonly Buffer: string | undefined;
|
|
49
57
|
readonly HasValue: boolean;
|
|
50
58
|
readonly [index: number]: char;
|
|
51
59
|
readonly Length: int;
|
|
52
60
|
readonly Offset: int;
|
|
53
61
|
readonly Value: string | undefined;
|
|
54
|
-
AsMemory():
|
|
55
|
-
AsSpan():
|
|
56
|
-
AsSpan(start: int):
|
|
57
|
-
AsSpan(start: int, length: int):
|
|
62
|
+
AsMemory(): ReadOnlyMemory_1<System_Internal.Char>;
|
|
63
|
+
AsSpan(): ReadOnlySpan_1<System_Internal.Char>;
|
|
64
|
+
AsSpan(start: int): ReadOnlySpan_1<System_Internal.Char>;
|
|
65
|
+
AsSpan(start: int, length: int): ReadOnlySpan_1<System_Internal.Char>;
|
|
58
66
|
EndsWith(text: string, comparisonType: StringComparison): boolean;
|
|
59
67
|
Equals(obj: unknown): boolean;
|
|
60
68
|
Equals(other: StringSegment): boolean;
|
|
@@ -95,6 +103,11 @@ export const StringSegment: {
|
|
|
95
103
|
export type StringSegment = StringSegment$instance;
|
|
96
104
|
|
|
97
105
|
export interface StringTokenizer$instance {
|
|
106
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringTokenizer: never;
|
|
107
|
+
|
|
108
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
109
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
110
|
+
|
|
98
111
|
GetEnumerator(): StringTokenizer_Enumerator;
|
|
99
112
|
}
|
|
100
113
|
|
|
@@ -108,6 +121,12 @@ export const StringTokenizer: {
|
|
|
108
121
|
export type StringTokenizer = StringTokenizer$instance;
|
|
109
122
|
|
|
110
123
|
export interface StringTokenizer_Enumerator$instance {
|
|
124
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringTokenizer_Enumerator: never;
|
|
125
|
+
|
|
126
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
127
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
128
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
129
|
+
|
|
111
130
|
Current: StringSegment;
|
|
112
131
|
Dispose(): void;
|
|
113
132
|
MoveNext(): boolean;
|
|
@@ -123,6 +142,16 @@ export const StringTokenizer_Enumerator: {
|
|
|
123
142
|
export type StringTokenizer_Enumerator = StringTokenizer_Enumerator$instance;
|
|
124
143
|
|
|
125
144
|
export interface StringValues$instance {
|
|
145
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringValues: never;
|
|
146
|
+
|
|
147
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
148
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
149
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
150
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyCollection_1: never;
|
|
151
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyList_1: never;
|
|
152
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
153
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
154
|
+
|
|
126
155
|
readonly Count: int;
|
|
127
156
|
readonly [index: number]: string | undefined;
|
|
128
157
|
Equals(other: StringValues): boolean;
|
|
@@ -155,6 +184,12 @@ export const StringValues: {
|
|
|
155
184
|
export type StringValues = StringValues$instance;
|
|
156
185
|
|
|
157
186
|
export interface StringValues_Enumerator$instance {
|
|
187
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringValues_Enumerator: never;
|
|
188
|
+
|
|
189
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
190
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
191
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
192
|
+
|
|
158
193
|
readonly Current: string | undefined;
|
|
159
194
|
Dispose(): void;
|
|
160
195
|
MoveNext(): boolean;
|
|
@@ -170,9 +205,13 @@ export const StringValues_Enumerator: {
|
|
|
170
205
|
export type StringValues_Enumerator = StringValues_Enumerator$instance;
|
|
171
206
|
|
|
172
207
|
export interface CancellationChangeToken$instance {
|
|
208
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_CancellationChangeToken: never;
|
|
209
|
+
|
|
210
|
+
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
211
|
+
|
|
173
212
|
ActiveChangeCallbacks: boolean;
|
|
174
213
|
readonly HasChanged: boolean;
|
|
175
|
-
RegisterChangeCallback(callback:
|
|
214
|
+
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
176
215
|
}
|
|
177
216
|
|
|
178
217
|
|
|
@@ -188,16 +227,20 @@ export interface __CancellationChangeToken$views {
|
|
|
188
227
|
export type CancellationChangeToken = CancellationChangeToken$instance & __CancellationChangeToken$views;
|
|
189
228
|
|
|
190
229
|
|
|
191
|
-
export interface CompositeChangeToken$instance {
|
|
230
|
+
export interface CompositeChangeToken$instance extends IChangeToken$instance {
|
|
231
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_CompositeChangeToken: never;
|
|
232
|
+
|
|
233
|
+
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
234
|
+
|
|
192
235
|
readonly ActiveChangeCallbacks: boolean;
|
|
193
|
-
readonly ChangeTokens:
|
|
236
|
+
readonly ChangeTokens: IReadOnlyList_1<IChangeToken>;
|
|
194
237
|
readonly HasChanged: boolean;
|
|
195
|
-
RegisterChangeCallback(callback:
|
|
238
|
+
RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
|
|
196
239
|
}
|
|
197
240
|
|
|
198
241
|
|
|
199
242
|
export const CompositeChangeToken: {
|
|
200
|
-
new(changeTokens:
|
|
243
|
+
new(changeTokens: IReadOnlyList_1<IChangeToken>): CompositeChangeToken;
|
|
201
244
|
};
|
|
202
245
|
|
|
203
246
|
|
|
@@ -205,12 +248,15 @@ export interface __CompositeChangeToken$views {
|
|
|
205
248
|
As_IChangeToken(): IChangeToken$instance;
|
|
206
249
|
}
|
|
207
250
|
|
|
208
|
-
export interface CompositeChangeToken$instance extends IChangeToken$instance {}
|
|
209
|
-
|
|
210
251
|
export type CompositeChangeToken = CompositeChangeToken$instance & __CompositeChangeToken$views;
|
|
211
252
|
|
|
212
253
|
|
|
213
254
|
export interface StringSegmentComparer$instance {
|
|
255
|
+
readonly __tsonic_type_Microsoft_Extensions_Primitives_StringSegmentComparer: never;
|
|
256
|
+
|
|
257
|
+
readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
|
|
258
|
+
readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
|
|
259
|
+
|
|
214
260
|
Compare(x: StringSegment, y: StringSegment): int;
|
|
215
261
|
Equals(x: StringSegment, y: StringSegment): boolean;
|
|
216
262
|
GetHashCode(obj: StringSegment): int;
|
|
@@ -226,8 +272,8 @@ export const StringSegmentComparer: {
|
|
|
226
272
|
export type StringSegmentComparer = StringSegmentComparer$instance;
|
|
227
273
|
|
|
228
274
|
export abstract class ChangeToken$instance {
|
|
229
|
-
static OnChange<TState>(changeTokenProducer:
|
|
230
|
-
static OnChange(changeTokenProducer:
|
|
275
|
+
static OnChange<TState>(changeTokenProducer: Func_1<IChangeToken>, changeTokenConsumer: Action_1<TState>, state: TState): IDisposable;
|
|
276
|
+
static OnChange(changeTokenProducer: Func_1<IChangeToken>, changeTokenConsumer: Action): IDisposable;
|
|
231
277
|
}
|
|
232
278
|
|
|
233
279
|
|
|
@@ -25,3 +25,6 @@ export { StringTokenizer as StringTokenizer } from './Microsoft.Extensions.Primi
|
|
|
25
25
|
export { StringValues as StringValues } from './Microsoft.Extensions.Primitives/internal/index.js';
|
|
26
26
|
export { StringTokenizer_Enumerator as StringTokenizer_Enumerator } from './Microsoft.Extensions.Primitives/internal/index.js';
|
|
27
27
|
export { StringValues_Enumerator as StringValues_Enumerator } from './Microsoft.Extensions.Primitives/internal/index.js';
|
|
28
|
+
// Extension methods (C# using semantics)
|
|
29
|
+
export type { ExtensionMethods_Microsoft_Extensions_Primitives as ExtensionMethods } from './__internal/extensions/index.js';
|
|
30
|
+
|
|
@@ -9,15 +9,17 @@ 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
|
+
readonly __tsonic_iface_Microsoft_Extensions_Validation_IValidatableInfo: never;
|
|
22
|
+
|
|
21
23
|
ValidateAsync(value: unknown, context: ValidateContext, cancellationToken: CancellationToken): Task;
|
|
22
24
|
}
|
|
23
25
|
|
|
@@ -25,6 +27,8 @@ export interface IValidatableInfo$instance {
|
|
|
25
27
|
export type IValidatableInfo = IValidatableInfo$instance;
|
|
26
28
|
|
|
27
29
|
export interface IValidatableInfoResolver$instance {
|
|
30
|
+
readonly __tsonic_iface_Microsoft_Extensions_Validation_IValidatableInfoResolver: never;
|
|
31
|
+
|
|
28
32
|
TryGetValidatableParameterInfo(parameterInfo: ParameterInfo, validatableInfo: IValidatableInfo): boolean;
|
|
29
33
|
TryGetValidatableTypeInfo(type: Type, validatableInfo: IValidatableInfo): boolean;
|
|
30
34
|
}
|
|
@@ -33,9 +37,11 @@ export interface IValidatableInfoResolver$instance {
|
|
|
33
37
|
export type IValidatableInfoResolver = IValidatableInfoResolver$instance;
|
|
34
38
|
|
|
35
39
|
export interface ValidationErrorContext$instance {
|
|
40
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidationErrorContext: never;
|
|
41
|
+
|
|
36
42
|
get Container(): unknown | undefined;
|
|
37
43
|
set Container(value: unknown | undefined);
|
|
38
|
-
Errors:
|
|
44
|
+
Errors: IReadOnlyList_1<System_Internal.String>;
|
|
39
45
|
Name: string;
|
|
40
46
|
Path: string;
|
|
41
47
|
}
|
|
@@ -49,6 +55,8 @@ export const ValidationErrorContext: {
|
|
|
49
55
|
export type ValidationErrorContext = ValidationErrorContext$instance;
|
|
50
56
|
|
|
51
57
|
export interface SkipValidationAttribute$instance extends Attribute {
|
|
58
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_SkipValidationAttribute: never;
|
|
59
|
+
|
|
52
60
|
}
|
|
53
61
|
|
|
54
62
|
|
|
@@ -59,7 +67,11 @@ export const SkipValidationAttribute: {
|
|
|
59
67
|
|
|
60
68
|
export type SkipValidationAttribute = SkipValidationAttribute$instance;
|
|
61
69
|
|
|
62
|
-
export interface ValidatableParameterInfo$instance {
|
|
70
|
+
export interface ValidatableParameterInfo$instance extends IValidatableInfo$instance {
|
|
71
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidatableParameterInfo: never;
|
|
72
|
+
|
|
73
|
+
readonly __tsonic_iface_Microsoft_Extensions_Validation_IValidatableInfo: never;
|
|
74
|
+
|
|
63
75
|
GetValidationAttributes(): ValidationAttribute[];
|
|
64
76
|
ValidateAsync(value: unknown, context: ValidateContext, cancellationToken: CancellationToken): Task;
|
|
65
77
|
}
|
|
@@ -73,12 +85,14 @@ export interface __ValidatableParameterInfo$views {
|
|
|
73
85
|
As_IValidatableInfo(): IValidatableInfo$instance;
|
|
74
86
|
}
|
|
75
87
|
|
|
76
|
-
export interface ValidatableParameterInfo$instance extends IValidatableInfo$instance {}
|
|
77
|
-
|
|
78
88
|
export type ValidatableParameterInfo = ValidatableParameterInfo$instance & __ValidatableParameterInfo$views;
|
|
79
89
|
|
|
80
90
|
|
|
81
|
-
export interface ValidatablePropertyInfo$instance {
|
|
91
|
+
export interface ValidatablePropertyInfo$instance extends IValidatableInfo$instance {
|
|
92
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidatablePropertyInfo: never;
|
|
93
|
+
|
|
94
|
+
readonly __tsonic_iface_Microsoft_Extensions_Validation_IValidatableInfo: never;
|
|
95
|
+
|
|
82
96
|
GetValidationAttributes(): ValidationAttribute[];
|
|
83
97
|
ValidateAsync(value: unknown, context: ValidateContext, cancellationToken: CancellationToken): Task;
|
|
84
98
|
}
|
|
@@ -92,12 +106,12 @@ export interface __ValidatablePropertyInfo$views {
|
|
|
92
106
|
As_IValidatableInfo(): IValidatableInfo$instance;
|
|
93
107
|
}
|
|
94
108
|
|
|
95
|
-
export interface ValidatablePropertyInfo$instance extends IValidatableInfo$instance {}
|
|
96
|
-
|
|
97
109
|
export type ValidatablePropertyInfo = ValidatablePropertyInfo$instance & __ValidatablePropertyInfo$views;
|
|
98
110
|
|
|
99
111
|
|
|
100
112
|
export interface ValidatableTypeAttribute$instance extends Attribute {
|
|
113
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidatableTypeAttribute: never;
|
|
114
|
+
|
|
101
115
|
}
|
|
102
116
|
|
|
103
117
|
|
|
@@ -108,13 +122,17 @@ export const ValidatableTypeAttribute: {
|
|
|
108
122
|
|
|
109
123
|
export type ValidatableTypeAttribute = ValidatableTypeAttribute$instance;
|
|
110
124
|
|
|
111
|
-
export interface ValidatableTypeInfo$instance {
|
|
125
|
+
export interface ValidatableTypeInfo$instance extends IValidatableInfo$instance {
|
|
126
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidatableTypeInfo: never;
|
|
127
|
+
|
|
128
|
+
readonly __tsonic_iface_Microsoft_Extensions_Validation_IValidatableInfo: never;
|
|
129
|
+
|
|
112
130
|
GetValidationAttributes(): ValidationAttribute[];
|
|
113
131
|
ValidateAsync(value: unknown, context: ValidateContext, cancellationToken: CancellationToken): Task;
|
|
114
132
|
}
|
|
115
133
|
|
|
116
134
|
|
|
117
|
-
export const ValidatableTypeInfo: (abstract new(type: Type, members:
|
|
135
|
+
export const ValidatableTypeInfo: (abstract new(type: Type, members: IReadOnlyList_1<ValidatablePropertyInfo>) => ValidatableTypeInfo) & {
|
|
118
136
|
};
|
|
119
137
|
|
|
120
138
|
|
|
@@ -122,17 +140,17 @@ export interface __ValidatableTypeInfo$views {
|
|
|
122
140
|
As_IValidatableInfo(): IValidatableInfo$instance;
|
|
123
141
|
}
|
|
124
142
|
|
|
125
|
-
export interface ValidatableTypeInfo$instance extends IValidatableInfo$instance {}
|
|
126
|
-
|
|
127
143
|
export type ValidatableTypeInfo = ValidatableTypeInfo$instance & __ValidatableTypeInfo$views;
|
|
128
144
|
|
|
129
145
|
|
|
130
146
|
export interface ValidateContext$instance {
|
|
147
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidateContext: never;
|
|
148
|
+
|
|
131
149
|
CurrentDepth: int;
|
|
132
150
|
CurrentValidationPath: string;
|
|
133
151
|
ValidationContext: ValidationContext;
|
|
134
|
-
get ValidationErrors():
|
|
135
|
-
set ValidationErrors(value:
|
|
152
|
+
get ValidationErrors(): Dictionary_2<System_Internal.String, string[]> | undefined;
|
|
153
|
+
set ValidationErrors(value: Dictionary_2<System_Internal.String, string[]> | undefined);
|
|
136
154
|
ValidationOptions: ValidationOptions;
|
|
137
155
|
}
|
|
138
156
|
|
|
@@ -145,8 +163,10 @@ export const ValidateContext: {
|
|
|
145
163
|
export type ValidateContext = ValidateContext$instance;
|
|
146
164
|
|
|
147
165
|
export interface ValidationOptions$instance {
|
|
166
|
+
readonly __tsonic_type_Microsoft_Extensions_Validation_ValidationOptions: never;
|
|
167
|
+
|
|
148
168
|
MaxDepth: int;
|
|
149
|
-
readonly Resolvers:
|
|
169
|
+
readonly Resolvers: IList_1<IValidatableInfoResolver>;
|
|
150
170
|
TryGetValidatableParameterInfo(parameterInfo: ParameterInfo, validatableInfo: IValidatableInfo): boolean;
|
|
151
171
|
TryGetValidatableTypeInfo(type: Type, validatableTypeInfo: IValidatableInfo): boolean;
|
|
152
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,12 @@ 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
|
+
|
|
74
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
75
|
+
readonly __tsonic_iface_System_ComponentModel_ISupportInitialize: never;
|
|
76
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
77
|
+
|
|
68
78
|
EnableRaisingEvents: boolean;
|
|
69
79
|
readonly Entries: EventLogEntryCollection;
|
|
70
80
|
Log: string;
|
|
@@ -124,6 +134,12 @@ export const EventLog: {
|
|
|
124
134
|
export type EventLog = EventLog$instance;
|
|
125
135
|
|
|
126
136
|
export interface EventLogEntry$instance extends Component {
|
|
137
|
+
readonly __tsonic_type_System_Diagnostics_EventLogEntry: never;
|
|
138
|
+
|
|
139
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
140
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
141
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
142
|
+
|
|
127
143
|
readonly Category: string;
|
|
128
144
|
readonly CategoryNumber: short;
|
|
129
145
|
readonly Data: byte[];
|
|
@@ -149,6 +165,11 @@ export const EventLogEntry: {
|
|
|
149
165
|
export type EventLogEntry = EventLogEntry$instance;
|
|
150
166
|
|
|
151
167
|
export interface EventLogEntryCollection$instance {
|
|
168
|
+
readonly __tsonic_type_System_Diagnostics_EventLogEntryCollection: never;
|
|
169
|
+
|
|
170
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
171
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
172
|
+
|
|
152
173
|
readonly Count: int;
|
|
153
174
|
readonly [index: number]: EventLogEntry;
|
|
154
175
|
CopyTo(entries: EventLogEntry[], index: int): void;
|
|
@@ -163,6 +184,10 @@ export const EventLogEntryCollection: {
|
|
|
163
184
|
export type EventLogEntryCollection = EventLogEntryCollection$instance;
|
|
164
185
|
|
|
165
186
|
export interface EventLogTraceListener$instance extends TraceListener {
|
|
187
|
+
readonly __tsonic_type_System_Diagnostics_EventLogTraceListener: never;
|
|
188
|
+
|
|
189
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
190
|
+
|
|
166
191
|
EventLog: EventLog;
|
|
167
192
|
Name: string;
|
|
168
193
|
Close(): void;
|
|
@@ -186,6 +211,8 @@ export const EventLogTraceListener: {
|
|
|
186
211
|
export type EventLogTraceListener = EventLogTraceListener$instance;
|
|
187
212
|
|
|
188
213
|
export interface EventSourceCreationData$instance {
|
|
214
|
+
readonly __tsonic_type_System_Diagnostics_EventSourceCreationData: never;
|
|
215
|
+
|
|
189
216
|
CategoryCount: int;
|
|
190
217
|
CategoryResourceFile: string;
|
|
191
218
|
LogName: string;
|