@tsonic/microsoft-extensions 10.0.35 → 10.0.37
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/__internal/extensions/index.d.ts +25 -25
- package/package.json +1 -1
|
@@ -130,7 +130,7 @@ export type ExtensionMethods_Microsoft_Extensions_Caching_Memory<TShape> =
|
|
|
130
130
|
|
|
131
131
|
// Extension method table for namespace: Microsoft.Extensions.Configuration
|
|
132
132
|
interface __TsonicExtMethods_Microsoft_Extensions_Configuration {
|
|
133
|
-
Add<TSource>(this: Microsoft_Extensions_Configuration.IConfigurationBuilder, configureSource: System.Action_1<TSource>): Rewrap<this, Microsoft_Extensions_Configuration.IConfigurationBuilder>;
|
|
133
|
+
Add<TSource extends Microsoft_Extensions_Configuration.IConfigurationSource>(this: Microsoft_Extensions_Configuration.IConfigurationBuilder, configureSource: System.Action_1<TSource>): Rewrap<this, Microsoft_Extensions_Configuration.IConfigurationBuilder>;
|
|
134
134
|
AddCommandLine(this: Microsoft_Extensions_Configuration.IConfigurationBuilder, args: string[]): Rewrap<this, Microsoft_Extensions_Configuration.IConfigurationBuilder>;
|
|
135
135
|
AddCommandLine(this: Microsoft_Extensions_Configuration.IConfigurationBuilder, args: string[], switchMappings: System_Collections_Generic.IDictionary_2<System_Internal.String, System_Internal.String>): Rewrap<this, Microsoft_Extensions_Configuration.IConfigurationBuilder>;
|
|
136
136
|
AddCommandLine(this: Microsoft_Extensions_Configuration.IConfigurationBuilder, configureSource: System.Action_1<Microsoft_Extensions_Configuration_CommandLine.CommandLineConfigurationSource>): Rewrap<this, Microsoft_Extensions_Configuration.IConfigurationBuilder>;
|
|
@@ -216,8 +216,8 @@ interface __TsonicExtMethods_Microsoft_Extensions_DependencyInjection {
|
|
|
216
216
|
AddAsyncCheck(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, check: System.Func_2<System_Threading.CancellationToken, System_Threading_Tasks.Task_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthCheckResult>>, tags?: System_Collections_Generic.IEnumerable_1<System_Internal.String>, timeout?: System.Nullable_1<System.TimeSpan>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
217
217
|
AddCheck(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, instance: Microsoft_Extensions_Diagnostics_HealthChecks.IHealthCheck, failureStatus: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags: System_Collections_Generic.IEnumerable_1<System_Internal.String>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
218
218
|
AddCheck(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, instance: Microsoft_Extensions_Diagnostics_HealthChecks.IHealthCheck, failureStatus?: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags?: System_Collections_Generic.IEnumerable_1<System_Internal.String>, timeout?: System.Nullable_1<System.TimeSpan>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
219
|
-
AddCheck<T>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags: System_Collections_Generic.IEnumerable_1<System_Internal.String>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
220
|
-
AddCheck<T>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus?: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags?: System_Collections_Generic.IEnumerable_1<System_Internal.String>, timeout?: System.Nullable_1<System.TimeSpan>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
219
|
+
AddCheck<T extends Microsoft_Extensions_Diagnostics_HealthChecks.IHealthCheck>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags: System_Collections_Generic.IEnumerable_1<System_Internal.String>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
220
|
+
AddCheck<T extends Microsoft_Extensions_Diagnostics_HealthChecks.IHealthCheck>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus?: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags?: System_Collections_Generic.IEnumerable_1<System_Internal.String>, timeout?: System.Nullable_1<System.TimeSpan>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
221
221
|
AddCheck(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, check: System.Func_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthCheckResult>, tags: System_Collections_Generic.IEnumerable_1<System_Internal.String>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
222
222
|
AddCheck(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, check: System.Func_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthCheckResult>, tags?: System_Collections_Generic.IEnumerable_1<System_Internal.String>, timeout?: System.Nullable_1<System.TimeSpan>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
223
223
|
AddCheck(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, check: System.Func_2<System_Threading.CancellationToken, Microsoft_Extensions_Diagnostics_HealthChecks.HealthCheckResult>, tags: System_Collections_Generic.IEnumerable_1<System_Internal.String>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
@@ -226,8 +226,8 @@ interface __TsonicExtMethods_Microsoft_Extensions_DependencyInjection {
|
|
|
226
226
|
AddDistributedMemoryCache(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
227
227
|
AddDistributedMemoryCache(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, setupAction: System.Action_1<Microsoft_Extensions_Caching_Memory.MemoryDistributedCacheOptions>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
228
228
|
AddHealthChecks(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
229
|
-
AddHostedService<THostedService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
230
|
-
AddHostedService<THostedService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, implementationFactory: System.Func_2<System.IServiceProvider, THostedService>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
229
|
+
AddHostedService<THostedService extends Microsoft_Extensions_Hosting.IHostedService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
230
|
+
AddHostedService<THostedService extends Microsoft_Extensions_Hosting.IHostedService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, implementationFactory: System.Func_2<System.IServiceProvider, THostedService>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
231
231
|
AddHttpClient(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
232
232
|
AddHttpClient(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, name: string): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
233
233
|
AddHttpClient(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, name: string, configureClient: System.Action_1<System_Net_Http.HttpClient>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
@@ -235,34 +235,34 @@ interface __TsonicExtMethods_Microsoft_Extensions_DependencyInjection {
|
|
|
235
235
|
AddHttpClient<TClient>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
236
236
|
AddHttpClient<TClient>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, configureClient: System.Action_1<System_Net_Http.HttpClient>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
237
237
|
AddHttpClient<TClient>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, configureClient: System.Action_2<System.IServiceProvider, System_Net_Http.HttpClient>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
238
|
-
AddHttpClient<TClient, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, factory: System.Func_2<System_Net_Http.HttpClient, TImplementation>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
239
|
-
AddHttpClient<TClient, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, name: string, factory: System.Func_2<System_Net_Http.HttpClient, TImplementation>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
240
|
-
AddHttpClient<TClient, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, factory: System.Func_3<System_Net_Http.HttpClient, System.IServiceProvider, TImplementation>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
241
|
-
AddHttpClient<TClient, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, name: string, factory: System.Func_3<System_Net_Http.HttpClient, System.IServiceProvider, TImplementation>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
238
|
+
AddHttpClient<TClient, TImplementation extends TClient>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, factory: System.Func_2<System_Net_Http.HttpClient, TImplementation>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
239
|
+
AddHttpClient<TClient, TImplementation extends TClient>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, name: string, factory: System.Func_2<System_Net_Http.HttpClient, TImplementation>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
240
|
+
AddHttpClient<TClient, TImplementation extends TClient>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, factory: System.Func_3<System_Net_Http.HttpClient, System.IServiceProvider, TImplementation>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
241
|
+
AddHttpClient<TClient, TImplementation extends TClient>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, name: string, factory: System.Func_3<System_Net_Http.HttpClient, System.IServiceProvider, TImplementation>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
242
242
|
AddHttpMessageHandler(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, configureHandler: System.Func_1<System_Net_Http.DelegatingHandler>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
243
243
|
AddHttpMessageHandler(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, configureHandler: System.Func_2<System.IServiceProvider, System_Net_Http.DelegatingHandler>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
244
|
-
AddHttpMessageHandler<THandler>(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
244
|
+
AddHttpMessageHandler<THandler extends System_Net_Http.DelegatingHandler>(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
245
245
|
AddKeyedScoped(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown, implementationType: System.Type): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
246
246
|
AddKeyedScoped(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown, implementationFactory: System.Func_3<System.IServiceProvider, unknown, unknown>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
247
|
-
AddKeyedScoped<TService, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
247
|
+
AddKeyedScoped<TService, TImplementation extends TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
248
248
|
AddKeyedScoped(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
249
249
|
AddKeyedScoped<TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown, implementationFactory: System.Func_3<System.IServiceProvider, unknown, TService>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
250
250
|
AddKeyedSingleton(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown, implementationType: System.Type): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
251
251
|
AddKeyedSingleton(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown, implementationFactory: System.Func_3<System.IServiceProvider, unknown, unknown>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
252
|
-
AddKeyedSingleton<TService, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
252
|
+
AddKeyedSingleton<TService, TImplementation extends TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
253
253
|
AddKeyedSingleton(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
254
254
|
AddKeyedSingleton<TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown, implementationFactory: System.Func_3<System.IServiceProvider, unknown, TService>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
255
255
|
AddKeyedSingleton(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown, implementationInstance: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
256
256
|
AddKeyedSingleton<TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown, implementationInstance: TService): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
257
257
|
AddKeyedTransient(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown, implementationType: System.Type): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
258
258
|
AddKeyedTransient(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown, implementationFactory: System.Func_3<System.IServiceProvider, unknown, unknown>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
259
|
-
AddKeyedTransient<TService, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
259
|
+
AddKeyedTransient<TService, TImplementation extends TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
260
260
|
AddKeyedTransient(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, serviceKey: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
261
261
|
AddKeyedTransient<TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceKey: unknown, implementationFactory: System.Func_3<System.IServiceProvider, unknown, TService>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
262
262
|
AddLocalization(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
263
263
|
AddLocalization(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, setupAction: System.Action_1<Microsoft_Extensions_Localization.LocalizationOptions>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
264
264
|
AddLogger(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, httpClientLoggerFactory: System.Func_2<System.IServiceProvider, Microsoft_Extensions_Http_Logging.IHttpClientLogger>, wrapHandlersPipeline?: boolean): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
265
|
-
AddLogger<TLogger>(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, wrapHandlersPipeline?: boolean): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
265
|
+
AddLogger<TLogger extends Microsoft_Extensions_Http_Logging.IHttpClientLogger>(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, wrapHandlersPipeline?: boolean): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
266
266
|
AddLogging(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
267
267
|
AddLogging(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, configure: System.Action_1<Microsoft_Extensions_Logging.ILoggingBuilder>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
268
268
|
AddMemoryCache(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
@@ -275,25 +275,25 @@ interface __TsonicExtMethods_Microsoft_Extensions_DependencyInjection {
|
|
|
275
275
|
AddOptionsWithValidateOnStart<TOptions>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, name?: string): Rewrap<this, Microsoft_Extensions_Options.OptionsBuilder_1<TOptions>>;
|
|
276
276
|
AddScoped(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, implementationType: System.Type): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
277
277
|
AddScoped(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, implementationFactory: System.Func_2<System.IServiceProvider, unknown>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
278
|
-
AddScoped<TService, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
278
|
+
AddScoped<TService, TImplementation extends TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
279
279
|
AddScoped(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
280
280
|
AddScoped<TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, implementationFactory: System.Func_2<System.IServiceProvider, TService>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
281
281
|
AddSingleton(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, implementationType: System.Type): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
282
282
|
AddSingleton(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, implementationFactory: System.Func_2<System.IServiceProvider, unknown>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
283
|
-
AddSingleton<TService, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
283
|
+
AddSingleton<TService, TImplementation extends TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
284
284
|
AddSingleton(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
285
285
|
AddSingleton<TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, implementationFactory: System.Func_2<System.IServiceProvider, TService>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
286
286
|
AddSingleton(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, implementationInstance: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
287
287
|
AddSingleton<TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, implementationInstance: TService): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
288
288
|
AddTransient(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, implementationType: System.Type): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
289
289
|
AddTransient(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type, implementationFactory: System.Func_2<System.IServiceProvider, unknown>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
290
|
-
AddTransient<TService, TImplementation>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
290
|
+
AddTransient<TService, TImplementation extends TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
291
291
|
AddTransient(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, serviceType: System.Type): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
292
292
|
AddTransient<TService>(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, implementationFactory: System.Func_2<System.IServiceProvider, TService>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
293
|
-
AddTypeActivatedCheck<T>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, ...args: unknown[]): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
294
|
-
AddTypeActivatedCheck<T>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, ...args: unknown[]): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
295
|
-
AddTypeActivatedCheck<T>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags: System_Collections_Generic.IEnumerable_1<System_Internal.String>, ...args: unknown[]): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
296
|
-
AddTypeActivatedCheck<T>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags: System_Collections_Generic.IEnumerable_1<System_Internal.String>, timeout: System.TimeSpan, ...args: unknown[]): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
293
|
+
AddTypeActivatedCheck<T extends Microsoft_Extensions_Diagnostics_HealthChecks.IHealthCheck>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, ...args: unknown[]): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
294
|
+
AddTypeActivatedCheck<T extends Microsoft_Extensions_Diagnostics_HealthChecks.IHealthCheck>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, ...args: unknown[]): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
295
|
+
AddTypeActivatedCheck<T extends Microsoft_Extensions_Diagnostics_HealthChecks.IHealthCheck>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags: System_Collections_Generic.IEnumerable_1<System_Internal.String>, ...args: unknown[]): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
296
|
+
AddTypeActivatedCheck<T extends Microsoft_Extensions_Diagnostics_HealthChecks.IHealthCheck>(this: Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder, name: string, failureStatus: System.Nullable_1<Microsoft_Extensions_Diagnostics_HealthChecks.HealthStatus>, tags: System_Collections_Generic.IEnumerable_1<System_Internal.String>, timeout: System.TimeSpan, ...args: unknown[]): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHealthChecksBuilder>;
|
|
297
297
|
AddTypedClient<TClient>(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
298
298
|
AddTypedClient<TClient>(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, factory: System.Func_2<System_Net_Http.HttpClient, TClient>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
299
299
|
AddTypedClient<TClient>(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, factory: System.Func_3<System_Net_Http.HttpClient, System.IServiceProvider, TClient>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
@@ -325,7 +325,7 @@ interface __TsonicExtMethods_Microsoft_Extensions_DependencyInjection {
|
|
|
325
325
|
ConfigureOptions(this: Microsoft_Extensions_DependencyInjection.IServiceCollection, configureInstance: unknown): Rewrap<this, Microsoft_Extensions_DependencyInjection.IServiceCollection>;
|
|
326
326
|
ConfigurePrimaryHttpMessageHandler(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, configureHandler: System.Func_1<System_Net_Http.HttpMessageHandler>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
327
327
|
ConfigurePrimaryHttpMessageHandler(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, configureHandler: System.Func_2<System.IServiceProvider, System_Net_Http.HttpMessageHandler>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
328
|
-
ConfigurePrimaryHttpMessageHandler<THandler>(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
328
|
+
ConfigurePrimaryHttpMessageHandler<THandler extends System_Net_Http.HttpMessageHandler>(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
329
329
|
ConfigurePrimaryHttpMessageHandler(this: Microsoft_Extensions_DependencyInjection.IHttpClientBuilder, configureHandler: System.Action_2<System_Net_Http.HttpMessageHandler, System.IServiceProvider>): Rewrap<this, Microsoft_Extensions_DependencyInjection.IHttpClientBuilder>;
|
|
330
330
|
CreateAsyncScope(this: Microsoft_Extensions_DependencyInjection.IServiceScopeFactory): Rewrap<this, Microsoft_Extensions_DependencyInjection.AsyncServiceScope>;
|
|
331
331
|
CreateAsyncScope(this: System.IServiceProvider): Rewrap<this, Microsoft_Extensions_DependencyInjection.AsyncServiceScope>;
|
|
@@ -428,7 +428,7 @@ export type ExtensionMethods_Microsoft_Extensions_DependencyInjection_Extensions
|
|
|
428
428
|
interface __TsonicExtMethods_Microsoft_Extensions_Diagnostics_Metrics {
|
|
429
429
|
AddConfiguration(this: Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder, configuration: Microsoft_Extensions_Configuration.IConfiguration): Rewrap<this, Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder>;
|
|
430
430
|
AddDebugConsole(this: Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder): Rewrap<this, Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder>;
|
|
431
|
-
AddListener<T>(this: Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder): Rewrap<this, Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder>;
|
|
431
|
+
AddListener<T extends Microsoft_Extensions_Diagnostics_Metrics.IMetricsListener>(this: Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder): Rewrap<this, Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder>;
|
|
432
432
|
AddListener(this: Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder, listener: Microsoft_Extensions_Diagnostics_Metrics.IMetricsListener): Rewrap<this, Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder>;
|
|
433
433
|
ClearListeners(this: Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder): Rewrap<this, Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder>;
|
|
434
434
|
DisableMetrics(this: Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder, meterName: string): Rewrap<this, Microsoft_Extensions_Diagnostics_Metrics.IMetricsBuilder>;
|
|
@@ -554,8 +554,8 @@ interface __TsonicExtMethods_Microsoft_Extensions_Logging {
|
|
|
554
554
|
AddConsole(this: Microsoft_Extensions_Logging.ILoggerFactory): Rewrap<this, Microsoft_Extensions_Logging.ILoggerFactory>;
|
|
555
555
|
AddConsole(this: Microsoft_Extensions_Logging.ILoggingBuilder): Rewrap<this, Microsoft_Extensions_Logging.ILoggingBuilder>;
|
|
556
556
|
AddConsole(this: Microsoft_Extensions_Logging.ILoggingBuilder, configure: System.Action_1<Microsoft_Extensions_Logging_Console.ConsoleLoggerOptions>): Rewrap<this, Microsoft_Extensions_Logging.ILoggingBuilder>;
|
|
557
|
-
AddConsoleFormatter<TFormatter, TOptions>(this: Microsoft_Extensions_Logging.ILoggingBuilder): Rewrap<this, Microsoft_Extensions_Logging.ILoggingBuilder>;
|
|
558
|
-
AddConsoleFormatter<TFormatter, TOptions>(this: Microsoft_Extensions_Logging.ILoggingBuilder, configure: System.Action_1<TOptions>): Rewrap<this, Microsoft_Extensions_Logging.ILoggingBuilder>;
|
|
557
|
+
AddConsoleFormatter<TFormatter extends Microsoft_Extensions_Logging_Console.ConsoleFormatter, TOptions extends Microsoft_Extensions_Logging_Console.ConsoleFormatterOptions>(this: Microsoft_Extensions_Logging.ILoggingBuilder): Rewrap<this, Microsoft_Extensions_Logging.ILoggingBuilder>;
|
|
558
|
+
AddConsoleFormatter<TFormatter extends Microsoft_Extensions_Logging_Console.ConsoleFormatter, TOptions extends Microsoft_Extensions_Logging_Console.ConsoleFormatterOptions>(this: Microsoft_Extensions_Logging.ILoggingBuilder, configure: System.Action_1<TOptions>): Rewrap<this, Microsoft_Extensions_Logging.ILoggingBuilder>;
|
|
559
559
|
AddDebug(this: Microsoft_Extensions_Logging.ILoggerFactory, minLevel: Microsoft_Extensions_Logging.LogLevel): Rewrap<this, Microsoft_Extensions_Logging.ILoggerFactory>;
|
|
560
560
|
AddDebug(this: Microsoft_Extensions_Logging.ILoggerFactory, filter: System.Func_3<System_Internal.String, Microsoft_Extensions_Logging.LogLevel, System_Internal.Boolean>): Rewrap<this, Microsoft_Extensions_Logging.ILoggerFactory>;
|
|
561
561
|
AddDebug(this: Microsoft_Extensions_Logging.ILoggerFactory): Rewrap<this, Microsoft_Extensions_Logging.ILoggerFactory>;
|
package/package.json
CHANGED