@tsonic/microsoft-extensions 10.0.3 → 10.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +27 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +29 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +54 -31
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +141 -70
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +17 -11
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +25 -8
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +24 -7
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +16 -9
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +21 -13
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +6 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +29 -10
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +171 -114
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +18 -18
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +51 -31
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +31 -19
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -1
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +65 -38
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +16 -12
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +15 -11
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +36 -15
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +23 -13
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +16 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +24 -10
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +30 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +47 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +84 -39
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +22 -13
- package/Microsoft.Extensions.Http/internal/index.d.ts +18 -10
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +21 -9
- package/Microsoft.Extensions.Internal/internal/index.d.ts +9 -5
- package/Microsoft.Extensions.Localization/internal/index.d.ts +48 -19
- package/Microsoft.Extensions.Logging/internal/index.d.ts +108 -66
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +41 -22
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +10 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +34 -10
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +8 -5
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +14 -7
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +9 -6
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +33 -7
- package/Microsoft.Extensions.Options/internal/index.d.ts +257 -128
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +68 -22
- package/Microsoft.Extensions.Primitives.d.ts +3 -0
- package/Microsoft.Extensions.Validation/internal/index.d.ts +41 -21
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -3
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +10 -4
- package/System.Diagnostics/internal/index.d.ts +37 -10
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +146 -70
- package/System.Net.Http/internal/index.d.ts +7 -3
- package/System.Security.Cryptography/internal/index.d.ts +16 -5
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +162 -69
- package/System.Security.Cryptography.Xml/internal/index.d.ts +115 -16
- package/__internal/extensions/index.d.ts +633 -487
- package/package.json +3 -3
|
@@ -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,
|
|
@@ -51,6 +51,8 @@ export type ObjectFactory_1<T> = (serviceProvider: IServiceProvider, arguments:
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
export interface IHealthChecksBuilder$instance {
|
|
54
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IHealthChecksBuilder: never;
|
|
55
|
+
|
|
54
56
|
readonly Services: IServiceCollection;
|
|
55
57
|
Add(registration: HealthCheckRegistration): IHealthChecksBuilder;
|
|
56
58
|
}
|
|
@@ -59,6 +61,8 @@ export interface IHealthChecksBuilder$instance {
|
|
|
59
61
|
export type IHealthChecksBuilder = IHealthChecksBuilder$instance;
|
|
60
62
|
|
|
61
63
|
export interface IHttpClientBuilder$instance {
|
|
64
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IHttpClientBuilder: never;
|
|
65
|
+
|
|
62
66
|
readonly Name: string;
|
|
63
67
|
readonly Services: IServiceCollection;
|
|
64
68
|
}
|
|
@@ -67,19 +71,29 @@ export interface IHttpClientBuilder$instance {
|
|
|
67
71
|
export type IHttpClientBuilder = IHttpClientBuilder$instance;
|
|
68
72
|
|
|
69
73
|
export interface IKeyedServiceProvider$instance extends IServiceProvider {
|
|
74
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IKeyedServiceProvider: never;
|
|
75
|
+
|
|
70
76
|
GetKeyedService(serviceType: Type, serviceKey: unknown): unknown | undefined;
|
|
71
77
|
}
|
|
72
78
|
|
|
73
79
|
|
|
80
|
+
export interface IKeyedServiceProvider$instance extends System_Internal.IServiceProvider {}
|
|
81
|
+
|
|
74
82
|
export type IKeyedServiceProvider = IKeyedServiceProvider$instance;
|
|
75
83
|
|
|
76
|
-
export interface IServiceCollection$instance extends
|
|
84
|
+
export interface IServiceCollection$instance extends IList_1<ServiceDescriptor>, ICollection_1<ServiceDescriptor>, IEnumerable_1<ServiceDescriptor>, IEnumerable {
|
|
85
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceCollection: never;
|
|
86
|
+
|
|
77
87
|
}
|
|
78
88
|
|
|
79
89
|
|
|
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
|
+
|
|
80
92
|
export type IServiceCollection = IServiceCollection$instance;
|
|
81
93
|
|
|
82
94
|
export interface IServiceProviderFactory_1$instance<TContainerBuilder> {
|
|
95
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceProviderFactory_1: never;
|
|
96
|
+
|
|
83
97
|
CreateBuilder(services: IServiceCollection): TContainerBuilder;
|
|
84
98
|
CreateServiceProvider(containerBuilder: TContainerBuilder): IServiceProvider;
|
|
85
99
|
}
|
|
@@ -88,6 +102,8 @@ export interface IServiceProviderFactory_1$instance<TContainerBuilder> {
|
|
|
88
102
|
export type IServiceProviderFactory_1<TContainerBuilder> = IServiceProviderFactory_1$instance<TContainerBuilder>;
|
|
89
103
|
|
|
90
104
|
export interface IServiceProviderIsKeyedService$instance extends IServiceProviderIsService {
|
|
105
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceProviderIsKeyedService: never;
|
|
106
|
+
|
|
91
107
|
IsKeyedService(serviceType: Type, serviceKey: unknown): boolean;
|
|
92
108
|
IsService(serviceType: Type): boolean;
|
|
93
109
|
}
|
|
@@ -98,6 +114,8 @@ export interface IServiceProviderIsKeyedService$instance extends IServiceProvide
|
|
|
98
114
|
export type IServiceProviderIsKeyedService = IServiceProviderIsKeyedService$instance;
|
|
99
115
|
|
|
100
116
|
export interface IServiceProviderIsService$instance {
|
|
117
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceProviderIsService: never;
|
|
118
|
+
|
|
101
119
|
IsService(serviceType: Type): boolean;
|
|
102
120
|
}
|
|
103
121
|
|
|
@@ -105,13 +123,19 @@ export interface IServiceProviderIsService$instance {
|
|
|
105
123
|
export type IServiceProviderIsService = IServiceProviderIsService$instance;
|
|
106
124
|
|
|
107
125
|
export interface IServiceScope$instance extends IDisposable {
|
|
126
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceScope: never;
|
|
127
|
+
|
|
108
128
|
readonly ServiceProvider: IServiceProvider;
|
|
109
129
|
}
|
|
110
130
|
|
|
111
131
|
|
|
132
|
+
export interface IServiceScope$instance extends System_Internal.IDisposable {}
|
|
133
|
+
|
|
112
134
|
export type IServiceScope = IServiceScope$instance;
|
|
113
135
|
|
|
114
136
|
export interface IServiceScopeFactory$instance {
|
|
137
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceScopeFactory: never;
|
|
138
|
+
|
|
115
139
|
CreateScope(): IServiceScope;
|
|
116
140
|
}
|
|
117
141
|
|
|
@@ -119,6 +143,8 @@ export interface IServiceScopeFactory$instance {
|
|
|
119
143
|
export type IServiceScopeFactory = IServiceScopeFactory$instance;
|
|
120
144
|
|
|
121
145
|
export interface ISocketsHttpHandlerBuilder$instance {
|
|
146
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_ISocketsHttpHandlerBuilder: never;
|
|
147
|
+
|
|
122
148
|
readonly Name: string;
|
|
123
149
|
readonly Services: IServiceCollection;
|
|
124
150
|
}
|
|
@@ -127,13 +153,21 @@ export interface ISocketsHttpHandlerBuilder$instance {
|
|
|
127
153
|
export type ISocketsHttpHandlerBuilder = ISocketsHttpHandlerBuilder$instance;
|
|
128
154
|
|
|
129
155
|
export interface ISupportRequiredService$instance {
|
|
156
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_ISupportRequiredService: never;
|
|
157
|
+
|
|
130
158
|
GetRequiredService(serviceType: Type): unknown;
|
|
131
159
|
}
|
|
132
160
|
|
|
133
161
|
|
|
134
162
|
export type ISupportRequiredService = ISupportRequiredService$instance;
|
|
135
163
|
|
|
136
|
-
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
|
+
|
|
167
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceScope: never;
|
|
168
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
169
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
170
|
+
|
|
137
171
|
readonly ServiceProvider: IServiceProvider;
|
|
138
172
|
Dispose(): void;
|
|
139
173
|
DisposeAsync(): ValueTask;
|
|
@@ -149,12 +183,12 @@ export interface __AsyncServiceScope$views {
|
|
|
149
183
|
As_IServiceScope(): IServiceScope$instance;
|
|
150
184
|
}
|
|
151
185
|
|
|
152
|
-
export interface AsyncServiceScope$instance extends IServiceScope$instance {}
|
|
153
|
-
|
|
154
186
|
export type AsyncServiceScope = AsyncServiceScope$instance & __AsyncServiceScope$views;
|
|
155
187
|
|
|
156
188
|
|
|
157
189
|
export interface ActivatorUtilitiesConstructorAttribute$instance extends Attribute {
|
|
190
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ActivatorUtilitiesConstructorAttribute: never;
|
|
191
|
+
|
|
158
192
|
}
|
|
159
193
|
|
|
160
194
|
|
|
@@ -166,6 +200,10 @@ export const ActivatorUtilitiesConstructorAttribute: {
|
|
|
166
200
|
export type ActivatorUtilitiesConstructorAttribute = ActivatorUtilitiesConstructorAttribute$instance;
|
|
167
201
|
|
|
168
202
|
export interface DefaultServiceProviderFactory$instance {
|
|
203
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_DefaultServiceProviderFactory: never;
|
|
204
|
+
|
|
205
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceProviderFactory_1: never;
|
|
206
|
+
|
|
169
207
|
CreateBuilder(services: IServiceCollection): IServiceCollection;
|
|
170
208
|
CreateServiceProvider(containerBuilder: IServiceCollection): IServiceProvider;
|
|
171
209
|
}
|
|
@@ -181,12 +219,12 @@ export interface __DefaultServiceProviderFactory$views {
|
|
|
181
219
|
As_IServiceProviderFactory_1(): IServiceProviderFactory_1$instance<IServiceCollection>;
|
|
182
220
|
}
|
|
183
221
|
|
|
184
|
-
export interface DefaultServiceProviderFactory$instance extends IServiceProviderFactory_1$instance<IServiceCollection> {}
|
|
185
|
-
|
|
186
222
|
export type DefaultServiceProviderFactory = DefaultServiceProviderFactory$instance & __DefaultServiceProviderFactory$views;
|
|
187
223
|
|
|
188
224
|
|
|
189
225
|
export interface FromKeyedServicesAttribute$instance extends Attribute {
|
|
226
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_FromKeyedServicesAttribute: never;
|
|
227
|
+
|
|
190
228
|
readonly Key: unknown | undefined;
|
|
191
229
|
readonly LookupMode: ServiceKeyLookupMode;
|
|
192
230
|
}
|
|
@@ -201,13 +239,21 @@ export const FromKeyedServicesAttribute: {
|
|
|
201
239
|
export type FromKeyedServicesAttribute = FromKeyedServicesAttribute$instance;
|
|
202
240
|
|
|
203
241
|
export interface ServiceCollection$instance extends IServiceCollection {
|
|
242
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceCollection: never;
|
|
243
|
+
|
|
244
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceCollection: never;
|
|
245
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
246
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
247
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
248
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
249
|
+
|
|
204
250
|
readonly Count: int;
|
|
205
251
|
readonly IsReadOnly: boolean;
|
|
206
252
|
[index: number]: ServiceDescriptor;
|
|
207
253
|
Clear(): void;
|
|
208
254
|
Contains(item: ServiceDescriptor): boolean;
|
|
209
255
|
CopyTo(array: ServiceDescriptor[], arrayIndex: int): void;
|
|
210
|
-
GetEnumerator():
|
|
256
|
+
GetEnumerator(): IEnumerator_1<ServiceDescriptor>;
|
|
211
257
|
IndexOf(item: ServiceDescriptor): int;
|
|
212
258
|
Insert(index: int, item: ServiceDescriptor): void;
|
|
213
259
|
MakeReadOnly(): void;
|
|
@@ -224,11 +270,13 @@ export const ServiceCollection: {
|
|
|
224
270
|
export type ServiceCollection = ServiceCollection$instance;
|
|
225
271
|
|
|
226
272
|
export interface ServiceDescriptor$instance {
|
|
227
|
-
readonly
|
|
273
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceDescriptor: never;
|
|
274
|
+
|
|
275
|
+
readonly ImplementationFactory: Func_2<IServiceProvider, unknown> | undefined;
|
|
228
276
|
readonly ImplementationInstance: unknown | undefined;
|
|
229
277
|
readonly ImplementationType: Type | undefined;
|
|
230
278
|
readonly IsKeyedService: boolean;
|
|
231
|
-
readonly KeyedImplementationFactory:
|
|
279
|
+
readonly KeyedImplementationFactory: Func_3<IServiceProvider, unknown | undefined, unknown> | undefined;
|
|
232
280
|
readonly KeyedImplementationInstance: unknown | undefined;
|
|
233
281
|
readonly KeyedImplementationType: Type | undefined;
|
|
234
282
|
readonly Lifetime: ServiceLifetime;
|
|
@@ -243,39 +291,39 @@ export const ServiceDescriptor: {
|
|
|
243
291
|
new(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
244
292
|
new(serviceType: Type, instance: unknown): ServiceDescriptor;
|
|
245
293
|
new(serviceType: Type, serviceKey: unknown, instance: unknown): ServiceDescriptor;
|
|
246
|
-
new(serviceType: Type, factory:
|
|
247
|
-
new(serviceType: Type, serviceKey: unknown, factory:
|
|
248
|
-
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;
|
|
249
297
|
Describe(serviceType: Type, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
250
|
-
DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
298
|
+
DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
251
299
|
DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
252
|
-
KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory:
|
|
300
|
+
KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
253
301
|
KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
254
|
-
KeyedScoped(service: Type, serviceKey: unknown, implementationFactory:
|
|
302
|
+
KeyedScoped(service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
255
303
|
KeyedScoped(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
256
|
-
KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory:
|
|
304
|
+
KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
257
305
|
KeyedSingleton<TService>(serviceKey: unknown, implementationInstance: TService): ServiceDescriptor;
|
|
258
306
|
KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
259
|
-
KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationFactory:
|
|
307
|
+
KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
260
308
|
KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationInstance: unknown): ServiceDescriptor;
|
|
261
309
|
KeyedSingleton(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
262
|
-
KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory:
|
|
310
|
+
KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
263
311
|
KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
264
|
-
KeyedTransient(service: Type, serviceKey: unknown, implementationFactory:
|
|
312
|
+
KeyedTransient(service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
265
313
|
KeyedTransient(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
266
314
|
Scoped<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
267
|
-
Scoped<TService, TImplementation extends TService>(implementationFactory:
|
|
268
|
-
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;
|
|
269
317
|
Scoped(service: Type, implementationType: Type): ServiceDescriptor;
|
|
270
318
|
Singleton<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
271
|
-
Singleton<TService, TImplementation extends TService>(implementationFactory:
|
|
272
|
-
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;
|
|
273
321
|
Singleton(serviceType: Type, implementationInstance: unknown): ServiceDescriptor;
|
|
274
322
|
Singleton(service: Type, implementationType: Type): ServiceDescriptor;
|
|
275
323
|
Singleton<TService>(implementationInstance: TService): ServiceDescriptor;
|
|
276
324
|
Transient<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
277
|
-
Transient<TService, TImplementation extends TService>(implementationFactory:
|
|
278
|
-
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;
|
|
279
327
|
Transient(service: Type, implementationType: Type): ServiceDescriptor;
|
|
280
328
|
};
|
|
281
329
|
|
|
@@ -283,6 +331,8 @@ export const ServiceDescriptor: {
|
|
|
283
331
|
export type ServiceDescriptor = ServiceDescriptor$instance;
|
|
284
332
|
|
|
285
333
|
export interface ServiceKeyAttribute$instance extends Attribute {
|
|
334
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceKeyAttribute: never;
|
|
335
|
+
|
|
286
336
|
}
|
|
287
337
|
|
|
288
338
|
|
|
@@ -293,7 +343,14 @@ export const ServiceKeyAttribute: {
|
|
|
293
343
|
|
|
294
344
|
export type ServiceKeyAttribute = ServiceKeyAttribute$instance;
|
|
295
345
|
|
|
296
|
-
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
|
+
|
|
349
|
+
readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IKeyedServiceProvider: never;
|
|
350
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
351
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
352
|
+
readonly __tsonic_iface_System_IServiceProvider: never;
|
|
353
|
+
|
|
297
354
|
Dispose(): void;
|
|
298
355
|
DisposeAsync(): ValueTask;
|
|
299
356
|
GetKeyedService(serviceType: Type, serviceKey: unknown): unknown | undefined;
|
|
@@ -310,12 +367,12 @@ export interface __ServiceProvider$views {
|
|
|
310
367
|
As_IKeyedServiceProvider(): IKeyedServiceProvider$instance;
|
|
311
368
|
}
|
|
312
369
|
|
|
313
|
-
export interface ServiceProvider$instance extends IKeyedServiceProvider$instance {}
|
|
314
|
-
|
|
315
370
|
export type ServiceProvider = ServiceProvider$instance & __ServiceProvider$views;
|
|
316
371
|
|
|
317
372
|
|
|
318
373
|
export interface ServiceProviderOptions$instance {
|
|
374
|
+
readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceProviderOptions: never;
|
|
375
|
+
|
|
319
376
|
ValidateOnBuild: boolean;
|
|
320
377
|
ValidateScopes: boolean;
|
|
321
378
|
}
|
|
@@ -341,7 +398,7 @@ export abstract class ActivatorUtilities$instance {
|
|
|
341
398
|
export type ActivatorUtilities = ActivatorUtilities$instance;
|
|
342
399
|
|
|
343
400
|
export abstract class EncoderServiceCollectionExtensions$instance {
|
|
344
|
-
static AddWebEncoders(services: IServiceCollection, setupAction:
|
|
401
|
+
static AddWebEncoders(services: IServiceCollection, setupAction: Action_1<WebEncoderOptions>): IServiceCollection;
|
|
345
402
|
static AddWebEncoders(services: IServiceCollection): IServiceCollection;
|
|
346
403
|
}
|
|
347
404
|
|
|
@@ -349,13 +406,13 @@ export abstract class EncoderServiceCollectionExtensions$instance {
|
|
|
349
406
|
export type EncoderServiceCollectionExtensions = EncoderServiceCollectionExtensions$instance;
|
|
350
407
|
|
|
351
408
|
export abstract class HealthChecksBuilderAddCheckExtensions$instance {
|
|
352
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus?:
|
|
353
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus:
|
|
354
|
-
static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus?:
|
|
355
|
-
static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus:
|
|
356
|
-
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus:
|
|
357
|
-
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus:
|
|
358
|
-
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;
|
|
359
416
|
static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, ...args: unknown[]): IHealthChecksBuilder;
|
|
360
417
|
}
|
|
361
418
|
|
|
@@ -363,14 +420,14 @@ export abstract class HealthChecksBuilderAddCheckExtensions$instance {
|
|
|
363
420
|
export type HealthChecksBuilderAddCheckExtensions = HealthChecksBuilderAddCheckExtensions$instance;
|
|
364
421
|
|
|
365
422
|
export abstract class HealthChecksBuilderDelegateExtensions$instance {
|
|
366
|
-
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
367
|
-
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
368
|
-
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
369
|
-
static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
370
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
371
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
372
|
-
static AddCheck(builder: IHealthChecksBuilder, name: string, check:
|
|
373
|
-
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;
|
|
374
431
|
}
|
|
375
432
|
|
|
376
433
|
|
|
@@ -386,47 +443,47 @@ export type HealthCheckServiceCollectionExtensions = HealthCheckServiceCollectio
|
|
|
386
443
|
export abstract class HttpClientBuilderExtensions$instance {
|
|
387
444
|
static AddAsKeyed(builder: IHttpClientBuilder, lifetime?: ServiceLifetime): IHttpClientBuilder;
|
|
388
445
|
static AddDefaultLogger(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
389
|
-
static AddHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
390
|
-
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;
|
|
391
448
|
static AddHttpMessageHandler<THandler extends DelegatingHandler>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
392
449
|
static AddLogger<TLogger extends IHttpClientLogger>(builder: IHttpClientBuilder, wrapHandlersPipeline?: boolean): IHttpClientBuilder;
|
|
393
|
-
static AddLogger(builder: IHttpClientBuilder, httpClientLoggerFactory:
|
|
394
|
-
static AddTypedClient<TClient>(builder: IHttpClientBuilder, factory:
|
|
395
|
-
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;
|
|
396
453
|
static AddTypedClient<TClient>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
397
|
-
static ConfigureAdditionalHttpMessageHandlers(builder: IHttpClientBuilder, configureAdditionalHandlers:
|
|
398
|
-
static ConfigureHttpClient(builder: IHttpClientBuilder, configureClient:
|
|
399
|
-
static ConfigureHttpClient(builder: IHttpClientBuilder, configureClient:
|
|
400
|
-
static ConfigureHttpMessageHandlerBuilder(builder: IHttpClientBuilder, configureBuilder:
|
|
401
|
-
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
402
|
-
static ConfigurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler:
|
|
403
|
-
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;
|
|
404
461
|
static ConfigurePrimaryHttpMessageHandler<THandler extends HttpMessageHandler>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
405
|
-
static RedactLoggedHeaders(builder: IHttpClientBuilder, redactedLoggedHeaderNames:
|
|
406
|
-
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;
|
|
407
464
|
static RemoveAllLoggers(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
408
465
|
static RemoveAsKeyed(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
409
466
|
static SetHandlerLifetime(builder: IHttpClientBuilder, handlerLifetime: TimeSpan): IHttpClientBuilder;
|
|
410
|
-
static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureBuilder:
|
|
411
|
-
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;
|
|
412
469
|
}
|
|
413
470
|
|
|
414
471
|
|
|
415
472
|
export type HttpClientBuilderExtensions = HttpClientBuilderExtensions$instance;
|
|
416
473
|
|
|
417
474
|
export abstract class HttpClientFactoryServiceCollectionExtensions$instance {
|
|
418
|
-
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory:
|
|
419
|
-
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory:
|
|
420
|
-
static AddHttpClient<TClient>(services: IServiceCollection, configureClient:
|
|
421
|
-
static AddHttpClient<TClient>(services: IServiceCollection, configureClient:
|
|
422
|
-
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory:
|
|
423
|
-
static AddHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory:
|
|
424
|
-
static AddHttpClient(services: IServiceCollection, name: string, configureClient:
|
|
425
|
-
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;
|
|
426
483
|
static AddHttpClient(services: IServiceCollection, name: string): IHttpClientBuilder;
|
|
427
484
|
static AddHttpClient<TClient>(services: IServiceCollection): IHttpClientBuilder;
|
|
428
485
|
static AddHttpClient(services: IServiceCollection): IServiceCollection;
|
|
429
|
-
static ConfigureHttpClientDefaults(services: IServiceCollection, configure:
|
|
486
|
+
static ConfigureHttpClientDefaults(services: IServiceCollection, configure: Action_1<IHttpClientBuilder>): IServiceCollection;
|
|
430
487
|
}
|
|
431
488
|
|
|
432
489
|
|
|
@@ -440,7 +497,7 @@ export abstract class KeyedService$instance {
|
|
|
440
497
|
export type KeyedService = KeyedService$instance;
|
|
441
498
|
|
|
442
499
|
export abstract class LocalizationServiceCollectionExtensions$instance {
|
|
443
|
-
static AddLocalization(services: IServiceCollection, setupAction:
|
|
500
|
+
static AddLocalization(services: IServiceCollection, setupAction: Action_1<LocalizationOptions>): IServiceCollection;
|
|
444
501
|
static AddLocalization(services: IServiceCollection): IServiceCollection;
|
|
445
502
|
}
|
|
446
503
|
|
|
@@ -448,7 +505,7 @@ export abstract class LocalizationServiceCollectionExtensions$instance {
|
|
|
448
505
|
export type LocalizationServiceCollectionExtensions = LocalizationServiceCollectionExtensions$instance;
|
|
449
506
|
|
|
450
507
|
export abstract class LoggingServiceCollectionExtensions$instance {
|
|
451
|
-
static AddLogging(services: IServiceCollection, configure:
|
|
508
|
+
static AddLogging(services: IServiceCollection, configure: Action_1<ILoggingBuilder>): IServiceCollection;
|
|
452
509
|
static AddLogging(services: IServiceCollection): IServiceCollection;
|
|
453
510
|
}
|
|
454
511
|
|
|
@@ -456,9 +513,9 @@ export abstract class LoggingServiceCollectionExtensions$instance {
|
|
|
456
513
|
export type LoggingServiceCollectionExtensions = LoggingServiceCollectionExtensions$instance;
|
|
457
514
|
|
|
458
515
|
export abstract class MemoryCacheServiceCollectionExtensions$instance {
|
|
459
|
-
static AddDistributedMemoryCache(services: IServiceCollection, setupAction:
|
|
516
|
+
static AddDistributedMemoryCache(services: IServiceCollection, setupAction: Action_1<MemoryDistributedCacheOptions>): IServiceCollection;
|
|
460
517
|
static AddDistributedMemoryCache(services: IServiceCollection): IServiceCollection;
|
|
461
|
-
static AddMemoryCache(services: IServiceCollection, setupAction:
|
|
518
|
+
static AddMemoryCache(services: IServiceCollection, setupAction: Action_1<MemoryCacheOptions>): IServiceCollection;
|
|
462
519
|
static AddMemoryCache(services: IServiceCollection): IServiceCollection;
|
|
463
520
|
}
|
|
464
521
|
|
|
@@ -466,7 +523,7 @@ export abstract class MemoryCacheServiceCollectionExtensions$instance {
|
|
|
466
523
|
export type MemoryCacheServiceCollectionExtensions = MemoryCacheServiceCollectionExtensions$instance;
|
|
467
524
|
|
|
468
525
|
export abstract class MetricsServiceExtensions$instance {
|
|
469
|
-
static AddMetrics(services: IServiceCollection, configure:
|
|
526
|
+
static AddMetrics(services: IServiceCollection, configure: Action_1<IMetricsBuilder>): IServiceCollection;
|
|
470
527
|
static AddMetrics(services: IServiceCollection): IServiceCollection;
|
|
471
528
|
}
|
|
472
529
|
|
|
@@ -474,9 +531,9 @@ export abstract class MetricsServiceExtensions$instance {
|
|
|
474
531
|
export type MetricsServiceExtensions = MetricsServiceExtensions$instance;
|
|
475
532
|
|
|
476
533
|
export abstract class OptionsBuilderConfigurationExtensions$instance {
|
|
477
|
-
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>;
|
|
478
535
|
static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration): OptionsBuilder_1<TOptions>;
|
|
479
|
-
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>;
|
|
480
537
|
}
|
|
481
538
|
|
|
482
539
|
|
|
@@ -497,9 +554,9 @@ export abstract class OptionsBuilderExtensions$instance {
|
|
|
497
554
|
export type OptionsBuilderExtensions = OptionsBuilderExtensions$instance;
|
|
498
555
|
|
|
499
556
|
export abstract class OptionsConfigurationServiceCollectionExtensions$instance {
|
|
500
|
-
static Configure<TOptions>(services: IServiceCollection, config: IConfiguration, configureBinder:
|
|
557
|
+
static Configure<TOptions>(services: IServiceCollection, config: IConfiguration, configureBinder: Action_1<BinderOptions>): IServiceCollection;
|
|
501
558
|
static Configure<TOptions>(services: IServiceCollection, config: IConfiguration): IServiceCollection;
|
|
502
|
-
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;
|
|
503
560
|
static Configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration): IServiceCollection;
|
|
504
561
|
}
|
|
505
562
|
|
|
@@ -511,15 +568,15 @@ export abstract class OptionsServiceCollectionExtensions$instance {
|
|
|
511
568
|
static AddOptions(services: IServiceCollection): IServiceCollection;
|
|
512
569
|
static AddOptions<TOptions>(services: IServiceCollection): OptionsBuilder_1<TOptions>;
|
|
513
570
|
static AddOptionsWithValidateOnStart<TOptions>(services: IServiceCollection, name?: string): OptionsBuilder_1<TOptions>;
|
|
514
|
-
static Configure<TOptions>(services: IServiceCollection, configureOptions:
|
|
515
|
-
static Configure<TOptions>(services: IServiceCollection, name: string, configureOptions:
|
|
516
|
-
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;
|
|
517
574
|
static ConfigureOptions(services: IServiceCollection, configureInstance: unknown): IServiceCollection;
|
|
518
575
|
static ConfigureOptions(services: IServiceCollection, configureType: Type): IServiceCollection;
|
|
519
576
|
static ConfigureOptions<TConfigureOptions>(services: IServiceCollection): IServiceCollection;
|
|
520
|
-
static PostConfigure<TOptions>(services: IServiceCollection, configureOptions:
|
|
521
|
-
static PostConfigure<TOptions>(services: IServiceCollection, name: string, configureOptions:
|
|
522
|
-
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;
|
|
523
580
|
}
|
|
524
581
|
|
|
525
582
|
|
|
@@ -535,7 +592,7 @@ export abstract class ServiceCollectionContainerBuilderExtensions$instance {
|
|
|
535
592
|
export type ServiceCollectionContainerBuilderExtensions = ServiceCollectionContainerBuilderExtensions$instance;
|
|
536
593
|
|
|
537
594
|
export abstract class ServiceCollectionHostedServiceExtensions$instance {
|
|
538
|
-
static AddHostedService<THostedService extends IHostedService>(services: IServiceCollection, implementationFactory:
|
|
595
|
+
static AddHostedService<THostedService extends IHostedService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, THostedService>): IServiceCollection;
|
|
539
596
|
static AddHostedService<THostedService extends IHostedService>(services: IServiceCollection): IServiceCollection;
|
|
540
597
|
}
|
|
541
598
|
|
|
@@ -543,37 +600,37 @@ export abstract class ServiceCollectionHostedServiceExtensions$instance {
|
|
|
543
600
|
export type ServiceCollectionHostedServiceExtensions = ServiceCollectionHostedServiceExtensions$instance;
|
|
544
601
|
|
|
545
602
|
export abstract class ServiceCollectionServiceExtensions$instance {
|
|
546
|
-
static AddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
603
|
+
static AddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
547
604
|
static AddKeyedScoped<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
548
|
-
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;
|
|
549
606
|
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
550
607
|
static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
551
|
-
static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
608
|
+
static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
552
609
|
static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationInstance: TService): IServiceCollection;
|
|
553
610
|
static AddKeyedSingleton<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
554
|
-
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;
|
|
555
612
|
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationInstance: unknown): IServiceCollection;
|
|
556
613
|
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
557
614
|
static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
558
|
-
static AddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory:
|
|
615
|
+
static AddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
559
616
|
static AddKeyedTransient<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
560
|
-
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;
|
|
561
618
|
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
562
619
|
static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
563
|
-
static AddScoped<TService>(services: IServiceCollection, implementationFactory:
|
|
564
|
-
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;
|
|
565
622
|
static AddScoped(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
566
623
|
static AddScoped(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
567
624
|
static AddScoped<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
568
|
-
static AddSingleton<TService>(services: IServiceCollection, implementationFactory:
|
|
569
|
-
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;
|
|
570
627
|
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationInstance: unknown): IServiceCollection;
|
|
571
628
|
static AddSingleton(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
572
629
|
static AddSingleton(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
573
630
|
static AddSingleton<TService>(services: IServiceCollection, implementationInstance: TService): IServiceCollection;
|
|
574
631
|
static AddSingleton<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
575
|
-
static AddTransient<TService>(services: IServiceCollection, implementationFactory:
|
|
576
|
-
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;
|
|
577
634
|
static AddTransient(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
578
635
|
static AddTransient(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
579
636
|
static AddTransient<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
@@ -585,8 +642,8 @@ export type ServiceCollectionServiceExtensions = ServiceCollectionServiceExtensi
|
|
|
585
642
|
export abstract class ServiceProviderKeyedServiceExtensions$instance {
|
|
586
643
|
static GetKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T | undefined;
|
|
587
644
|
static GetKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): unknown | undefined;
|
|
588
|
-
static GetKeyedServices<T>(provider: IServiceProvider, serviceKey: unknown):
|
|
589
|
-
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>;
|
|
590
647
|
static GetRequiredKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T;
|
|
591
648
|
static GetRequiredKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): unknown;
|
|
592
649
|
}
|
|
@@ -601,8 +658,8 @@ export abstract class ServiceProviderServiceExtensions$instance {
|
|
|
601
658
|
static GetRequiredService(provider: IServiceProvider, serviceType: Type): unknown;
|
|
602
659
|
static GetRequiredService<T>(provider: IServiceProvider): T;
|
|
603
660
|
static GetService<T>(provider: IServiceProvider): T | undefined;
|
|
604
|
-
static GetServices(provider: IServiceProvider, serviceType: Type):
|
|
605
|
-
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>;
|
|
606
663
|
}
|
|
607
664
|
|
|
608
665
|
|
|
@@ -610,14 +667,14 @@ export type ServiceProviderServiceExtensions = ServiceProviderServiceExtensions$
|
|
|
610
667
|
|
|
611
668
|
export abstract class SocketsHttpHandlerBuilderExtensions$instance {
|
|
612
669
|
static Configure(builder: ISocketsHttpHandlerBuilder, configuration: IConfiguration): ISocketsHttpHandlerBuilder;
|
|
613
|
-
static Configure(builder: ISocketsHttpHandlerBuilder, configure:
|
|
670
|
+
static Configure(builder: ISocketsHttpHandlerBuilder, configure: Action_2<SocketsHttpHandler, IServiceProvider>): ISocketsHttpHandlerBuilder;
|
|
614
671
|
}
|
|
615
672
|
|
|
616
673
|
|
|
617
674
|
export type SocketsHttpHandlerBuilderExtensions = SocketsHttpHandlerBuilderExtensions$instance;
|
|
618
675
|
|
|
619
676
|
export abstract class ValidationServiceCollectionExtensions$instance {
|
|
620
|
-
static AddValidation(services: IServiceCollection, configureOptions?:
|
|
677
|
+
static AddValidation(services: IServiceCollection, configureOptions?: Action_1<ValidationOptions>): IServiceCollection;
|
|
621
678
|
}
|
|
622
679
|
|
|
623
680
|
|