@tsonic/microsoft-extensions 10.0.2 → 10.0.5
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 +9 -3
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +5 -2
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +21 -10
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +80 -37
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +5 -1
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +5 -1
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +11 -0
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +11 -0
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +8 -1
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +9 -1
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +14 -8
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +48 -4
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +6 -3
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +2 -0
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +29 -7
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +2 -0
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +17 -10
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +2 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +3 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +11 -1
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +10 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +19 -8
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +44 -13
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +10 -1
- package/Microsoft.Extensions.Http/internal/index.d.ts +7 -3
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +12 -12
- package/Microsoft.Extensions.Internal/internal/index.d.ts +4 -0
- package/Microsoft.Extensions.Localization/internal/index.d.ts +24 -11
- package/Microsoft.Extensions.Logging/internal/index.d.ts +31 -7
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +15 -5
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +6 -0
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +16 -7
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +3 -0
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +8 -4
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +6 -6
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +3 -0
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +13 -6
- package/Microsoft.Extensions.Options/internal/index.d.ts +113 -27
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +33 -4
- package/Microsoft.Extensions.Primitives.d.ts +3 -0
- package/Microsoft.Extensions.Validation/internal/index.d.ts +18 -23
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +1 -1
- package/System.Diagnostics/internal/index.d.ts +20 -20
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +44 -68
- package/System.Net.Http/internal/index.d.ts +4 -0
- package/System.Security.Cryptography/internal/index.d.ts +6 -2
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +26 -27
- package/System.Security.Cryptography.Xml/internal/index.d.ts +94 -115
- package/__internal/extensions/index.d.ts +292 -255
- package/package.json +1 -1
|
@@ -17,6 +17,8 @@ import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Ru
|
|
|
17
17
|
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
18
18
|
|
|
19
19
|
export interface IConfigureNamedOptions_1$instance<TOptions> extends IConfigureOptions_1<TOptions> {
|
|
20
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureNamedOptions_1: never;
|
|
21
|
+
|
|
20
22
|
Configure(name: string, options: TOptions): void;
|
|
21
23
|
Configure(options: TOptions): void;
|
|
22
24
|
}
|
|
@@ -25,6 +27,8 @@ export interface IConfigureNamedOptions_1$instance<TOptions> extends IConfigureO
|
|
|
25
27
|
export type IConfigureNamedOptions_1<TOptions> = IConfigureNamedOptions_1$instance<TOptions>;
|
|
26
28
|
|
|
27
29
|
export interface IConfigureOptions_1$instance<TOptions> {
|
|
30
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
31
|
+
|
|
28
32
|
Configure(options: TOptions): void;
|
|
29
33
|
}
|
|
30
34
|
|
|
@@ -32,6 +36,8 @@ export interface IConfigureOptions_1$instance<TOptions> {
|
|
|
32
36
|
export type IConfigureOptions_1<TOptions> = IConfigureOptions_1$instance<TOptions>;
|
|
33
37
|
|
|
34
38
|
export interface IOptions_1$instance<TOptions> {
|
|
39
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptions_1: never;
|
|
40
|
+
|
|
35
41
|
readonly Value: TOptions;
|
|
36
42
|
}
|
|
37
43
|
|
|
@@ -39,6 +45,8 @@ export interface IOptions_1$instance<TOptions> {
|
|
|
39
45
|
export type IOptions_1<TOptions> = IOptions_1$instance<TOptions>;
|
|
40
46
|
|
|
41
47
|
export interface IOptionsChangeTokenSource_1$instance<TOptions> {
|
|
48
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsChangeTokenSource_1: never;
|
|
49
|
+
|
|
42
50
|
readonly Name: string;
|
|
43
51
|
GetChangeToken(): IChangeToken;
|
|
44
52
|
}
|
|
@@ -47,6 +55,8 @@ export interface IOptionsChangeTokenSource_1$instance<TOptions> {
|
|
|
47
55
|
export type IOptionsChangeTokenSource_1<TOptions> = IOptionsChangeTokenSource_1$instance<TOptions>;
|
|
48
56
|
|
|
49
57
|
export interface IOptionsFactory_1$instance<TOptions> {
|
|
58
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsFactory_1: never;
|
|
59
|
+
|
|
50
60
|
Create(name: string): TOptions;
|
|
51
61
|
}
|
|
52
62
|
|
|
@@ -54,6 +64,8 @@ export interface IOptionsFactory_1$instance<TOptions> {
|
|
|
54
64
|
export type IOptionsFactory_1<TOptions> = IOptionsFactory_1$instance<TOptions>;
|
|
55
65
|
|
|
56
66
|
export interface IOptionsMonitor_1$instance<TOptions> {
|
|
67
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsMonitor_1: never;
|
|
68
|
+
|
|
57
69
|
readonly CurrentValue: TOptions;
|
|
58
70
|
Get(name: string): TOptions;
|
|
59
71
|
OnChange(listener: Action<TOptions, System_Internal.String>): IDisposable;
|
|
@@ -63,6 +75,8 @@ export interface IOptionsMonitor_1$instance<TOptions> {
|
|
|
63
75
|
export type IOptionsMonitor_1<TOptions> = IOptionsMonitor_1$instance<TOptions>;
|
|
64
76
|
|
|
65
77
|
export interface IOptionsMonitorCache_1$instance<TOptions> {
|
|
78
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsMonitorCache_1: never;
|
|
79
|
+
|
|
66
80
|
Clear(): void;
|
|
67
81
|
GetOrAdd(name: string, createOptions: Func<TOptions>): TOptions;
|
|
68
82
|
TryAdd(name: string, options: TOptions): boolean;
|
|
@@ -73,6 +87,8 @@ export interface IOptionsMonitorCache_1$instance<TOptions> {
|
|
|
73
87
|
export type IOptionsMonitorCache_1<TOptions> = IOptionsMonitorCache_1$instance<TOptions>;
|
|
74
88
|
|
|
75
89
|
export interface IOptionsSnapshot_1$instance<TOptions> extends IOptions_1<TOptions> {
|
|
90
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsSnapshot_1: never;
|
|
91
|
+
|
|
76
92
|
readonly Value: TOptions;
|
|
77
93
|
Get(name: string): TOptions;
|
|
78
94
|
}
|
|
@@ -83,6 +99,8 @@ export interface IOptionsSnapshot_1$instance<TOptions> extends IOptions_1$instan
|
|
|
83
99
|
export type IOptionsSnapshot_1<TOptions> = IOptionsSnapshot_1$instance<TOptions>;
|
|
84
100
|
|
|
85
101
|
export interface IPostConfigureOptions_1$instance<TOptions> {
|
|
102
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
103
|
+
|
|
86
104
|
PostConfigure(name: string, options: TOptions): void;
|
|
87
105
|
}
|
|
88
106
|
|
|
@@ -90,6 +108,8 @@ export interface IPostConfigureOptions_1$instance<TOptions> {
|
|
|
90
108
|
export type IPostConfigureOptions_1<TOptions> = IPostConfigureOptions_1$instance<TOptions>;
|
|
91
109
|
|
|
92
110
|
export interface IStartupValidator$instance {
|
|
111
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IStartupValidator: never;
|
|
112
|
+
|
|
93
113
|
Validate(): void;
|
|
94
114
|
}
|
|
95
115
|
|
|
@@ -97,6 +117,8 @@ export interface IStartupValidator$instance {
|
|
|
97
117
|
export type IStartupValidator = IStartupValidator$instance;
|
|
98
118
|
|
|
99
119
|
export interface IValidateOptions_1$instance<TOptions> {
|
|
120
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IValidateOptions_1: never;
|
|
121
|
+
|
|
100
122
|
Validate(name: string, options: TOptions): ValidateOptionsResult;
|
|
101
123
|
}
|
|
102
124
|
|
|
@@ -104,6 +126,8 @@ export interface IValidateOptions_1$instance<TOptions> {
|
|
|
104
126
|
export type IValidateOptions_1<TOptions> = IValidateOptions_1$instance<TOptions>;
|
|
105
127
|
|
|
106
128
|
export interface ConfigurationChangeTokenSource_1$instance<TOptions> {
|
|
129
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsChangeTokenSource_1: never;
|
|
130
|
+
|
|
107
131
|
readonly Name: string;
|
|
108
132
|
GetChangeToken(): IChangeToken;
|
|
109
133
|
}
|
|
@@ -125,6 +149,8 @@ export type ConfigurationChangeTokenSource_1<TOptions> = ConfigurationChangeToke
|
|
|
125
149
|
|
|
126
150
|
|
|
127
151
|
export interface ConfigureFromConfigurationOptions_1$instance<TOptions> extends ConfigureOptions_1$instance<TOptions> {
|
|
152
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
153
|
+
|
|
128
154
|
Configure(options: TOptions): void;
|
|
129
155
|
}
|
|
130
156
|
|
|
@@ -142,8 +168,11 @@ export type ConfigureFromConfigurationOptions_1<TOptions> = ConfigureFromConfigu
|
|
|
142
168
|
|
|
143
169
|
|
|
144
170
|
export interface ConfigureNamedOptions_1$instance<TOptions> {
|
|
171
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureNamedOptions_1: never;
|
|
172
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
173
|
+
|
|
145
174
|
readonly Action: Action<TOptions> | undefined;
|
|
146
|
-
readonly Name: string;
|
|
175
|
+
readonly Name: string | undefined;
|
|
147
176
|
Configure(name: string, options: TOptions): void;
|
|
148
177
|
Configure(options: TOptions): void;
|
|
149
178
|
}
|
|
@@ -163,9 +192,12 @@ export type ConfigureNamedOptions_1<TOptions> = ConfigureNamedOptions_1$instance
|
|
|
163
192
|
|
|
164
193
|
|
|
165
194
|
export interface ConfigureNamedOptions_2$instance<TOptions, TDep> {
|
|
195
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureNamedOptions_1: never;
|
|
196
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
197
|
+
|
|
166
198
|
readonly Action: Action<TOptions, TDep> | undefined;
|
|
167
199
|
readonly Dependency: TDep;
|
|
168
|
-
readonly Name: string;
|
|
200
|
+
readonly Name: string | undefined;
|
|
169
201
|
Configure(name: string, options: TOptions): void;
|
|
170
202
|
Configure(options: TOptions): void;
|
|
171
203
|
}
|
|
@@ -185,10 +217,13 @@ export type ConfigureNamedOptions_2<TOptions, TDep> = ConfigureNamedOptions_2$in
|
|
|
185
217
|
|
|
186
218
|
|
|
187
219
|
export interface ConfigureNamedOptions_3$instance<TOptions, TDep1, TDep2> {
|
|
220
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureNamedOptions_1: never;
|
|
221
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
222
|
+
|
|
188
223
|
readonly Action: Action<TOptions, TDep1, TDep2> | undefined;
|
|
189
224
|
readonly Dependency1: TDep1;
|
|
190
225
|
readonly Dependency2: TDep2;
|
|
191
|
-
readonly Name: string;
|
|
226
|
+
readonly Name: string | undefined;
|
|
192
227
|
Configure(name: string, options: TOptions): void;
|
|
193
228
|
Configure(options: TOptions): void;
|
|
194
229
|
}
|
|
@@ -208,11 +243,14 @@ export type ConfigureNamedOptions_3<TOptions, TDep1, TDep2> = ConfigureNamedOpti
|
|
|
208
243
|
|
|
209
244
|
|
|
210
245
|
export interface ConfigureNamedOptions_4$instance<TOptions, TDep1, TDep2, TDep3> {
|
|
246
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureNamedOptions_1: never;
|
|
247
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
248
|
+
|
|
211
249
|
readonly Action: Action<TOptions, TDep1, TDep2, TDep3> | undefined;
|
|
212
250
|
readonly Dependency1: TDep1;
|
|
213
251
|
readonly Dependency2: TDep2;
|
|
214
252
|
readonly Dependency3: TDep3;
|
|
215
|
-
readonly Name: string;
|
|
253
|
+
readonly Name: string | undefined;
|
|
216
254
|
Configure(name: string, options: TOptions): void;
|
|
217
255
|
Configure(options: TOptions): void;
|
|
218
256
|
}
|
|
@@ -232,12 +270,15 @@ export type ConfigureNamedOptions_4<TOptions, TDep1, TDep2, TDep3> = ConfigureNa
|
|
|
232
270
|
|
|
233
271
|
|
|
234
272
|
export interface ConfigureNamedOptions_5$instance<TOptions, TDep1, TDep2, TDep3, TDep4> {
|
|
273
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureNamedOptions_1: never;
|
|
274
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
275
|
+
|
|
235
276
|
readonly Action: Action<TOptions, TDep1, TDep2, TDep3, TDep4> | undefined;
|
|
236
277
|
readonly Dependency1: TDep1;
|
|
237
278
|
readonly Dependency2: TDep2;
|
|
238
279
|
readonly Dependency3: TDep3;
|
|
239
280
|
readonly Dependency4: TDep4;
|
|
240
|
-
readonly Name: string;
|
|
281
|
+
readonly Name: string | undefined;
|
|
241
282
|
Configure(name: string, options: TOptions): void;
|
|
242
283
|
Configure(options: TOptions): void;
|
|
243
284
|
}
|
|
@@ -257,13 +298,16 @@ export type ConfigureNamedOptions_5<TOptions, TDep1, TDep2, TDep3, TDep4> = Conf
|
|
|
257
298
|
|
|
258
299
|
|
|
259
300
|
export interface ConfigureNamedOptions_6$instance<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> {
|
|
301
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureNamedOptions_1: never;
|
|
302
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
303
|
+
|
|
260
304
|
readonly Action: Action<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> | undefined;
|
|
261
305
|
readonly Dependency1: TDep1;
|
|
262
306
|
readonly Dependency2: TDep2;
|
|
263
307
|
readonly Dependency3: TDep3;
|
|
264
308
|
readonly Dependency4: TDep4;
|
|
265
309
|
readonly Dependency5: TDep5;
|
|
266
|
-
readonly Name: string;
|
|
310
|
+
readonly Name: string | undefined;
|
|
267
311
|
Configure(name: string, options: TOptions): void;
|
|
268
312
|
Configure(options: TOptions): void;
|
|
269
313
|
}
|
|
@@ -283,6 +327,8 @@ export type ConfigureNamedOptions_6<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5>
|
|
|
283
327
|
|
|
284
328
|
|
|
285
329
|
export interface ConfigureOptions_1$instance<TOptions> {
|
|
330
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
331
|
+
|
|
286
332
|
readonly Action: Action<TOptions> | undefined;
|
|
287
333
|
Configure(options: TOptions): void;
|
|
288
334
|
}
|
|
@@ -303,7 +349,9 @@ export type ConfigureOptions_1<TOptions> = ConfigureOptions_1$instance<TOptions>
|
|
|
303
349
|
|
|
304
350
|
|
|
305
351
|
export interface DataAnnotationValidateOptions_1$instance<TOptions> {
|
|
306
|
-
readonly
|
|
352
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IValidateOptions_1: never;
|
|
353
|
+
|
|
354
|
+
readonly Name: string | undefined;
|
|
307
355
|
Validate(name: string, options: TOptions): ValidateOptionsResult;
|
|
308
356
|
}
|
|
309
357
|
|
|
@@ -323,6 +371,9 @@ export type DataAnnotationValidateOptions_1<TOptions> = DataAnnotationValidateOp
|
|
|
323
371
|
|
|
324
372
|
|
|
325
373
|
export interface NamedConfigureFromConfigurationOptions_1$instance<TOptions> extends ConfigureNamedOptions_1$instance<TOptions> {
|
|
374
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureNamedOptions_1: never;
|
|
375
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
376
|
+
|
|
326
377
|
Configure(name: string, options: TOptions): void;
|
|
327
378
|
Configure(options: TOptions): void;
|
|
328
379
|
}
|
|
@@ -380,6 +431,8 @@ export const OptionsBuilder_1: {
|
|
|
380
431
|
export type OptionsBuilder_1<TOptions> = OptionsBuilder_1$instance<TOptions>;
|
|
381
432
|
|
|
382
433
|
export interface OptionsCache_1$instance<TOptions> {
|
|
434
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsMonitorCache_1: never;
|
|
435
|
+
|
|
383
436
|
Clear(): void;
|
|
384
437
|
GetOrAdd(name: string, createOptions: Func<TOptions>): TOptions;
|
|
385
438
|
TryAdd(name: string, options: TOptions): boolean;
|
|
@@ -401,13 +454,11 @@ export interface OptionsCache_1$instance<TOptions> extends IOptionsMonitorCache_
|
|
|
401
454
|
export type OptionsCache_1<TOptions> = OptionsCache_1$instance<TOptions> & __OptionsCache_1$views<TOptions>;
|
|
402
455
|
|
|
403
456
|
|
|
404
|
-
export
|
|
405
|
-
|
|
406
|
-
}
|
|
407
|
-
|
|
457
|
+
export interface OptionsFactory_1$instance<TOptions> {
|
|
458
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsFactory_1: never;
|
|
408
459
|
|
|
409
|
-
export interface OptionsFactory_1$instance<TOptions> extends OptionsFactory_1$protected<TOptions> {
|
|
410
460
|
Create(name: string): TOptions;
|
|
461
|
+
CreateInstance(name: string): TOptions;
|
|
411
462
|
}
|
|
412
463
|
|
|
413
464
|
|
|
@@ -427,6 +478,9 @@ export type OptionsFactory_1<TOptions> = OptionsFactory_1$instance<TOptions> & _
|
|
|
427
478
|
|
|
428
479
|
|
|
429
480
|
export interface OptionsManager_1$instance<TOptions> {
|
|
481
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsSnapshot_1: never;
|
|
482
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptions_1: never;
|
|
483
|
+
|
|
430
484
|
readonly Value: TOptions;
|
|
431
485
|
Get(name: string): TOptions;
|
|
432
486
|
}
|
|
@@ -448,6 +502,9 @@ export type OptionsManager_1<TOptions> = OptionsManager_1$instance<TOptions> & _
|
|
|
448
502
|
|
|
449
503
|
|
|
450
504
|
export interface OptionsMonitor_1$instance<TOptions> {
|
|
505
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsMonitor_1: never;
|
|
506
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
507
|
+
|
|
451
508
|
readonly CurrentValue: TOptions;
|
|
452
509
|
Dispose(): void;
|
|
453
510
|
Get(name: string): TOptions;
|
|
@@ -464,12 +521,14 @@ export interface __OptionsMonitor_1$views<TOptions> {
|
|
|
464
521
|
As_IOptionsMonitor_1(): IOptionsMonitor_1$instance<TOptions>;
|
|
465
522
|
}
|
|
466
523
|
|
|
467
|
-
export interface OptionsMonitor_1$instance<TOptions> extends IOptionsMonitor_1$instance<TOptions
|
|
524
|
+
export interface OptionsMonitor_1$instance<TOptions> extends IOptionsMonitor_1$instance<TOptions>, System_Internal.IDisposable {}
|
|
468
525
|
|
|
469
526
|
export type OptionsMonitor_1<TOptions> = OptionsMonitor_1$instance<TOptions> & __OptionsMonitor_1$views<TOptions>;
|
|
470
527
|
|
|
471
528
|
|
|
472
529
|
export interface OptionsValidationException$instance extends Exception {
|
|
530
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
531
|
+
|
|
473
532
|
readonly Failures: IEnumerable<System_Internal.String>;
|
|
474
533
|
readonly Message: string;
|
|
475
534
|
readonly OptionsName: string;
|
|
@@ -496,6 +555,8 @@ export const OptionsValidatorAttribute: {
|
|
|
496
555
|
export type OptionsValidatorAttribute = OptionsValidatorAttribute$instance;
|
|
497
556
|
|
|
498
557
|
export interface OptionsWrapper_1$instance<TOptions> {
|
|
558
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptions_1: never;
|
|
559
|
+
|
|
499
560
|
readonly Value: TOptions;
|
|
500
561
|
}
|
|
501
562
|
|
|
@@ -515,8 +576,10 @@ export type OptionsWrapper_1<TOptions> = OptionsWrapper_1$instance<TOptions> & _
|
|
|
515
576
|
|
|
516
577
|
|
|
517
578
|
export interface PostConfigureOptions_1$instance<TOptions> {
|
|
579
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
580
|
+
|
|
518
581
|
readonly Action: Action<TOptions> | undefined;
|
|
519
|
-
readonly Name: string;
|
|
582
|
+
readonly Name: string | undefined;
|
|
520
583
|
PostConfigure(name: string, options: TOptions): void;
|
|
521
584
|
}
|
|
522
585
|
|
|
@@ -536,9 +599,11 @@ export type PostConfigureOptions_1<TOptions> = PostConfigureOptions_1$instance<T
|
|
|
536
599
|
|
|
537
600
|
|
|
538
601
|
export interface PostConfigureOptions_2$instance<TOptions, TDep> {
|
|
602
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
603
|
+
|
|
539
604
|
readonly Action: Action<TOptions, TDep> | undefined;
|
|
540
605
|
readonly Dependency: TDep;
|
|
541
|
-
readonly Name: string;
|
|
606
|
+
readonly Name: string | undefined;
|
|
542
607
|
PostConfigure(name: string, options: TOptions): void;
|
|
543
608
|
PostConfigure(options: TOptions): void;
|
|
544
609
|
}
|
|
@@ -557,10 +622,12 @@ export type PostConfigureOptions_2<TOptions, TDep> = PostConfigureOptions_2$inst
|
|
|
557
622
|
|
|
558
623
|
|
|
559
624
|
export interface PostConfigureOptions_3$instance<TOptions, TDep1, TDep2> {
|
|
625
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
626
|
+
|
|
560
627
|
readonly Action: Action<TOptions, TDep1, TDep2> | undefined;
|
|
561
628
|
readonly Dependency1: TDep1;
|
|
562
629
|
readonly Dependency2: TDep2;
|
|
563
|
-
readonly Name: string;
|
|
630
|
+
readonly Name: string | undefined;
|
|
564
631
|
PostConfigure(name: string, options: TOptions): void;
|
|
565
632
|
PostConfigure(options: TOptions): void;
|
|
566
633
|
}
|
|
@@ -579,11 +646,13 @@ export type PostConfigureOptions_3<TOptions, TDep1, TDep2> = PostConfigureOption
|
|
|
579
646
|
|
|
580
647
|
|
|
581
648
|
export interface PostConfigureOptions_4$instance<TOptions, TDep1, TDep2, TDep3> {
|
|
649
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
650
|
+
|
|
582
651
|
readonly Action: Action<TOptions, TDep1, TDep2, TDep3> | undefined;
|
|
583
652
|
readonly Dependency1: TDep1;
|
|
584
653
|
readonly Dependency2: TDep2;
|
|
585
654
|
readonly Dependency3: TDep3;
|
|
586
|
-
readonly Name: string;
|
|
655
|
+
readonly Name: string | undefined;
|
|
587
656
|
PostConfigure(name: string, options: TOptions): void;
|
|
588
657
|
PostConfigure(options: TOptions): void;
|
|
589
658
|
}
|
|
@@ -602,12 +671,14 @@ export type PostConfigureOptions_4<TOptions, TDep1, TDep2, TDep3> = PostConfigur
|
|
|
602
671
|
|
|
603
672
|
|
|
604
673
|
export interface PostConfigureOptions_5$instance<TOptions, TDep1, TDep2, TDep3, TDep4> {
|
|
674
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
675
|
+
|
|
605
676
|
readonly Action: Action<TOptions, TDep1, TDep2, TDep3, TDep4> | undefined;
|
|
606
677
|
readonly Dependency1: TDep1;
|
|
607
678
|
readonly Dependency2: TDep2;
|
|
608
679
|
readonly Dependency3: TDep3;
|
|
609
680
|
readonly Dependency4: TDep4;
|
|
610
|
-
readonly Name: string;
|
|
681
|
+
readonly Name: string | undefined;
|
|
611
682
|
PostConfigure(name: string, options: TOptions): void;
|
|
612
683
|
PostConfigure(options: TOptions): void;
|
|
613
684
|
}
|
|
@@ -626,13 +697,15 @@ export type PostConfigureOptions_5<TOptions, TDep1, TDep2, TDep3, TDep4> = PostC
|
|
|
626
697
|
|
|
627
698
|
|
|
628
699
|
export interface PostConfigureOptions_6$instance<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> {
|
|
700
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
701
|
+
|
|
629
702
|
readonly Action: Action<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> | undefined;
|
|
630
703
|
readonly Dependency1: TDep1;
|
|
631
704
|
readonly Dependency2: TDep2;
|
|
632
705
|
readonly Dependency3: TDep3;
|
|
633
706
|
readonly Dependency4: TDep4;
|
|
634
707
|
readonly Dependency5: TDep5;
|
|
635
|
-
readonly Name: string;
|
|
708
|
+
readonly Name: string | undefined;
|
|
636
709
|
PostConfigure(name: string, options: TOptions): void;
|
|
637
710
|
PostConfigure(options: TOptions): void;
|
|
638
711
|
}
|
|
@@ -677,8 +750,10 @@ export const ValidateObjectMembersAttribute: {
|
|
|
677
750
|
export type ValidateObjectMembersAttribute = ValidateObjectMembersAttribute$instance;
|
|
678
751
|
|
|
679
752
|
export interface ValidateOptions_1$instance<TOptions> {
|
|
753
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IValidateOptions_1: never;
|
|
754
|
+
|
|
680
755
|
readonly FailureMessage: string;
|
|
681
|
-
readonly Name: string;
|
|
756
|
+
readonly Name: string | undefined;
|
|
682
757
|
readonly Validation: Func<TOptions, System_Internal.Boolean>;
|
|
683
758
|
Validate(name: string, options: TOptions): ValidateOptionsResult;
|
|
684
759
|
}
|
|
@@ -699,9 +774,11 @@ export type ValidateOptions_1<TOptions> = ValidateOptions_1$instance<TOptions> &
|
|
|
699
774
|
|
|
700
775
|
|
|
701
776
|
export interface ValidateOptions_2$instance<TOptions, TDep> {
|
|
777
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IValidateOptions_1: never;
|
|
778
|
+
|
|
702
779
|
readonly Dependency: TDep;
|
|
703
780
|
readonly FailureMessage: string;
|
|
704
|
-
readonly Name: string;
|
|
781
|
+
readonly Name: string | undefined;
|
|
705
782
|
readonly Validation: Func<TOptions, TDep, System_Internal.Boolean>;
|
|
706
783
|
Validate(name: string, options: TOptions): ValidateOptionsResult;
|
|
707
784
|
}
|
|
@@ -722,10 +799,12 @@ export type ValidateOptions_2<TOptions, TDep> = ValidateOptions_2$instance<TOpti
|
|
|
722
799
|
|
|
723
800
|
|
|
724
801
|
export interface ValidateOptions_3$instance<TOptions, TDep1, TDep2> {
|
|
802
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IValidateOptions_1: never;
|
|
803
|
+
|
|
725
804
|
readonly Dependency1: TDep1;
|
|
726
805
|
readonly Dependency2: TDep2;
|
|
727
806
|
readonly FailureMessage: string;
|
|
728
|
-
readonly Name: string;
|
|
807
|
+
readonly Name: string | undefined;
|
|
729
808
|
readonly Validation: Func<TOptions, TDep1, TDep2, System_Internal.Boolean>;
|
|
730
809
|
Validate(name: string, options: TOptions): ValidateOptionsResult;
|
|
731
810
|
}
|
|
@@ -746,11 +825,13 @@ export type ValidateOptions_3<TOptions, TDep1, TDep2> = ValidateOptions_3$instan
|
|
|
746
825
|
|
|
747
826
|
|
|
748
827
|
export interface ValidateOptions_4$instance<TOptions, TDep1, TDep2, TDep3> {
|
|
828
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IValidateOptions_1: never;
|
|
829
|
+
|
|
749
830
|
readonly Dependency1: TDep1;
|
|
750
831
|
readonly Dependency2: TDep2;
|
|
751
832
|
readonly Dependency3: TDep3;
|
|
752
833
|
readonly FailureMessage: string;
|
|
753
|
-
readonly Name: string;
|
|
834
|
+
readonly Name: string | undefined;
|
|
754
835
|
readonly Validation: Func<TOptions, TDep1, TDep2, TDep3, System_Internal.Boolean>;
|
|
755
836
|
Validate(name: string, options: TOptions): ValidateOptionsResult;
|
|
756
837
|
}
|
|
@@ -771,12 +852,14 @@ export type ValidateOptions_4<TOptions, TDep1, TDep2, TDep3> = ValidateOptions_4
|
|
|
771
852
|
|
|
772
853
|
|
|
773
854
|
export interface ValidateOptions_5$instance<TOptions, TDep1, TDep2, TDep3, TDep4> {
|
|
855
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IValidateOptions_1: never;
|
|
856
|
+
|
|
774
857
|
readonly Dependency1: TDep1;
|
|
775
858
|
readonly Dependency2: TDep2;
|
|
776
859
|
readonly Dependency3: TDep3;
|
|
777
860
|
readonly Dependency4: TDep4;
|
|
778
861
|
readonly FailureMessage: string;
|
|
779
|
-
readonly Name: string;
|
|
862
|
+
readonly Name: string | undefined;
|
|
780
863
|
readonly Validation: Func<TOptions, TDep1, TDep2, TDep3, TDep4, System_Internal.Boolean>;
|
|
781
864
|
Validate(name: string, options: TOptions): ValidateOptionsResult;
|
|
782
865
|
}
|
|
@@ -797,13 +880,15 @@ export type ValidateOptions_5<TOptions, TDep1, TDep2, TDep3, TDep4> = ValidateOp
|
|
|
797
880
|
|
|
798
881
|
|
|
799
882
|
export interface ValidateOptions_6$instance<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> {
|
|
883
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IValidateOptions_1: never;
|
|
884
|
+
|
|
800
885
|
readonly Dependency1: TDep1;
|
|
801
886
|
readonly Dependency2: TDep2;
|
|
802
887
|
readonly Dependency3: TDep3;
|
|
803
888
|
readonly Dependency4: TDep4;
|
|
804
889
|
readonly Dependency5: TDep5;
|
|
805
890
|
readonly FailureMessage: string;
|
|
806
|
-
readonly Name: string;
|
|
891
|
+
readonly Name: string | undefined;
|
|
807
892
|
readonly Validation: Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, System_Internal.Boolean>;
|
|
808
893
|
Validate(name: string, options: TOptions): ValidateOptionsResult;
|
|
809
894
|
}
|
|
@@ -825,9 +910,10 @@ export type ValidateOptions_6<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> = Val
|
|
|
825
910
|
|
|
826
911
|
export interface ValidateOptionsResult$instance {
|
|
827
912
|
Failed: boolean;
|
|
828
|
-
FailureMessage: string;
|
|
913
|
+
get FailureMessage(): string | undefined;
|
|
914
|
+
set FailureMessage(value: string | undefined);
|
|
829
915
|
get Failures(): IEnumerable<System_Internal.String> | undefined;
|
|
830
|
-
set Failures(value: IEnumerable<System_Internal.String>);
|
|
916
|
+
set Failures(value: IEnumerable<System_Internal.String> | undefined);
|
|
831
917
|
Skipped: boolean;
|
|
832
918
|
Succeeded: boolean;
|
|
833
919
|
}
|
|
@@ -19,6 +19,8 @@ import type { StringBuilder } from "@tsonic/dotnet/System.Text.js";
|
|
|
19
19
|
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.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
26
|
RegisterChangeCallback(callback: Action<unknown>, state: unknown): IDisposable;
|
|
@@ -45,9 +47,11 @@ export const InplaceStringBuilder: {
|
|
|
45
47
|
export type InplaceStringBuilder = InplaceStringBuilder$instance;
|
|
46
48
|
|
|
47
49
|
export interface StringSegment$instance {
|
|
50
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
51
|
+
|
|
48
52
|
readonly Buffer: string | undefined;
|
|
49
53
|
readonly HasValue: boolean;
|
|
50
|
-
readonly
|
|
54
|
+
readonly [index: number]: char;
|
|
51
55
|
readonly Length: int;
|
|
52
56
|
readonly Offset: int;
|
|
53
57
|
readonly Value: string | undefined;
|
|
@@ -95,6 +99,9 @@ export const StringSegment: {
|
|
|
95
99
|
export type StringSegment = StringSegment$instance;
|
|
96
100
|
|
|
97
101
|
export interface StringTokenizer$instance {
|
|
102
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
103
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
104
|
+
|
|
98
105
|
GetEnumerator(): StringTokenizer_Enumerator;
|
|
99
106
|
}
|
|
100
107
|
|
|
@@ -108,6 +115,10 @@ export const StringTokenizer: {
|
|
|
108
115
|
export type StringTokenizer = StringTokenizer$instance;
|
|
109
116
|
|
|
110
117
|
export interface StringTokenizer_Enumerator$instance {
|
|
118
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
119
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
120
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
121
|
+
|
|
111
122
|
Current: StringSegment;
|
|
112
123
|
Dispose(): void;
|
|
113
124
|
MoveNext(): boolean;
|
|
@@ -123,8 +134,16 @@ export const StringTokenizer_Enumerator: {
|
|
|
123
134
|
export type StringTokenizer_Enumerator = StringTokenizer_Enumerator$instance;
|
|
124
135
|
|
|
125
136
|
export interface StringValues$instance {
|
|
137
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
138
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
139
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
140
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyCollection_1: never;
|
|
141
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyList_1: never;
|
|
142
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
143
|
+
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
144
|
+
|
|
126
145
|
readonly Count: int;
|
|
127
|
-
readonly
|
|
146
|
+
readonly [index: number]: string | undefined;
|
|
128
147
|
Equals(other: StringValues): boolean;
|
|
129
148
|
Equals(other: string): boolean;
|
|
130
149
|
Equals(other: string[]): boolean;
|
|
@@ -155,7 +174,11 @@ export const StringValues: {
|
|
|
155
174
|
export type StringValues = StringValues$instance;
|
|
156
175
|
|
|
157
176
|
export interface StringValues_Enumerator$instance {
|
|
158
|
-
readonly
|
|
177
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
178
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
179
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
180
|
+
|
|
181
|
+
readonly Current: string | undefined;
|
|
159
182
|
Dispose(): void;
|
|
160
183
|
MoveNext(): boolean;
|
|
161
184
|
Reset(): void;
|
|
@@ -170,6 +193,8 @@ export const StringValues_Enumerator: {
|
|
|
170
193
|
export type StringValues_Enumerator = StringValues_Enumerator$instance;
|
|
171
194
|
|
|
172
195
|
export interface CancellationChangeToken$instance {
|
|
196
|
+
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
197
|
+
|
|
173
198
|
ActiveChangeCallbacks: boolean;
|
|
174
199
|
readonly HasChanged: boolean;
|
|
175
200
|
RegisterChangeCallback(callback: Action<unknown>, state: unknown): IDisposable;
|
|
@@ -189,6 +214,8 @@ export type CancellationChangeToken = CancellationChangeToken$instance & __Cance
|
|
|
189
214
|
|
|
190
215
|
|
|
191
216
|
export interface CompositeChangeToken$instance {
|
|
217
|
+
readonly __tsonic_iface_Microsoft_Extensions_Primitives_IChangeToken: never;
|
|
218
|
+
|
|
192
219
|
readonly ActiveChangeCallbacks: boolean;
|
|
193
220
|
readonly ChangeTokens: IReadOnlyList<IChangeToken>;
|
|
194
221
|
readonly HasChanged: boolean;
|
|
@@ -211,6 +238,9 @@ export type CompositeChangeToken = CompositeChangeToken$instance & __CompositeCh
|
|
|
211
238
|
|
|
212
239
|
|
|
213
240
|
export interface StringSegmentComparer$instance {
|
|
241
|
+
readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
|
|
242
|
+
readonly __tsonic_iface_System_Collections_Generic_IEqualityComparer_1: never;
|
|
243
|
+
|
|
214
244
|
Compare(x: StringSegment, y: StringSegment): int;
|
|
215
245
|
Equals(x: StringSegment, y: StringSegment): boolean;
|
|
216
246
|
GetHashCode(obj: StringSegment): int;
|
|
@@ -218,7 +248,6 @@ export interface StringSegmentComparer$instance {
|
|
|
218
248
|
|
|
219
249
|
|
|
220
250
|
export const StringSegmentComparer: {
|
|
221
|
-
new(): StringSegmentComparer;
|
|
222
251
|
readonly Ordinal: StringSegmentComparer;
|
|
223
252
|
readonly OrdinalIgnoreCase: StringSegmentComparer;
|
|
224
253
|
};
|
|
@@ -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
|
+
|