@tsonic/microsoft-extensions 10.0.5 → 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 +21 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +25 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +39 -31
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +92 -76
- 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 +15 -15
- 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 +127 -115
- 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 +38 -22
- 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 +24 -10
- 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 +11 -5
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +147 -69
- package/System.Security.Cryptography.Xml/internal/index.d.ts +98 -16
- 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
|
|
|
@@ -198,6 +200,8 @@ export const ActivatorUtilitiesConstructorAttribute: {
|
|
|
198
200
|
export type ActivatorUtilitiesConstructorAttribute = ActivatorUtilitiesConstructorAttribute$instance;
|
|
199
201
|
|
|
200
202
|
export interface DefaultServiceProviderFactory$instance {
|
|
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;
|
|
@@ -247,7 +253,7 @@ export interface ServiceCollection$instance extends IServiceCollection {
|
|
|
247
253
|
Clear(): void;
|
|
248
254
|
Contains(item: ServiceDescriptor): boolean;
|
|
249
255
|
CopyTo(array: ServiceDescriptor[], arrayIndex: int): void;
|
|
250
|
-
GetEnumerator():
|
|
256
|
+
GetEnumerator(): IEnumerator_1<ServiceDescriptor>;
|
|
251
257
|
IndexOf(item: ServiceDescriptor): int;
|
|
252
258
|
Insert(index: int, item: ServiceDescriptor): void;
|
|
253
259
|
MakeReadOnly(): void;
|
|
@@ -264,11 +270,13 @@ export const ServiceCollection: {
|
|
|
264
270
|
export type ServiceCollection = ServiceCollection$instance;
|
|
265
271
|
|
|
266
272
|
export interface ServiceDescriptor$instance {
|
|
267
|
-
readonly
|
|
273
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceDescriptor: never;
|
|
274
|
+
|
|
275
|
+
readonly ImplementationFactory: Func_2<IServiceProvider, unknown> | undefined;
|
|
268
276
|
readonly ImplementationInstance: unknown | undefined;
|
|
269
277
|
readonly ImplementationType: Type | undefined;
|
|
270
278
|
readonly IsKeyedService: boolean;
|
|
271
|
-
readonly KeyedImplementationFactory:
|
|
279
|
+
readonly KeyedImplementationFactory: Func_3<IServiceProvider, unknown | undefined, unknown> | undefined;
|
|
272
280
|
readonly KeyedImplementationInstance: unknown | undefined;
|
|
273
281
|
readonly KeyedImplementationType: Type | undefined;
|
|
274
282
|
readonly Lifetime: ServiceLifetime;
|
|
@@ -283,39 +291,39 @@ export const ServiceDescriptor: {
|
|
|
283
291
|
new(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
284
292
|
new(serviceType: Type, instance: unknown): ServiceDescriptor;
|
|
285
293
|
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:
|
|
294
|
+
new(serviceType: Type, factory: Func_2<IServiceProvider, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
295
|
+
new(serviceType: Type, serviceKey: unknown, factory: Func_3<IServiceProvider, unknown, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
296
|
+
Describe(serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
289
297
|
Describe(serviceType: Type, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
290
|
-
DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
298
|
+
DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
291
299
|
DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
292
|
-
KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory:
|
|
300
|
+
KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
293
301
|
KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
294
|
-
KeyedScoped(service: Type, serviceKey: unknown, implementationFactory:
|
|
302
|
+
KeyedScoped(service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
295
303
|
KeyedScoped(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
296
|
-
KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory:
|
|
304
|
+
KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
297
305
|
KeyedSingleton<TService>(serviceKey: unknown, implementationInstance: TService): ServiceDescriptor;
|
|
298
306
|
KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
299
|
-
KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
307
|
+
KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
300
308
|
KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationInstance: unknown): ServiceDescriptor;
|
|
301
309
|
KeyedSingleton(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
302
|
-
KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory:
|
|
310
|
+
KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
303
311
|
KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
304
|
-
KeyedTransient(service: Type, serviceKey: unknown, implementationFactory:
|
|
312
|
+
KeyedTransient(service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
305
313
|
KeyedTransient(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
306
314
|
Scoped<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
307
|
-
Scoped<TService, TImplementation extends TService>(implementationFactory:
|
|
308
|
-
Scoped(service: Type, implementationFactory:
|
|
315
|
+
Scoped<TService, TImplementation extends TService>(implementationFactory: Func_2<IServiceProvider, TImplementation>): ServiceDescriptor;
|
|
316
|
+
Scoped(service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): ServiceDescriptor;
|
|
309
317
|
Scoped(service: Type, implementationType: Type): ServiceDescriptor;
|
|
310
318
|
Singleton<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
311
|
-
Singleton<TService, TImplementation extends TService>(implementationFactory:
|
|
312
|
-
Singleton(serviceType: Type, implementationFactory:
|
|
319
|
+
Singleton<TService, TImplementation extends TService>(implementationFactory: Func_2<IServiceProvider, TImplementation>): ServiceDescriptor;
|
|
320
|
+
Singleton(serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): ServiceDescriptor;
|
|
313
321
|
Singleton(serviceType: Type, implementationInstance: unknown): ServiceDescriptor;
|
|
314
322
|
Singleton(service: Type, implementationType: Type): ServiceDescriptor;
|
|
315
323
|
Singleton<TService>(implementationInstance: TService): ServiceDescriptor;
|
|
316
324
|
Transient<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
317
|
-
Transient<TService, TImplementation extends TService>(implementationFactory:
|
|
318
|
-
Transient(service: Type, implementationFactory:
|
|
325
|
+
Transient<TService, TImplementation extends TService>(implementationFactory: Func_2<IServiceProvider, TImplementation>): ServiceDescriptor;
|
|
326
|
+
Transient(service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): ServiceDescriptor;
|
|
319
327
|
Transient(service: Type, implementationType: Type): ServiceDescriptor;
|
|
320
328
|
};
|
|
321
329
|
|
|
@@ -323,6 +331,8 @@ export const ServiceDescriptor: {
|
|
|
323
331
|
export type ServiceDescriptor = ServiceDescriptor$instance;
|
|
324
332
|
|
|
325
333
|
export interface ServiceKeyAttribute$instance extends Attribute {
|
|
334
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceKeyAttribute: never;
|
|
335
|
+
|
|
326
336
|
}
|
|
327
337
|
|
|
328
338
|
|
|
@@ -333,7 +343,9 @@ export const ServiceKeyAttribute: {
|
|
|
333
343
|
|
|
334
344
|
export type ServiceKeyAttribute = ServiceKeyAttribute$instance;
|
|
335
345
|
|
|
336
|
-
export interface ServiceProvider$instance {
|
|
346
|
+
export interface ServiceProvider$instance extends IKeyedServiceProvider$instance, System_Internal.IAsyncDisposable, System_Internal.IDisposable {
|
|
347
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceProvider: never;
|
|
348
|
+
|
|
337
349
|
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IKeyedServiceProvider: never;
|
|
338
350
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
339
351
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -355,12 +367,12 @@ export interface __ServiceProvider$views {
|
|
|
355
367
|
As_IKeyedServiceProvider(): IKeyedServiceProvider$instance;
|
|
356
368
|
}
|
|
357
369
|
|
|
358
|
-
export interface ServiceProvider$instance extends IKeyedServiceProvider$instance, System_Internal.IAsyncDisposable, System_Internal.IDisposable {}
|
|
359
|
-
|
|
360
370
|
export type ServiceProvider = ServiceProvider$instance & __ServiceProvider$views;
|
|
361
371
|
|
|
362
372
|
|
|
363
373
|
export interface ServiceProviderOptions$instance {
|
|
374
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceProviderOptions: never;
|
|
375
|
+
|
|
364
376
|
ValidateOnBuild: boolean;
|
|
365
377
|
ValidateScopes: boolean;
|
|
366
378
|
}
|
|
@@ -386,7 +398,7 @@ export abstract class ActivatorUtilities$instance {
|
|
|
386
398
|
export type ActivatorUtilities = ActivatorUtilities$instance;
|
|
387
399
|
|
|
388
400
|
export abstract class EncoderServiceCollectionExtensions$instance {
|
|
389
|
-
static AddWebEncoders(services: IServiceCollection, setupAction:
|
|
401
|
+
static AddWebEncoders(services: IServiceCollection, setupAction: Action_1<WebEncoderOptions>): IServiceCollection;
|
|
390
402
|
static AddWebEncoders(services: IServiceCollection): IServiceCollection;
|
|
391
403
|
}
|
|
392
404
|
|
|
@@ -394,13 +406,13 @@ export abstract class EncoderServiceCollectionExtensions$instance {
|
|
|
394
406
|
export type EncoderServiceCollectionExtensions = EncoderServiceCollectionExtensions$instance;
|
|
395
407
|
|
|
396
408
|
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:
|
|
409
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus?: Nullable_1<HealthStatus>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
410
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
411
|
+
static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus?: Nullable_1<HealthStatus>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
412
|
+
static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
413
|
+
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, ...args: unknown[]): IHealthChecksBuilder;
|
|
414
|
+
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, timeout: TimeSpan, ...args: unknown[]): IHealthChecksBuilder;
|
|
415
|
+
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, ...args: unknown[]): IHealthChecksBuilder;
|
|
404
416
|
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, ...args: unknown[]): IHealthChecksBuilder;
|
|
405
417
|
}
|
|
406
418
|
|
|
@@ -408,14 +420,14 @@ export abstract class HealthChecksBuilderAddCheckExtensions$instance {
|
|
|
408
420
|
export type HealthChecksBuilderAddCheckExtensions = HealthChecksBuilderAddCheckExtensions$instance;
|
|
409
421
|
|
|
410
422
|
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:
|
|
423
|
+
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<Task_1<HealthCheckResult>>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
424
|
+
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<Task_1<HealthCheckResult>>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
425
|
+
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, Task_1<HealthCheckResult>>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
426
|
+
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, Task_1<HealthCheckResult>>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
427
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<HealthCheckResult>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
428
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<HealthCheckResult>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
429
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, HealthCheckResult>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
|
|
430
|
+
static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, HealthCheckResult>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
|
|
419
431
|
}
|
|
420
432
|
|
|
421
433
|
|
|
@@ -431,47 +443,47 @@ export type HealthCheckServiceCollectionExtensions = HealthCheckServiceCollectio
|
|
|
431
443
|
export abstract class HttpClientBuilderExtensions$instance {
|
|
432
444
|
static AddAsKeyed(builder: IHttpClientBuilder, lifetime?: ServiceLifetime): IHttpClientBuilder;
|
|
433
445
|
static AddDefaultLogger(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
434
|
-
static AddHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
435
|
-
static AddHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
446
|
+
static AddHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func_1<DelegatingHandler>): IHttpClientBuilder;
|
|
447
|
+
static AddHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func_2<IServiceProvider, DelegatingHandler>): IHttpClientBuilder;
|
|
436
448
|
static AddHttpMessageHandler<THandler extends DelegatingHandler>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
437
449
|
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:
|
|
450
|
+
static AddLogger(builder: IHttpClientBuilder, httpClientLoggerFactory: Func_2<IServiceProvider, IHttpClientLogger>, wrapHandlersPipeline?: boolean): IHttpClientBuilder;
|
|
451
|
+
static AddTypedClient<TClient>(builder: IHttpClientBuilder, factory: Func_2<HttpClient, TClient>): IHttpClientBuilder;
|
|
452
|
+
static AddTypedClient<TClient>(builder: IHttpClientBuilder, factory: Func_3<HttpClient, IServiceProvider, TClient>): IHttpClientBuilder;
|
|
441
453
|
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:
|
|
454
|
+
static ConfigureAdditionalHttpMessageHandlers(builder: IHttpClientBuilder, configureAdditionalHandlers: Action_2<IList_1<DelegatingHandler>, IServiceProvider>): IHttpClientBuilder;
|
|
455
|
+
static ConfigureHttpClient(builder: IHttpClientBuilder, configureClient: Action_1<HttpClient>): IHttpClientBuilder;
|
|
456
|
+
static ConfigureHttpClient(builder: IHttpClientBuilder, configureClient: Action_2<IServiceProvider, HttpClient>): IHttpClientBuilder;
|
|
457
|
+
static ConfigureHttpMessageHandlerBuilder(builder: IHttpClientBuilder, configureBuilder: Action_1<HttpMessageHandlerBuilder>): IHttpClientBuilder;
|
|
458
|
+
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Action_2<HttpMessageHandler, IServiceProvider>): IHttpClientBuilder;
|
|
459
|
+
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func_1<HttpMessageHandler>): IHttpClientBuilder;
|
|
460
|
+
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func_2<IServiceProvider, HttpMessageHandler>): IHttpClientBuilder;
|
|
449
461
|
static ConfigurePrimaryHttpMessageHandler<THandler extends HttpMessageHandler>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
450
|
-
static RedactLoggedHeaders(builder: IHttpClientBuilder, redactedLoggedHeaderNames:
|
|
451
|
-
static RedactLoggedHeaders(builder: IHttpClientBuilder, shouldRedactHeaderValue:
|
|
462
|
+
static RedactLoggedHeaders(builder: IHttpClientBuilder, redactedLoggedHeaderNames: IEnumerable_1<System_Internal.String>): IHttpClientBuilder;
|
|
463
|
+
static RedactLoggedHeaders(builder: IHttpClientBuilder, shouldRedactHeaderValue: Func_2<System_Internal.String, System_Internal.Boolean>): IHttpClientBuilder;
|
|
452
464
|
static RemoveAllLoggers(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
453
465
|
static RemoveAsKeyed(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
454
466
|
static SetHandlerLifetime(builder: IHttpClientBuilder, handlerLifetime: TimeSpan): IHttpClientBuilder;
|
|
455
|
-
static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureBuilder:
|
|
456
|
-
static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureHandler?:
|
|
467
|
+
static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureBuilder: Action_1<ISocketsHttpHandlerBuilder>): IHttpClientBuilder;
|
|
468
|
+
static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureHandler?: Action_2<SocketsHttpHandler, IServiceProvider>): IHttpClientBuilder;
|
|
457
469
|
}
|
|
458
470
|
|
|
459
471
|
|
|
460
472
|
export type HttpClientBuilderExtensions = HttpClientBuilderExtensions$instance;
|
|
461
473
|
|
|
462
474
|
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:
|
|
475
|
+
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory: Func_2<HttpClient, TImplementation>): IHttpClientBuilder;
|
|
476
|
+
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory: Func_3<HttpClient, IServiceProvider, TImplementation>): IHttpClientBuilder;
|
|
477
|
+
static AddHttpClient<TClient>(services: IServiceCollection, configureClient: Action_1<HttpClient>): IHttpClientBuilder;
|
|
478
|
+
static AddHttpClient<TClient>(services: IServiceCollection, configureClient: Action_2<IServiceProvider, HttpClient>): IHttpClientBuilder;
|
|
479
|
+
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory: Func_2<HttpClient, TImplementation>): IHttpClientBuilder;
|
|
480
|
+
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory: Func_3<HttpClient, IServiceProvider, TImplementation>): IHttpClientBuilder;
|
|
481
|
+
static AddHttpClient(services: IServiceCollection, name: string, configureClient: Action_1<HttpClient>): IHttpClientBuilder;
|
|
482
|
+
static AddHttpClient(services: IServiceCollection, name: string, configureClient: Action_2<IServiceProvider, HttpClient>): IHttpClientBuilder;
|
|
471
483
|
static AddHttpClient(services: IServiceCollection, name: string): IHttpClientBuilder;
|
|
472
484
|
static AddHttpClient<TClient>(services: IServiceCollection): IHttpClientBuilder;
|
|
473
485
|
static AddHttpClient(services: IServiceCollection): IServiceCollection;
|
|
474
|
-
static ConfigureHttpClientDefaults(services: IServiceCollection, configure:
|
|
486
|
+
static ConfigureHttpClientDefaults(services: IServiceCollection, configure: Action_1<IHttpClientBuilder>): IServiceCollection;
|
|
475
487
|
}
|
|
476
488
|
|
|
477
489
|
|
|
@@ -485,7 +497,7 @@ export abstract class KeyedService$instance {
|
|
|
485
497
|
export type KeyedService = KeyedService$instance;
|
|
486
498
|
|
|
487
499
|
export abstract class LocalizationServiceCollectionExtensions$instance {
|
|
488
|
-
static AddLocalization(services: IServiceCollection, setupAction:
|
|
500
|
+
static AddLocalization(services: IServiceCollection, setupAction: Action_1<LocalizationOptions>): IServiceCollection;
|
|
489
501
|
static AddLocalization(services: IServiceCollection): IServiceCollection;
|
|
490
502
|
}
|
|
491
503
|
|
|
@@ -493,7 +505,7 @@ export abstract class LocalizationServiceCollectionExtensions$instance {
|
|
|
493
505
|
export type LocalizationServiceCollectionExtensions = LocalizationServiceCollectionExtensions$instance;
|
|
494
506
|
|
|
495
507
|
export abstract class LoggingServiceCollectionExtensions$instance {
|
|
496
|
-
static AddLogging(services: IServiceCollection, configure:
|
|
508
|
+
static AddLogging(services: IServiceCollection, configure: Action_1<ILoggingBuilder>): IServiceCollection;
|
|
497
509
|
static AddLogging(services: IServiceCollection): IServiceCollection;
|
|
498
510
|
}
|
|
499
511
|
|
|
@@ -501,9 +513,9 @@ export abstract class LoggingServiceCollectionExtensions$instance {
|
|
|
501
513
|
export type LoggingServiceCollectionExtensions = LoggingServiceCollectionExtensions$instance;
|
|
502
514
|
|
|
503
515
|
export abstract class MemoryCacheServiceCollectionExtensions$instance {
|
|
504
|
-
static AddDistributedMemoryCache(services: IServiceCollection, setupAction:
|
|
516
|
+
static AddDistributedMemoryCache(services: IServiceCollection, setupAction: Action_1<MemoryDistributedCacheOptions>): IServiceCollection;
|
|
505
517
|
static AddDistributedMemoryCache(services: IServiceCollection): IServiceCollection;
|
|
506
|
-
static AddMemoryCache(services: IServiceCollection, setupAction:
|
|
518
|
+
static AddMemoryCache(services: IServiceCollection, setupAction: Action_1<MemoryCacheOptions>): IServiceCollection;
|
|
507
519
|
static AddMemoryCache(services: IServiceCollection): IServiceCollection;
|
|
508
520
|
}
|
|
509
521
|
|
|
@@ -511,7 +523,7 @@ export abstract class MemoryCacheServiceCollectionExtensions$instance {
|
|
|
511
523
|
export type MemoryCacheServiceCollectionExtensions = MemoryCacheServiceCollectionExtensions$instance;
|
|
512
524
|
|
|
513
525
|
export abstract class MetricsServiceExtensions$instance {
|
|
514
|
-
static AddMetrics(services: IServiceCollection, configure:
|
|
526
|
+
static AddMetrics(services: IServiceCollection, configure: Action_1<IMetricsBuilder>): IServiceCollection;
|
|
515
527
|
static AddMetrics(services: IServiceCollection): IServiceCollection;
|
|
516
528
|
}
|
|
517
529
|
|
|
@@ -519,9 +531,9 @@ export abstract class MetricsServiceExtensions$instance {
|
|
|
519
531
|
export type MetricsServiceExtensions = MetricsServiceExtensions$instance;
|
|
520
532
|
|
|
521
533
|
export abstract class OptionsBuilderConfigurationExtensions$instance {
|
|
522
|
-
static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration, configureBinder:
|
|
534
|
+
static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration, configureBinder: Action_1<BinderOptions>): OptionsBuilder_1<TOptions>;
|
|
523
535
|
static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration): OptionsBuilder_1<TOptions>;
|
|
524
|
-
static BindConfiguration<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, configSectionPath: string, configureBinder?:
|
|
536
|
+
static BindConfiguration<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, configSectionPath: string, configureBinder?: Action_1<BinderOptions>): OptionsBuilder_1<TOptions>;
|
|
525
537
|
}
|
|
526
538
|
|
|
527
539
|
|
|
@@ -542,9 +554,9 @@ export abstract class OptionsBuilderExtensions$instance {
|
|
|
542
554
|
export type OptionsBuilderExtensions = OptionsBuilderExtensions$instance;
|
|
543
555
|
|
|
544
556
|
export abstract class OptionsConfigurationServiceCollectionExtensions$instance {
|
|
545
|
-
static Configure<TOptions>(services: IServiceCollection, config: IConfiguration, configureBinder:
|
|
557
|
+
static Configure<TOptions>(services: IServiceCollection, config: IConfiguration, configureBinder: Action_1<BinderOptions>): IServiceCollection;
|
|
546
558
|
static Configure<TOptions>(services: IServiceCollection, config: IConfiguration): IServiceCollection;
|
|
547
|
-
static Configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration, configureBinder:
|
|
559
|
+
static Configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration, configureBinder: Action_1<BinderOptions>): IServiceCollection;
|
|
548
560
|
static Configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration): IServiceCollection;
|
|
549
561
|
}
|
|
550
562
|
|
|
@@ -556,15 +568,15 @@ export abstract class OptionsServiceCollectionExtensions$instance {
|
|
|
556
568
|
static AddOptions(services: IServiceCollection): IServiceCollection;
|
|
557
569
|
static AddOptions<TOptions>(services: IServiceCollection): OptionsBuilder_1<TOptions>;
|
|
558
570
|
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:
|
|
571
|
+
static Configure<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
572
|
+
static Configure<TOptions>(services: IServiceCollection, name: string, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
573
|
+
static ConfigureAll<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
562
574
|
static ConfigureOptions(services: IServiceCollection, configureInstance: unknown): IServiceCollection;
|
|
563
575
|
static ConfigureOptions(services: IServiceCollection, configureType: Type): IServiceCollection;
|
|
564
576
|
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:
|
|
577
|
+
static PostConfigure<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
578
|
+
static PostConfigure<TOptions>(services: IServiceCollection, name: string, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
579
|
+
static PostConfigureAll<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
|
|
568
580
|
}
|
|
569
581
|
|
|
570
582
|
|
|
@@ -580,7 +592,7 @@ export abstract class ServiceCollectionContainerBuilderExtensions$instance {
|
|
|
580
592
|
export type ServiceCollectionContainerBuilderExtensions = ServiceCollectionContainerBuilderExtensions$instance;
|
|
581
593
|
|
|
582
594
|
export abstract class ServiceCollectionHostedServiceExtensions$instance {
|
|
583
|
-
static AddHostedService<THostedService extends IHostedService>(services: IServiceCollection, implementationFactory:
|
|
595
|
+
static AddHostedService<THostedService extends IHostedService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, THostedService>): IServiceCollection;
|
|
584
596
|
static AddHostedService<THostedService extends IHostedService>(services: IServiceCollection): IServiceCollection;
|
|
585
597
|
}
|
|
586
598
|
|
|
@@ -588,37 +600,37 @@ export abstract class ServiceCollectionHostedServiceExtensions$instance {
|
|
|
588
600
|
export type ServiceCollectionHostedServiceExtensions = ServiceCollectionHostedServiceExtensions$instance;
|
|
589
601
|
|
|
590
602
|
export abstract class ServiceCollectionServiceExtensions$instance {
|
|
591
|
-
static AddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
603
|
+
static AddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
592
604
|
static AddKeyedScoped<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
593
|
-
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
605
|
+
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): IServiceCollection;
|
|
594
606
|
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
595
607
|
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
596
|
-
static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
608
|
+
static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
597
609
|
static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationInstance: TService): IServiceCollection;
|
|
598
610
|
static AddKeyedSingleton<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
599
|
-
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
611
|
+
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): IServiceCollection;
|
|
600
612
|
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationInstance: unknown): IServiceCollection;
|
|
601
613
|
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
602
614
|
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
603
|
-
static AddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
615
|
+
static AddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
604
616
|
static AddKeyedTransient<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
605
|
-
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
617
|
+
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): IServiceCollection;
|
|
606
618
|
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
607
619
|
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
608
|
-
static AddScoped<TService>(services: IServiceCollection, implementationFactory:
|
|
609
|
-
static AddScoped(services: IServiceCollection, serviceType: Type, implementationFactory:
|
|
620
|
+
static AddScoped<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): IServiceCollection;
|
|
621
|
+
static AddScoped(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): IServiceCollection;
|
|
610
622
|
static AddScoped(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
611
623
|
static AddScoped(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
612
624
|
static AddScoped<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
613
|
-
static AddSingleton<TService>(services: IServiceCollection, implementationFactory:
|
|
614
|
-
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationFactory:
|
|
625
|
+
static AddSingleton<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): IServiceCollection;
|
|
626
|
+
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): IServiceCollection;
|
|
615
627
|
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationInstance: unknown): IServiceCollection;
|
|
616
628
|
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
617
629
|
static AddSingleton(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
618
630
|
static AddSingleton<TService>(services: IServiceCollection, implementationInstance: TService): IServiceCollection;
|
|
619
631
|
static AddSingleton<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
620
|
-
static AddTransient<TService>(services: IServiceCollection, implementationFactory:
|
|
621
|
-
static AddTransient(services: IServiceCollection, serviceType: Type, implementationFactory:
|
|
632
|
+
static AddTransient<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): IServiceCollection;
|
|
633
|
+
static AddTransient(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): IServiceCollection;
|
|
622
634
|
static AddTransient(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
623
635
|
static AddTransient(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
624
636
|
static AddTransient<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
@@ -630,8 +642,8 @@ export type ServiceCollectionServiceExtensions = ServiceCollectionServiceExtensi
|
|
|
630
642
|
export abstract class ServiceProviderKeyedServiceExtensions$instance {
|
|
631
643
|
static GetKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T | undefined;
|
|
632
644
|
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):
|
|
645
|
+
static GetKeyedServices<T>(provider: IServiceProvider, serviceKey: unknown): IEnumerable_1<T>;
|
|
646
|
+
static GetKeyedServices(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): IEnumerable_1<unknown | undefined>;
|
|
635
647
|
static GetRequiredKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T;
|
|
636
648
|
static GetRequiredKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): unknown;
|
|
637
649
|
}
|
|
@@ -646,8 +658,8 @@ export abstract class ServiceProviderServiceExtensions$instance {
|
|
|
646
658
|
static GetRequiredService(provider: IServiceProvider, serviceType: Type): unknown;
|
|
647
659
|
static GetRequiredService<T>(provider: IServiceProvider): T;
|
|
648
660
|
static GetService<T>(provider: IServiceProvider): T | undefined;
|
|
649
|
-
static GetServices(provider: IServiceProvider, serviceType: Type):
|
|
650
|
-
static GetServices<T>(provider: IServiceProvider):
|
|
661
|
+
static GetServices(provider: IServiceProvider, serviceType: Type): IEnumerable_1<unknown | undefined>;
|
|
662
|
+
static GetServices<T>(provider: IServiceProvider): IEnumerable_1<T>;
|
|
651
663
|
}
|
|
652
664
|
|
|
653
665
|
|
|
@@ -655,14 +667,14 @@ export type ServiceProviderServiceExtensions = ServiceProviderServiceExtensions$
|
|
|
655
667
|
|
|
656
668
|
export abstract class SocketsHttpHandlerBuilderExtensions$instance {
|
|
657
669
|
static Configure(builder: ISocketsHttpHandlerBuilder, configuration: IConfiguration): ISocketsHttpHandlerBuilder;
|
|
658
|
-
static Configure(builder: ISocketsHttpHandlerBuilder, configure:
|
|
670
|
+
static Configure(builder: ISocketsHttpHandlerBuilder, configure: Action_2<SocketsHttpHandler, IServiceProvider>): ISocketsHttpHandlerBuilder;
|
|
659
671
|
}
|
|
660
672
|
|
|
661
673
|
|
|
662
674
|
export type SocketsHttpHandlerBuilderExtensions = SocketsHttpHandlerBuilderExtensions$instance;
|
|
663
675
|
|
|
664
676
|
export abstract class ValidationServiceCollectionExtensions$instance {
|
|
665
|
-
static AddValidation(services: IServiceCollection, configureOptions?:
|
|
677
|
+
static AddValidation(services: IServiceCollection, configureOptions?: Action_1<ValidationOptions>): IServiceCollection;
|
|
666
678
|
}
|
|
667
679
|
|
|
668
680
|
|