@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
|
@@ -18,17 +18,17 @@ import type { ILoggingBuilder } from "../../Microsoft.Extensions.Logging/interna
|
|
|
18
18
|
import type { OptionsBuilder_1 } from "../../Microsoft.Extensions.Options/internal/index.js";
|
|
19
19
|
import type { ValidationOptions } from "../../Microsoft.Extensions.Validation/internal/index.js";
|
|
20
20
|
import type { WebEncoderOptions } from "../../Microsoft.Extensions.WebEncoders/internal/index.js";
|
|
21
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
22
|
-
import type {
|
|
23
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
24
|
-
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import type {
|
|
28
|
-
import
|
|
29
|
-
import type {
|
|
30
|
-
import
|
|
31
|
-
import type {
|
|
21
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
22
|
+
import type { ICollection_1, IEnumerable_1, IEnumerator_1, IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
23
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
24
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
25
|
+
import type { DelegatingHandler, HttpClient, HttpMessageHandler, SocketsHttpHandler } from "@tsonic/dotnet/System.Net.Http/internal/index.js";
|
|
26
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
27
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
28
|
+
import type { Task_1, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
29
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
30
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
31
|
+
import type { Action_1, Action_2, AsyncCallback, Attribute, Boolean as ClrBoolean, Enum, Func_1, Func_2, Func_3, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormattable, Int32, IntPtr, IServiceProvider, ISpanFormattable, MulticastDelegate, Nullable_1, Object as ClrObject, String as ClrString, TimeSpan, Type, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
32
32
|
|
|
33
33
|
export enum ServiceKeyLookupMode {
|
|
34
34
|
InheritKey = 0,
|
|
@@ -81,13 +81,13 @@ export interface IKeyedServiceProvider$instance extends System_Internal.IService
|
|
|
81
81
|
|
|
82
82
|
export type IKeyedServiceProvider = IKeyedServiceProvider$instance;
|
|
83
83
|
|
|
84
|
-
export interface IServiceCollection$instance extends
|
|
84
|
+
export interface IServiceCollection$instance extends IList_1<ServiceDescriptor>, ICollection_1<ServiceDescriptor>, IEnumerable_1<ServiceDescriptor>, IEnumerable {
|
|
85
85
|
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceCollection: never;
|
|
86
86
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
export interface IServiceCollection$instance extends System_Collections_Generic_Internal.
|
|
90
|
+
export interface IServiceCollection$instance extends System_Collections_Generic_Internal.ICollection_1<ServiceDescriptor>, System_Collections_Generic_Internal.IEnumerable_1<ServiceDescriptor>, System_Collections_Generic_Internal.IList_1<ServiceDescriptor> {}
|
|
91
91
|
|
|
92
92
|
export type IServiceCollection = IServiceCollection$instance;
|
|
93
93
|
|
|
@@ -161,7 +161,9 @@ export interface ISupportRequiredService$instance {
|
|
|
161
161
|
|
|
162
162
|
export type ISupportRequiredService = ISupportRequiredService$instance;
|
|
163
163
|
|
|
164
|
-
export interface AsyncServiceScope$instance {
|
|
164
|
+
export interface AsyncServiceScope$instance extends IServiceScope$instance, System_Internal.IAsyncDisposable {
|
|
165
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_AsyncServiceScope: never;
|
|
166
|
+
|
|
165
167
|
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceScope: never;
|
|
166
168
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
167
169
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -181,12 +183,12 @@ export interface __AsyncServiceScope$views {
|
|
|
181
183
|
As_IServiceScope(): IServiceScope$instance;
|
|
182
184
|
}
|
|
183
185
|
|
|
184
|
-
export interface AsyncServiceScope$instance extends IServiceScope$instance, System_Internal.IAsyncDisposable {}
|
|
185
|
-
|
|
186
186
|
export type AsyncServiceScope = AsyncServiceScope$instance & __AsyncServiceScope$views;
|
|
187
187
|
|
|
188
188
|
|
|
189
189
|
export interface ActivatorUtilitiesConstructorAttribute$instance extends Attribute {
|
|
190
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ActivatorUtilitiesConstructorAttribute: never;
|
|
191
|
+
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
|
|
@@ -197,7 +199,9 @@ export const ActivatorUtilitiesConstructorAttribute: {
|
|
|
197
199
|
|
|
198
200
|
export type ActivatorUtilitiesConstructorAttribute = ActivatorUtilitiesConstructorAttribute$instance;
|
|
199
201
|
|
|
200
|
-
export interface DefaultServiceProviderFactory$instance {
|
|
202
|
+
export interface DefaultServiceProviderFactory$instance extends IServiceProviderFactory_1$instance<IServiceCollection> {
|
|
203
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_DefaultServiceProviderFactory: never;
|
|
204
|
+
|
|
201
205
|
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceProviderFactory_1: never;
|
|
202
206
|
|
|
203
207
|
CreateBuilder(services: IServiceCollection): IServiceCollection;
|
|
@@ -215,12 +219,12 @@ export interface __DefaultServiceProviderFactory$views {
|
|
|
215
219
|
As_IServiceProviderFactory_1(): IServiceProviderFactory_1$instance<IServiceCollection>;
|
|
216
220
|
}
|
|
217
221
|
|
|
218
|
-
export interface DefaultServiceProviderFactory$instance extends IServiceProviderFactory_1$instance<IServiceCollection> {}
|
|
219
|
-
|
|
220
222
|
export type DefaultServiceProviderFactory = DefaultServiceProviderFactory$instance & __DefaultServiceProviderFactory$views;
|
|
221
223
|
|
|
222
224
|
|
|
223
225
|
export interface FromKeyedServicesAttribute$instance extends Attribute {
|
|
226
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_FromKeyedServicesAttribute: never;
|
|
227
|
+
|
|
224
228
|
readonly Key: unknown | undefined;
|
|
225
229
|
readonly LookupMode: ServiceKeyLookupMode;
|
|
226
230
|
}
|
|
@@ -235,6 +239,8 @@ export const FromKeyedServicesAttribute: {
|
|
|
235
239
|
export type FromKeyedServicesAttribute = FromKeyedServicesAttribute$instance;
|
|
236
240
|
|
|
237
241
|
export interface ServiceCollection$instance extends IServiceCollection {
|
|
242
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceCollection: never;
|
|
243
|
+
|
|
238
244
|
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceCollection: never;
|
|
239
245
|
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
240
246
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
@@ -243,11 +249,10 @@ export interface ServiceCollection$instance extends IServiceCollection {
|
|
|
243
249
|
|
|
244
250
|
readonly Count: int;
|
|
245
251
|
readonly IsReadOnly: boolean;
|
|
246
|
-
[index: number]: ServiceDescriptor;
|
|
247
252
|
Clear(): void;
|
|
248
253
|
Contains(item: ServiceDescriptor): boolean;
|
|
249
254
|
CopyTo(array: ServiceDescriptor[], arrayIndex: int): void;
|
|
250
|
-
GetEnumerator():
|
|
255
|
+
GetEnumerator(): IEnumerator_1<ServiceDescriptor>;
|
|
251
256
|
IndexOf(item: ServiceDescriptor): int;
|
|
252
257
|
Insert(index: int, item: ServiceDescriptor): void;
|
|
253
258
|
MakeReadOnly(): void;
|
|
@@ -261,14 +266,16 @@ export const ServiceCollection: {
|
|
|
261
266
|
};
|
|
262
267
|
|
|
263
268
|
|
|
264
|
-
export type ServiceCollection = ServiceCollection$instance;
|
|
269
|
+
export type ServiceCollection = ServiceCollection$instance & { [index: number]: ServiceDescriptor; };
|
|
265
270
|
|
|
266
271
|
export interface ServiceDescriptor$instance {
|
|
267
|
-
readonly
|
|
272
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceDescriptor: never;
|
|
273
|
+
|
|
274
|
+
readonly ImplementationFactory: Func_2<IServiceProvider, unknown> | undefined;
|
|
268
275
|
readonly ImplementationInstance: unknown | undefined;
|
|
269
276
|
readonly ImplementationType: Type | undefined;
|
|
270
277
|
readonly IsKeyedService: boolean;
|
|
271
|
-
readonly KeyedImplementationFactory:
|
|
278
|
+
readonly KeyedImplementationFactory: Func_3<IServiceProvider, unknown | undefined, unknown> | undefined;
|
|
272
279
|
readonly KeyedImplementationInstance: unknown | undefined;
|
|
273
280
|
readonly KeyedImplementationType: Type | undefined;
|
|
274
281
|
readonly Lifetime: ServiceLifetime;
|
|
@@ -283,39 +290,39 @@ export const ServiceDescriptor: {
|
|
|
283
290
|
new(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
284
291
|
new(serviceType: Type, instance: unknown): ServiceDescriptor;
|
|
285
292
|
new(serviceType: Type, serviceKey: unknown, instance: unknown): ServiceDescriptor;
|
|
286
|
-
new(serviceType: Type, factory:
|
|
287
|
-
new(serviceType: Type, serviceKey: unknown, factory:
|
|
288
|
-
Describe(serviceType: Type, implementationFactory:
|
|
293
|
+
new(serviceType: Type, factory: Func_2<IServiceProvider, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
294
|
+
new(serviceType: Type, serviceKey: unknown, factory: Func_3<IServiceProvider, unknown, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
295
|
+
Describe(serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
289
296
|
Describe(serviceType: Type, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
290
|
-
DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
297
|
+
DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
291
298
|
DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
292
|
-
KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory:
|
|
299
|
+
KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
293
300
|
KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
294
|
-
KeyedScoped(service: Type, serviceKey: unknown, implementationFactory:
|
|
301
|
+
KeyedScoped(service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
295
302
|
KeyedScoped(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
296
|
-
KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory:
|
|
303
|
+
KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
297
304
|
KeyedSingleton<TService>(serviceKey: unknown, implementationInstance: TService): ServiceDescriptor;
|
|
298
305
|
KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
299
|
-
KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
306
|
+
KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
300
307
|
KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationInstance: unknown): ServiceDescriptor;
|
|
301
308
|
KeyedSingleton(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
302
|
-
KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory:
|
|
309
|
+
KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
303
310
|
KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
304
|
-
KeyedTransient(service: Type, serviceKey: unknown, implementationFactory:
|
|
311
|
+
KeyedTransient(service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
305
312
|
KeyedTransient(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
306
313
|
Scoped<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
307
|
-
Scoped<TService, TImplementation extends TService>(implementationFactory:
|
|
308
|
-
Scoped(service: Type, implementationFactory:
|
|
314
|
+
Scoped<TService, TImplementation extends TService>(implementationFactory: Func_2<IServiceProvider, TImplementation>): ServiceDescriptor;
|
|
315
|
+
Scoped(service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): ServiceDescriptor;
|
|
309
316
|
Scoped(service: Type, implementationType: Type): ServiceDescriptor;
|
|
310
317
|
Singleton<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
311
|
-
Singleton<TService, TImplementation extends TService>(implementationFactory:
|
|
312
|
-
Singleton(serviceType: Type, implementationFactory:
|
|
318
|
+
Singleton<TService, TImplementation extends TService>(implementationFactory: Func_2<IServiceProvider, TImplementation>): ServiceDescriptor;
|
|
319
|
+
Singleton(serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): ServiceDescriptor;
|
|
313
320
|
Singleton(serviceType: Type, implementationInstance: unknown): ServiceDescriptor;
|
|
314
321
|
Singleton(service: Type, implementationType: Type): ServiceDescriptor;
|
|
315
322
|
Singleton<TService>(implementationInstance: TService): ServiceDescriptor;
|
|
316
323
|
Transient<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
317
|
-
Transient<TService, TImplementation extends TService>(implementationFactory:
|
|
318
|
-
Transient(service: Type, implementationFactory:
|
|
324
|
+
Transient<TService, TImplementation extends TService>(implementationFactory: Func_2<IServiceProvider, TImplementation>): ServiceDescriptor;
|
|
325
|
+
Transient(service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): ServiceDescriptor;
|
|
319
326
|
Transient(service: Type, implementationType: Type): ServiceDescriptor;
|
|
320
327
|
};
|
|
321
328
|
|
|
@@ -323,6 +330,8 @@ export const ServiceDescriptor: {
|
|
|
323
330
|
export type ServiceDescriptor = ServiceDescriptor$instance;
|
|
324
331
|
|
|
325
332
|
export interface ServiceKeyAttribute$instance extends Attribute {
|
|
333
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceKeyAttribute: never;
|
|
334
|
+
|
|
326
335
|
}
|
|
327
336
|
|
|
328
337
|
|
|
@@ -333,7 +342,9 @@ export const ServiceKeyAttribute: {
|
|
|
333
342
|
|
|
334
343
|
export type ServiceKeyAttribute = ServiceKeyAttribute$instance;
|
|
335
344
|
|
|
336
|
-
export interface ServiceProvider$instance {
|
|
345
|
+
export interface ServiceProvider$instance extends IKeyedServiceProvider$instance, System_Internal.IAsyncDisposable, System_Internal.IDisposable {
|
|
346
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceProvider: never;
|
|
347
|
+
|
|
337
348
|
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IKeyedServiceProvider: never;
|
|
338
349
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
339
350
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -355,12 +366,12 @@ export interface __ServiceProvider$views {
|
|
|
355
366
|
As_IKeyedServiceProvider(): IKeyedServiceProvider$instance;
|
|
356
367
|
}
|
|
357
368
|
|
|
358
|
-
export interface ServiceProvider$instance extends IKeyedServiceProvider$instance, System_Internal.IAsyncDisposable, System_Internal.IDisposable {}
|
|
359
|
-
|
|
360
369
|
export type ServiceProvider = ServiceProvider$instance & __ServiceProvider$views;
|
|
361
370
|
|
|
362
371
|
|
|
363
372
|
export interface ServiceProviderOptions$instance {
|
|
373
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceProviderOptions: never;
|
|
374
|
+
|
|
364
375
|
ValidateOnBuild: boolean;
|
|
365
376
|
ValidateScopes: boolean;
|
|
366
377
|
}
|
|
@@ -386,7 +397,7 @@ export abstract class ActivatorUtilities$instance {
|
|
|
386
397
|
export type ActivatorUtilities = ActivatorUtilities$instance;
|
|
387
398
|
|
|
388
399
|
export abstract class EncoderServiceCollectionExtensions$instance {
|
|
389
|
-
static AddWebEncoders(services: IServiceCollection, setupAction:
|
|
400
|
+
static AddWebEncoders(services: IServiceCollection, setupAction: Action_1<WebEncoderOptions>): IServiceCollection;
|
|
390
401
|
static AddWebEncoders(services: IServiceCollection): IServiceCollection;
|
|
391
402
|
}
|
|
392
403
|
|
|
@@ -394,13 +405,13 @@ export abstract class EncoderServiceCollectionExtensions$instance {
|
|
|
394
405
|
export type EncoderServiceCollectionExtensions = EncoderServiceCollectionExtensions$instance;
|
|
395
406
|
|
|
396
407
|
export abstract class HealthChecksBuilderAddCheckExtensions$instance {
|
|
397
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus?:
|
|
398
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus:
|
|
399
|
-
static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus?:
|
|
400
|
-
static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus:
|
|
401
|
-
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus:
|
|
402
|
-
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus:
|
|
403
|
-
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus:
|
|
408
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus?: Nullable_1<HealthStatus>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
409
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
410
|
+
static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus?: Nullable_1<HealthStatus>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
411
|
+
static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
412
|
+
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, ...args: unknown[]): IHealthChecksBuilder;
|
|
413
|
+
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, timeout: TimeSpan, ...args: unknown[]): IHealthChecksBuilder;
|
|
414
|
+
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, ...args: unknown[]): IHealthChecksBuilder;
|
|
404
415
|
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, ...args: unknown[]): IHealthChecksBuilder;
|
|
405
416
|
}
|
|
406
417
|
|
|
@@ -408,14 +419,14 @@ export abstract class HealthChecksBuilderAddCheckExtensions$instance {
|
|
|
408
419
|
export type HealthChecksBuilderAddCheckExtensions = HealthChecksBuilderAddCheckExtensions$instance;
|
|
409
420
|
|
|
410
421
|
export abstract class HealthChecksBuilderDelegateExtensions$instance {
|
|
411
|
-
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
412
|
-
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
413
|
-
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
414
|
-
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
415
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
416
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
417
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
418
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
422
|
+
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<Task_1<HealthCheckResult>>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
423
|
+
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<Task_1<HealthCheckResult>>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
424
|
+
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, Task_1<HealthCheckResult>>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
425
|
+
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, Task_1<HealthCheckResult>>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
426
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<HealthCheckResult>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
427
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<HealthCheckResult>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
428
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, HealthCheckResult>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
429
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, HealthCheckResult>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
419
430
|
}
|
|
420
431
|
|
|
421
432
|
|
|
@@ -431,47 +442,47 @@ export type HealthCheckServiceCollectionExtensions = HealthCheckServiceCollectio
|
|
|
431
442
|
export abstract class HttpClientBuilderExtensions$instance {
|
|
432
443
|
static AddAsKeyed(builder: IHttpClientBuilder, lifetime?: ServiceLifetime): IHttpClientBuilder;
|
|
433
444
|
static AddDefaultLogger(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
434
|
-
static AddHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
435
|
-
static AddHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
445
|
+
static AddHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func_1<DelegatingHandler>): IHttpClientBuilder;
|
|
446
|
+
static AddHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func_2<IServiceProvider, DelegatingHandler>): IHttpClientBuilder;
|
|
436
447
|
static AddHttpMessageHandler<THandler extends DelegatingHandler>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
437
448
|
static AddLogger<TLogger extends IHttpClientLogger>(builder: IHttpClientBuilder, wrapHandlersPipeline?: boolean): IHttpClientBuilder;
|
|
438
|
-
static AddLogger(builder: IHttpClientBuilder, httpClientLoggerFactory:
|
|
439
|
-
static AddTypedClient<TClient>(builder: IHttpClientBuilder, factory:
|
|
440
|
-
static AddTypedClient<TClient>(builder: IHttpClientBuilder, factory:
|
|
449
|
+
static AddLogger(builder: IHttpClientBuilder, httpClientLoggerFactory: Func_2<IServiceProvider, IHttpClientLogger>, wrapHandlersPipeline?: boolean): IHttpClientBuilder;
|
|
450
|
+
static AddTypedClient<TClient>(builder: IHttpClientBuilder, factory: Func_2<HttpClient, TClient>): IHttpClientBuilder;
|
|
451
|
+
static AddTypedClient<TClient>(builder: IHttpClientBuilder, factory: Func_3<HttpClient, IServiceProvider, TClient>): IHttpClientBuilder;
|
|
441
452
|
static AddTypedClient<TClient>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
442
|
-
static ConfigureAdditionalHttpMessageHandlers(builder: IHttpClientBuilder, configureAdditionalHandlers:
|
|
443
|
-
static ConfigureHttpClient(builder: IHttpClientBuilder, configureClient:
|
|
444
|
-
static ConfigureHttpClient(builder: IHttpClientBuilder, configureClient:
|
|
445
|
-
static ConfigureHttpMessageHandlerBuilder(builder: IHttpClientBuilder, configureBuilder:
|
|
446
|
-
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
447
|
-
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
448
|
-
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
453
|
+
static ConfigureAdditionalHttpMessageHandlers(builder: IHttpClientBuilder, configureAdditionalHandlers: Action_2<IList_1<DelegatingHandler>, IServiceProvider>): IHttpClientBuilder;
|
|
454
|
+
static ConfigureHttpClient(builder: IHttpClientBuilder, configureClient: Action_1<HttpClient>): IHttpClientBuilder;
|
|
455
|
+
static ConfigureHttpClient(builder: IHttpClientBuilder, configureClient: Action_2<IServiceProvider, HttpClient>): IHttpClientBuilder;
|
|
456
|
+
static ConfigureHttpMessageHandlerBuilder(builder: IHttpClientBuilder, configureBuilder: Action_1<HttpMessageHandlerBuilder>): IHttpClientBuilder;
|
|
457
|
+
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Action_2<HttpMessageHandler, IServiceProvider>): IHttpClientBuilder;
|
|
458
|
+
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func_1<HttpMessageHandler>): IHttpClientBuilder;
|
|
459
|
+
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func_2<IServiceProvider, HttpMessageHandler>): IHttpClientBuilder;
|
|
449
460
|
static ConfigurePrimaryHttpMessageHandler<THandler extends HttpMessageHandler>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
450
|
-
static RedactLoggedHeaders(builder: IHttpClientBuilder, redactedLoggedHeaderNames:
|
|
451
|
-
static RedactLoggedHeaders(builder: IHttpClientBuilder, shouldRedactHeaderValue:
|
|
461
|
+
static RedactLoggedHeaders(builder: IHttpClientBuilder, redactedLoggedHeaderNames: IEnumerable_1<System_Internal.String>): IHttpClientBuilder;
|
|
462
|
+
static RedactLoggedHeaders(builder: IHttpClientBuilder, shouldRedactHeaderValue: Func_2<System_Internal.String, System_Internal.Boolean>): IHttpClientBuilder;
|
|
452
463
|
static RemoveAllLoggers(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
453
464
|
static RemoveAsKeyed(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
454
465
|
static SetHandlerLifetime(builder: IHttpClientBuilder, handlerLifetime: TimeSpan): IHttpClientBuilder;
|
|
455
|
-
static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureBuilder:
|
|
456
|
-
static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureHandler?:
|
|
466
|
+
static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureBuilder: Action_1<ISocketsHttpHandlerBuilder>): IHttpClientBuilder;
|
|
467
|
+
static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureHandler?: Action_2<SocketsHttpHandler, IServiceProvider>): IHttpClientBuilder;
|
|
457
468
|
}
|
|
458
469
|
|
|
459
470
|
|
|
460
471
|
export type HttpClientBuilderExtensions = HttpClientBuilderExtensions$instance;
|
|
461
472
|
|
|
462
473
|
export abstract class HttpClientFactoryServiceCollectionExtensions$instance {
|
|
463
|
-
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory:
|
|
464
|
-
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory:
|
|
465
|
-
static AddHttpClient<TClient>(services: IServiceCollection, configureClient:
|
|
466
|
-
static AddHttpClient<TClient>(services: IServiceCollection, configureClient:
|
|
467
|
-
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory:
|
|
468
|
-
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory:
|
|
469
|
-
static AddHttpClient(services: IServiceCollection, name: string, configureClient:
|
|
470
|
-
static AddHttpClient(services: IServiceCollection, name: string, configureClient:
|
|
474
|
+
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory: Func_2<HttpClient, TImplementation>): IHttpClientBuilder;
|
|
475
|
+
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory: Func_3<HttpClient, IServiceProvider, TImplementation>): IHttpClientBuilder;
|
|
476
|
+
static AddHttpClient<TClient>(services: IServiceCollection, configureClient: Action_1<HttpClient>): IHttpClientBuilder;
|
|
477
|
+
static AddHttpClient<TClient>(services: IServiceCollection, configureClient: Action_2<IServiceProvider, HttpClient>): IHttpClientBuilder;
|
|
478
|
+
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory: Func_2<HttpClient, TImplementation>): IHttpClientBuilder;
|
|
479
|
+
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory: Func_3<HttpClient, IServiceProvider, TImplementation>): IHttpClientBuilder;
|
|
480
|
+
static AddHttpClient(services: IServiceCollection, name: string, configureClient: Action_1<HttpClient>): IHttpClientBuilder;
|
|
481
|
+
static AddHttpClient(services: IServiceCollection, name: string, configureClient: Action_2<IServiceProvider, HttpClient>): IHttpClientBuilder;
|
|
471
482
|
static AddHttpClient(services: IServiceCollection, name: string): IHttpClientBuilder;
|
|
472
483
|
static AddHttpClient<TClient>(services: IServiceCollection): IHttpClientBuilder;
|
|
473
484
|
static AddHttpClient(services: IServiceCollection): IServiceCollection;
|
|
474
|
-
static ConfigureHttpClientDefaults(services: IServiceCollection, configure:
|
|
485
|
+
static ConfigureHttpClientDefaults(services: IServiceCollection, configure: Action_1<IHttpClientBuilder>): IServiceCollection;
|
|
475
486
|
}
|
|
476
487
|
|
|
477
488
|
|
|
@@ -485,7 +496,7 @@ export abstract class KeyedService$instance {
|
|
|
485
496
|
export type KeyedService = KeyedService$instance;
|
|
486
497
|
|
|
487
498
|
export abstract class LocalizationServiceCollectionExtensions$instance {
|
|
488
|
-
static AddLocalization(services: IServiceCollection, setupAction:
|
|
499
|
+
static AddLocalization(services: IServiceCollection, setupAction: Action_1<LocalizationOptions>): IServiceCollection;
|
|
489
500
|
static AddLocalization(services: IServiceCollection): IServiceCollection;
|
|
490
501
|
}
|
|
491
502
|
|
|
@@ -493,7 +504,7 @@ export abstract class LocalizationServiceCollectionExtensions$instance {
|
|
|
493
504
|
export type LocalizationServiceCollectionExtensions = LocalizationServiceCollectionExtensions$instance;
|
|
494
505
|
|
|
495
506
|
export abstract class LoggingServiceCollectionExtensions$instance {
|
|
496
|
-
static AddLogging(services: IServiceCollection, configure:
|
|
507
|
+
static AddLogging(services: IServiceCollection, configure: Action_1<ILoggingBuilder>): IServiceCollection;
|
|
497
508
|
static AddLogging(services: IServiceCollection): IServiceCollection;
|
|
498
509
|
}
|
|
499
510
|
|
|
@@ -501,9 +512,9 @@ export abstract class LoggingServiceCollectionExtensions$instance {
|
|
|
501
512
|
export type LoggingServiceCollectionExtensions = LoggingServiceCollectionExtensions$instance;
|
|
502
513
|
|
|
503
514
|
export abstract class MemoryCacheServiceCollectionExtensions$instance {
|
|
504
|
-
static AddDistributedMemoryCache(services: IServiceCollection, setupAction:
|
|
515
|
+
static AddDistributedMemoryCache(services: IServiceCollection, setupAction: Action_1<MemoryDistributedCacheOptions>): IServiceCollection;
|
|
505
516
|
static AddDistributedMemoryCache(services: IServiceCollection): IServiceCollection;
|
|
506
|
-
static AddMemoryCache(services: IServiceCollection, setupAction:
|
|
517
|
+
static AddMemoryCache(services: IServiceCollection, setupAction: Action_1<MemoryCacheOptions>): IServiceCollection;
|
|
507
518
|
static AddMemoryCache(services: IServiceCollection): IServiceCollection;
|
|
508
519
|
}
|
|
509
520
|
|
|
@@ -511,7 +522,7 @@ export abstract class MemoryCacheServiceCollectionExtensions$instance {
|
|
|
511
522
|
export type MemoryCacheServiceCollectionExtensions = MemoryCacheServiceCollectionExtensions$instance;
|
|
512
523
|
|
|
513
524
|
export abstract class MetricsServiceExtensions$instance {
|
|
514
|
-
static AddMetrics(services: IServiceCollection, configure:
|
|
525
|
+
static AddMetrics(services: IServiceCollection, configure: Action_1<IMetricsBuilder>): IServiceCollection;
|
|
515
526
|
static AddMetrics(services: IServiceCollection): IServiceCollection;
|
|
516
527
|
}
|
|
517
528
|
|
|
@@ -519,9 +530,9 @@ export abstract class MetricsServiceExtensions$instance {
|
|
|
519
530
|
export type MetricsServiceExtensions = MetricsServiceExtensions$instance;
|
|
520
531
|
|
|
521
532
|
export abstract class OptionsBuilderConfigurationExtensions$instance {
|
|
522
|
-
static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration, configureBinder:
|
|
533
|
+
static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration, configureBinder: Action_1<BinderOptions>): OptionsBuilder_1<TOptions>;
|
|
523
534
|
static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration): OptionsBuilder_1<TOptions>;
|
|
524
|
-
static BindConfiguration<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, configSectionPath: string, configureBinder?:
|
|
535
|
+
static BindConfiguration<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, configSectionPath: string, configureBinder?: Action_1<BinderOptions>): OptionsBuilder_1<TOptions>;
|
|
525
536
|
}
|
|
526
537
|
|
|
527
538
|
|
|
@@ -542,9 +553,9 @@ export abstract class OptionsBuilderExtensions$instance {
|
|
|
542
553
|
export type OptionsBuilderExtensions = OptionsBuilderExtensions$instance;
|
|
543
554
|
|
|
544
555
|
export abstract class OptionsConfigurationServiceCollectionExtensions$instance {
|
|
545
|
-
static Configure<TOptions>(services: IServiceCollection, config: IConfiguration, configureBinder:
|
|
556
|
+
static Configure<TOptions>(services: IServiceCollection, config: IConfiguration, configureBinder: Action_1<BinderOptions>): IServiceCollection;
|
|
546
557
|
static Configure<TOptions>(services: IServiceCollection, config: IConfiguration): IServiceCollection;
|
|
547
|
-
static Configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration, configureBinder:
|
|
558
|
+
static Configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration, configureBinder: Action_1<BinderOptions>): IServiceCollection;
|
|
548
559
|
static Configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration): IServiceCollection;
|
|
549
560
|
}
|
|
550
561
|
|
|
@@ -556,15 +567,15 @@ export abstract class OptionsServiceCollectionExtensions$instance {
|
|
|
556
567
|
static AddOptions(services: IServiceCollection): IServiceCollection;
|
|
557
568
|
static AddOptions<TOptions>(services: IServiceCollection): OptionsBuilder_1<TOptions>;
|
|
558
569
|
static AddOptionsWithValidateOnStart<TOptions>(services: IServiceCollection, name?: string): OptionsBuilder_1<TOptions>;
|
|
559
|
-
static Configure<TOptions>(services: IServiceCollection, configureOptions:
|
|
560
|
-
static Configure<TOptions>(services: IServiceCollection, name: string, configureOptions:
|
|
561
|
-
static ConfigureAll<TOptions>(services: IServiceCollection, configureOptions:
|
|
570
|
+
static Configure<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
571
|
+
static Configure<TOptions>(services: IServiceCollection, name: string, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
572
|
+
static ConfigureAll<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
562
573
|
static ConfigureOptions(services: IServiceCollection, configureInstance: unknown): IServiceCollection;
|
|
563
574
|
static ConfigureOptions(services: IServiceCollection, configureType: Type): IServiceCollection;
|
|
564
575
|
static ConfigureOptions<TConfigureOptions>(services: IServiceCollection): IServiceCollection;
|
|
565
|
-
static PostConfigure<TOptions>(services: IServiceCollection, configureOptions:
|
|
566
|
-
static PostConfigure<TOptions>(services: IServiceCollection, name: string, configureOptions:
|
|
567
|
-
static PostConfigureAll<TOptions>(services: IServiceCollection, configureOptions:
|
|
576
|
+
static PostConfigure<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
577
|
+
static PostConfigure<TOptions>(services: IServiceCollection, name: string, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
578
|
+
static PostConfigureAll<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
568
579
|
}
|
|
569
580
|
|
|
570
581
|
|
|
@@ -580,7 +591,7 @@ export abstract class ServiceCollectionContainerBuilderExtensions$instance {
|
|
|
580
591
|
export type ServiceCollectionContainerBuilderExtensions = ServiceCollectionContainerBuilderExtensions$instance;
|
|
581
592
|
|
|
582
593
|
export abstract class ServiceCollectionHostedServiceExtensions$instance {
|
|
583
|
-
static AddHostedService<THostedService extends IHostedService>(services: IServiceCollection, implementationFactory:
|
|
594
|
+
static AddHostedService<THostedService extends IHostedService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, THostedService>): IServiceCollection;
|
|
584
595
|
static AddHostedService<THostedService extends IHostedService>(services: IServiceCollection): IServiceCollection;
|
|
585
596
|
}
|
|
586
597
|
|
|
@@ -588,37 +599,37 @@ export abstract class ServiceCollectionHostedServiceExtensions$instance {
|
|
|
588
599
|
export type ServiceCollectionHostedServiceExtensions = ServiceCollectionHostedServiceExtensions$instance;
|
|
589
600
|
|
|
590
601
|
export abstract class ServiceCollectionServiceExtensions$instance {
|
|
591
|
-
static AddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
602
|
+
static AddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
592
603
|
static AddKeyedScoped<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
593
|
-
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
604
|
+
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): IServiceCollection;
|
|
594
605
|
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
595
606
|
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
596
|
-
static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
607
|
+
static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
597
608
|
static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationInstance: TService): IServiceCollection;
|
|
598
609
|
static AddKeyedSingleton<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
599
|
-
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
610
|
+
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): IServiceCollection;
|
|
600
611
|
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationInstance: unknown): IServiceCollection;
|
|
601
612
|
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
602
613
|
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
603
|
-
static AddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
614
|
+
static AddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
604
615
|
static AddKeyedTransient<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
605
|
-
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
616
|
+
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): IServiceCollection;
|
|
606
617
|
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
607
618
|
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
608
|
-
static AddScoped<TService>(services: IServiceCollection, implementationFactory:
|
|
609
|
-
static AddScoped(services: IServiceCollection, serviceType: Type, implementationFactory:
|
|
619
|
+
static AddScoped<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): IServiceCollection;
|
|
620
|
+
static AddScoped(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): IServiceCollection;
|
|
610
621
|
static AddScoped(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
611
622
|
static AddScoped(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
612
623
|
static AddScoped<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
613
|
-
static AddSingleton<TService>(services: IServiceCollection, implementationFactory:
|
|
614
|
-
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationFactory:
|
|
624
|
+
static AddSingleton<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): IServiceCollection;
|
|
625
|
+
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): IServiceCollection;
|
|
615
626
|
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationInstance: unknown): IServiceCollection;
|
|
616
627
|
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
617
628
|
static AddSingleton(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
618
629
|
static AddSingleton<TService>(services: IServiceCollection, implementationInstance: TService): IServiceCollection;
|
|
619
630
|
static AddSingleton<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
620
|
-
static AddTransient<TService>(services: IServiceCollection, implementationFactory:
|
|
621
|
-
static AddTransient(services: IServiceCollection, serviceType: Type, implementationFactory:
|
|
631
|
+
static AddTransient<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): IServiceCollection;
|
|
632
|
+
static AddTransient(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): IServiceCollection;
|
|
622
633
|
static AddTransient(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
623
634
|
static AddTransient(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
624
635
|
static AddTransient<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
@@ -630,8 +641,8 @@ export type ServiceCollectionServiceExtensions = ServiceCollectionServiceExtensi
|
|
|
630
641
|
export abstract class ServiceProviderKeyedServiceExtensions$instance {
|
|
631
642
|
static GetKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T | undefined;
|
|
632
643
|
static GetKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): unknown | undefined;
|
|
633
|
-
static GetKeyedServices<T>(provider: IServiceProvider, serviceKey: unknown):
|
|
634
|
-
static GetKeyedServices(provider: IServiceProvider, serviceType: Type, serviceKey: unknown):
|
|
644
|
+
static GetKeyedServices<T>(provider: IServiceProvider, serviceKey: unknown): IEnumerable_1<T>;
|
|
645
|
+
static GetKeyedServices(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): IEnumerable_1<unknown | undefined>;
|
|
635
646
|
static GetRequiredKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T;
|
|
636
647
|
static GetRequiredKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): unknown;
|
|
637
648
|
}
|
|
@@ -646,8 +657,8 @@ export abstract class ServiceProviderServiceExtensions$instance {
|
|
|
646
657
|
static GetRequiredService(provider: IServiceProvider, serviceType: Type): unknown;
|
|
647
658
|
static GetRequiredService<T>(provider: IServiceProvider): T;
|
|
648
659
|
static GetService<T>(provider: IServiceProvider): T | undefined;
|
|
649
|
-
static GetServices(provider: IServiceProvider, serviceType: Type):
|
|
650
|
-
static GetServices<T>(provider: IServiceProvider):
|
|
660
|
+
static GetServices(provider: IServiceProvider, serviceType: Type): IEnumerable_1<unknown | undefined>;
|
|
661
|
+
static GetServices<T>(provider: IServiceProvider): IEnumerable_1<T>;
|
|
651
662
|
}
|
|
652
663
|
|
|
653
664
|
|
|
@@ -655,14 +666,14 @@ export type ServiceProviderServiceExtensions = ServiceProviderServiceExtensions$
|
|
|
655
666
|
|
|
656
667
|
export abstract class SocketsHttpHandlerBuilderExtensions$instance {
|
|
657
668
|
static Configure(builder: ISocketsHttpHandlerBuilder, configuration: IConfiguration): ISocketsHttpHandlerBuilder;
|
|
658
|
-
static Configure(builder: ISocketsHttpHandlerBuilder, configure:
|
|
669
|
+
static Configure(builder: ISocketsHttpHandlerBuilder, configure: Action_2<SocketsHttpHandler, IServiceProvider>): ISocketsHttpHandlerBuilder;
|
|
659
670
|
}
|
|
660
671
|
|
|
661
672
|
|
|
662
673
|
export type SocketsHttpHandlerBuilderExtensions = SocketsHttpHandlerBuilderExtensions$instance;
|
|
663
674
|
|
|
664
675
|
export abstract class ValidationServiceCollectionExtensions$instance {
|
|
665
|
-
static AddValidation(services: IServiceCollection, configureOptions?:
|
|
676
|
+
static AddValidation(services: IServiceCollection, configureOptions?: Action_1<ValidationOptions>): IServiceCollection;
|
|
666
677
|
}
|
|
667
678
|
|
|
668
679
|
|