@tsonic/microsoft-extensions 10.0.41 → 10.0.42
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 +1 -1
- package/Microsoft.Extensions.Caching.Distributed.d.ts +4 -0
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.Caching.Hybrid.d.ts +5 -1
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +31 -31
- package/Microsoft.Extensions.Caching.Memory.d.ts +4 -0
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +23 -23
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Configuration.CommandLine.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Configuration.EnvironmentVariables.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +3 -3
- package/Microsoft.Extensions.Configuration.Ini.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +3 -3
- package/Microsoft.Extensions.Configuration.Json.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Configuration.KeyPerFile.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.Configuration.Memory.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.Configuration.UserSecrets.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +3 -3
- package/Microsoft.Extensions.Configuration.Xml.d.ts +4 -0
- package/Microsoft.Extensions.Configuration.d.ts +4 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +137 -137
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +30 -30
- package/Microsoft.Extensions.DependencyInjection.Extensions.d.ts +4 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +7 -3
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +9 -9
- package/Microsoft.Extensions.Diagnostics.HealthChecks.d.ts +4 -0
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +4 -4
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration.d.ts +4 -0
- package/Microsoft.Extensions.Diagnostics.Metrics.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileProviders.Composite.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileProviders.Embedded.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileProviders.Internal.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.FileProviders.Physical.d.ts +4 -0
- package/Microsoft.Extensions.FileProviders.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +9 -9
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.d.ts +4 -0
- package/Microsoft.Extensions.FileSystemGlobbing.d.ts +4 -0
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +14 -14
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.Hosting.Internal.d.ts +4 -0
- package/Microsoft.Extensions.Hosting.d.ts +4 -0
- package/Microsoft.Extensions.Http/internal/index.d.ts +3 -3
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +10 -10
- package/Microsoft.Extensions.Http.Logging.d.ts +4 -0
- package/Microsoft.Extensions.Http.d.ts +5 -1
- package/Microsoft.Extensions.Internal/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.Internal.d.ts +4 -0
- package/Microsoft.Extensions.Localization/internal/index.d.ts +14 -14
- package/Microsoft.Extensions.Localization.d.ts +6 -2
- package/Microsoft.Extensions.Logging/internal/index.d.ts +67 -65
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +14 -14
- package/Microsoft.Extensions.Logging.Abstractions.d.ts +6 -2
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +8 -8
- package/Microsoft.Extensions.Logging.Configuration.d.ts +5 -1
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Logging.Console.d.ts +4 -0
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.Logging.Debug.d.ts +4 -0
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.Logging.EventLog.d.ts +4 -0
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.Logging.EventSource.d.ts +4 -0
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.Logging.TraceSource.d.ts +4 -0
- package/Microsoft.Extensions.Logging.d.ts +6 -2
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +29 -29
- package/Microsoft.Extensions.ObjectPool.d.ts +7 -3
- package/Microsoft.Extensions.Options/internal/index.d.ts +162 -162
- package/Microsoft.Extensions.Options.d.ts +50 -46
- package/Microsoft.Extensions.Primitives/bindings.json +20 -0
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +8 -7
- package/Microsoft.Extensions.Primitives.d.ts +4 -0
- package/Microsoft.Extensions.Validation/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.Validation.d.ts +4 -0
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.WebEncoders.Testing.d.ts +4 -0
- package/Microsoft.Extensions.WebEncoders.d.ts +4 -0
- package/README.md +8 -0
- package/System.Diagnostics/internal/index.d.ts +9 -9
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +5 -5
- package/System.Diagnostics.Eventing.Reader.d.ts +4 -0
- package/System.Diagnostics.d.ts +4 -0
- package/System.Net.Http/internal/index.d.ts +1 -1
- package/System.Net.Http.d.ts +4 -0
- package/System.Security.Cryptography/internal/index.d.ts +2 -2
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +6 -6
- package/System.Security.Cryptography.Pkcs.d.ts +4 -0
- package/System.Security.Cryptography.Xml/bindings.json +404 -404
- package/System.Security.Cryptography.Xml/internal/index.d.ts +37 -37
- package/System.Security.Cryptography.Xml.d.ts +4 -0
- package/System.Security.Cryptography.d.ts +4 -0
- package/__internal/extensions/index.d.ts +191 -191
- package/package.json +3 -3
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: Microsoft.Extensions.Hosting, Microsoft.Extensions.Hosting.Abstractions
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// Import types from other namespaces
|
|
@@ -53,13 +53,13 @@ export type IHost = IHost$instance;
|
|
|
53
53
|
export interface IHostApplicationBuilder$instance {
|
|
54
54
|
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostApplicationBuilder: never;
|
|
55
55
|
|
|
56
|
-
readonly Properties: IDictionary_2<
|
|
56
|
+
readonly Properties: IDictionary_2<unknown, unknown>;
|
|
57
57
|
readonly Configuration: IConfigurationManager;
|
|
58
58
|
readonly Environment: IHostEnvironment;
|
|
59
59
|
readonly Logging: ILoggingBuilder;
|
|
60
60
|
readonly Metrics: IMetricsBuilder;
|
|
61
61
|
readonly Services: IServiceCollection;
|
|
62
|
-
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder> | null): void;
|
|
62
|
+
ConfigureContainer<TContainerBuilder extends unknown>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder> | null): void;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
|
|
@@ -80,12 +80,12 @@ export type IHostApplicationLifetime = IHostApplicationLifetime$instance;
|
|
|
80
80
|
export interface IHostBuilder$instance {
|
|
81
81
|
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostBuilder: never;
|
|
82
82
|
|
|
83
|
-
readonly Properties: IDictionary_2<
|
|
83
|
+
readonly Properties: IDictionary_2<unknown, unknown>;
|
|
84
84
|
Build(): IHost;
|
|
85
85
|
ConfigureAppConfiguration(configureDelegate: Action_2<HostBuilderContext, IConfigurationBuilder>): IHostBuilder;
|
|
86
86
|
ConfigureHostConfiguration(configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
|
|
87
|
-
UseServiceProviderFactory<TContainerBuilder>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
|
|
88
|
-
UseServiceProviderFactory<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
|
|
87
|
+
UseServiceProviderFactory<TContainerBuilder extends unknown>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
|
|
88
|
+
UseServiceProviderFactory<TContainerBuilder extends unknown>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
|
|
@@ -212,7 +212,7 @@ export interface HostApplicationBuilder$instance {
|
|
|
212
212
|
readonly Metrics: IMetricsBuilder;
|
|
213
213
|
readonly Services: IServiceCollection;
|
|
214
214
|
Build(): IHost;
|
|
215
|
-
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder> | null): void;
|
|
215
|
+
ConfigureContainer<TContainerBuilder extends unknown>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder> | null): void;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
|
|
@@ -259,14 +259,14 @@ export interface HostBuilder$instance {
|
|
|
259
259
|
|
|
260
260
|
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostBuilder: never;
|
|
261
261
|
|
|
262
|
-
readonly Properties: IDictionary_2<
|
|
262
|
+
readonly Properties: IDictionary_2<unknown, unknown>;
|
|
263
263
|
Build(): IHost;
|
|
264
264
|
ConfigureAppConfiguration(configureDelegate: Action_2<HostBuilderContext, IConfigurationBuilder>): IHostBuilder;
|
|
265
|
-
ConfigureContainer<TContainerBuilder>(configureDelegate: Action_2<HostBuilderContext, TContainerBuilder>): IHostBuilder;
|
|
265
|
+
ConfigureContainer<TContainerBuilder extends unknown>(configureDelegate: Action_2<HostBuilderContext, TContainerBuilder>): IHostBuilder;
|
|
266
266
|
ConfigureHostConfiguration(configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
|
|
267
267
|
ConfigureServices(configureDelegate: Action_2<HostBuilderContext, IServiceCollection>): IHostBuilder;
|
|
268
|
-
UseServiceProviderFactory<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
|
|
269
|
-
UseServiceProviderFactory<TContainerBuilder>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
|
|
268
|
+
UseServiceProviderFactory<TContainerBuilder extends unknown>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
|
|
269
|
+
UseServiceProviderFactory<TContainerBuilder extends unknown>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
|
|
@@ -287,12 +287,12 @@ export interface HostBuilderContext$instance {
|
|
|
287
287
|
|
|
288
288
|
Configuration: IConfiguration;
|
|
289
289
|
HostingEnvironment: IHostEnvironment;
|
|
290
|
-
readonly Properties: IDictionary_2<
|
|
290
|
+
readonly Properties: IDictionary_2<unknown, unknown>;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
export const HostBuilderContext: {
|
|
295
|
-
new(properties: IDictionary_2<
|
|
295
|
+
new(properties: IDictionary_2<unknown, unknown>): HostBuilderContext;
|
|
296
296
|
};
|
|
297
297
|
|
|
298
298
|
|
|
@@ -397,7 +397,7 @@ export type HostingEnvironmentExtensions = HostingEnvironmentExtensions$instance
|
|
|
397
397
|
|
|
398
398
|
export abstract class HostingHostBuilderExtensions$instance {
|
|
399
399
|
static ConfigureAppConfiguration(hostBuilder: IHostBuilder, configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
|
|
400
|
-
static ConfigureContainer<TContainerBuilder>(hostBuilder: IHostBuilder, configureDelegate: Action_1<TContainerBuilder>): IHostBuilder;
|
|
400
|
+
static ConfigureContainer<TContainerBuilder extends unknown>(hostBuilder: IHostBuilder, configureDelegate: Action_1<TContainerBuilder>): IHostBuilder;
|
|
401
401
|
static ConfigureDefaults(builder: IHostBuilder, args: string[] | null): IHostBuilder;
|
|
402
402
|
static ConfigureHostOptions(hostBuilder: IHostBuilder, configureOptions: Action_1<HostOptions>): IHostBuilder;
|
|
403
403
|
static ConfigureHostOptions(hostBuilder: IHostBuilder, configureOptions: Action_2<HostBuilderContext, HostOptions>): IHostBuilder;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: Microsoft.Extensions.Hosting
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// Import types from other namespaces
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.Hosting.Internal/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IFileProvider } from './Microsoft.Extensions.FileProviders/internal/index.js';
|
|
10
14
|
import type { ConsoleLifetimeOptions, HostOptions, IApplicationLifetime, IHostApplicationLifetime, IHostEnvironment, IHostingEnvironment, IHostLifetime } from './Microsoft.Extensions.Hosting/internal/index.js';
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.Hosting/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ConfigurationManager, IConfiguration, IConfigurationBuilder, IConfigurationManager } from './Microsoft.Extensions.Configuration/internal/index.js';
|
|
10
14
|
import type { IServiceCollection, IServiceProviderFactory_1, ServiceProviderOptions } from './Microsoft.Extensions.DependencyInjection/internal/index.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: Microsoft.Extensions.Http
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// Import types from other namespaces
|
|
@@ -21,14 +21,14 @@ export interface IHttpMessageHandlerBuilderFilter$instance {
|
|
|
21
21
|
|
|
22
22
|
export type IHttpMessageHandlerBuilderFilter = IHttpMessageHandlerBuilderFilter$instance;
|
|
23
23
|
|
|
24
|
-
export interface ITypedHttpClientFactory_1$instance<TClient> {
|
|
24
|
+
export interface ITypedHttpClientFactory_1$instance<TClient extends unknown> {
|
|
25
25
|
readonly __tsonic_iface_Microsoft_Extensions_Http_ITypedHttpClientFactory_1: never;
|
|
26
26
|
|
|
27
27
|
CreateClient(httpClient: HttpClient): TClient;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
export type ITypedHttpClientFactory_1<TClient> = ITypedHttpClientFactory_1$instance<TClient>;
|
|
31
|
+
export type ITypedHttpClientFactory_1<TClient extends unknown> = ITypedHttpClientFactory_1$instance<TClient>;
|
|
32
32
|
|
|
33
33
|
export interface HttpClientFactoryOptions$instance {
|
|
34
34
|
readonly __tsonic_type_Microsoft_Extensions_Http_HttpClientFactoryOptions: never;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: Microsoft.Extensions.Http
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// Import types from other namespaces
|
|
@@ -19,12 +19,12 @@ import type { Exception, IDisposable, Object as ClrObject, TimeSpan, Void } from
|
|
|
19
19
|
export interface IHttpClientAsyncLogger$instance extends IHttpClientLogger {
|
|
20
20
|
readonly __tsonic_iface_Microsoft_Extensions_Http_Logging_IHttpClientAsyncLogger: never;
|
|
21
21
|
|
|
22
|
-
LogRequestFailed(context:
|
|
23
|
-
LogRequestFailedAsync(context:
|
|
24
|
-
LogRequestStart(request: HttpRequestMessage):
|
|
25
|
-
LogRequestStartAsync(request: HttpRequestMessage, cancellationToken?: CancellationToken): ValueTask_1<
|
|
26
|
-
LogRequestStop(context:
|
|
27
|
-
LogRequestStopAsync(context:
|
|
22
|
+
LogRequestFailed(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage | null, exception: Exception, elapsed: TimeSpan): void;
|
|
23
|
+
LogRequestFailedAsync(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage | null, exception: Exception, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
|
|
24
|
+
LogRequestStart(request: HttpRequestMessage): unknown | null;
|
|
25
|
+
LogRequestStartAsync(request: HttpRequestMessage, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|
|
26
|
+
LogRequestStop(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
|
|
27
|
+
LogRequestStopAsync(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
|
|
@@ -35,9 +35,9 @@ export type IHttpClientAsyncLogger = IHttpClientAsyncLogger$instance;
|
|
|
35
35
|
export interface IHttpClientLogger$instance {
|
|
36
36
|
readonly __tsonic_iface_Microsoft_Extensions_Http_Logging_IHttpClientLogger: never;
|
|
37
37
|
|
|
38
|
-
LogRequestFailed(context:
|
|
39
|
-
LogRequestStart(request: HttpRequestMessage):
|
|
40
|
-
LogRequestStop(context:
|
|
38
|
+
LogRequestFailed(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage | null, exception: Exception, elapsed: TimeSpan): void;
|
|
39
|
+
LogRequestStart(request: HttpRequestMessage): unknown | null;
|
|
40
|
+
LogRequestStop(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.Http.Logging/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { HttpClientFactoryOptions } from './Microsoft.Extensions.Http/internal/index.js';
|
|
10
14
|
import type { ILogger } from './Microsoft.Extensions.Logging/internal/index.js';
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.Http/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IEnumerable, IList } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
10
14
|
import type { Action, Boolean as ClrBoolean, Func, IServiceProvider, Object as ClrObject, String as ClrString, TimeSpan } from '@tsonic/dotnet/System.js';
|
|
@@ -14,4 +18,4 @@ import type { DelegatingHandler, HttpClient, HttpMessageHandler } from '@tsonic/
|
|
|
14
18
|
export { HttpClientFactoryOptions as HttpClientFactoryOptions } from './Microsoft.Extensions.Http/internal/index.js';
|
|
15
19
|
export { HttpMessageHandlerBuilder as HttpMessageHandlerBuilder } from './Microsoft.Extensions.Http/internal/index.js';
|
|
16
20
|
export type IHttpMessageHandlerBuilderFilter = Internal.IHttpMessageHandlerBuilderFilter;
|
|
17
|
-
export type ITypedHttpClientFactory<TClient> = Internal.ITypedHttpClientFactory_1<TClient>;
|
|
21
|
+
export type ITypedHttpClientFactory<TClient extends unknown> = Internal.ITypedHttpClientFactory_1<TClient>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: Microsoft.Extensions.Caching.Abstractions
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// Import types from other namespaces
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.Internal/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { DateTimeOffset, Object as ClrObject } from '@tsonic/dotnet/System.js';
|
|
10
14
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: Microsoft.Extensions.Localization, Microsoft.Extensions.Localization.Abstractions
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// Import types from other namespaces
|
|
@@ -28,7 +28,7 @@ export type IResourceNamesCache = IResourceNamesCache$instance;
|
|
|
28
28
|
export interface IStringLocalizer$instance {
|
|
29
29
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizer: never;
|
|
30
30
|
|
|
31
|
-
get_Item2(name: string, ...arguments:
|
|
31
|
+
get_Item2(name: string, ...arguments: unknown[]): LocalizedString;
|
|
32
32
|
get_Item2(name: string): LocalizedString;
|
|
33
33
|
GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
|
|
34
34
|
}
|
|
@@ -36,19 +36,19 @@ export interface IStringLocalizer$instance {
|
|
|
36
36
|
|
|
37
37
|
export type IStringLocalizer = IStringLocalizer$instance;
|
|
38
38
|
|
|
39
|
-
export interface IStringLocalizer_1$instance<T> extends IStringLocalizer {
|
|
39
|
+
export interface IStringLocalizer_1$instance<T extends unknown> extends IStringLocalizer {
|
|
40
40
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizer_1: never;
|
|
41
41
|
|
|
42
|
-
get_Item2(name: string, ...arguments:
|
|
42
|
+
get_Item2(name: string, ...arguments: unknown[]): LocalizedString;
|
|
43
43
|
get_Item2(name: string): LocalizedString;
|
|
44
44
|
GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
|
|
45
45
|
get_Item(name: string): LocalizedString;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
export interface IStringLocalizer_1$instance<T> extends IStringLocalizer$instance {}
|
|
49
|
+
export interface IStringLocalizer_1$instance<T extends unknown> extends IStringLocalizer$instance {}
|
|
50
50
|
|
|
51
|
-
export type IStringLocalizer_1<T> = IStringLocalizer_1$instance<T>;
|
|
51
|
+
export type IStringLocalizer_1<T extends unknown> = IStringLocalizer_1$instance<T>;
|
|
52
52
|
|
|
53
53
|
export interface IStringLocalizerFactory$instance {
|
|
54
54
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizerFactory: never;
|
|
@@ -108,13 +108,13 @@ export const ResourceLocationAttribute: {
|
|
|
108
108
|
|
|
109
109
|
export type ResourceLocationAttribute = ResourceLocationAttribute$instance;
|
|
110
110
|
|
|
111
|
-
export interface ResourceManagerStringLocalizer$instance {
|
|
111
|
+
export interface ResourceManagerStringLocalizer$instance extends IStringLocalizer$instance {
|
|
112
112
|
readonly __tsonic_type_Microsoft_Extensions_Localization_ResourceManagerStringLocalizer: never;
|
|
113
113
|
|
|
114
114
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizer: never;
|
|
115
115
|
|
|
116
116
|
get_Item(name: string): LocalizedString;
|
|
117
|
-
get_Item(name: string, ...arguments:
|
|
117
|
+
get_Item(name: string, ...arguments: unknown[]): LocalizedString;
|
|
118
118
|
GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
|
|
119
119
|
}
|
|
120
120
|
|
|
@@ -195,33 +195,33 @@ export const RootNamespaceAttribute: {
|
|
|
195
195
|
|
|
196
196
|
export type RootNamespaceAttribute = RootNamespaceAttribute$instance;
|
|
197
197
|
|
|
198
|
-
export interface StringLocalizer_1$instance<TResourceSource> extends IStringLocalizer_1<TResourceSource> {
|
|
198
|
+
export interface StringLocalizer_1$instance<TResourceSource extends unknown> extends IStringLocalizer_1<TResourceSource>, IStringLocalizer_1$instance<TResourceSource> {
|
|
199
199
|
readonly __tsonic_type_Microsoft_Extensions_Localization_StringLocalizer_1: never;
|
|
200
200
|
|
|
201
201
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizer: never;
|
|
202
202
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizer_1: never;
|
|
203
203
|
|
|
204
204
|
get_Item(name: string): LocalizedString;
|
|
205
|
-
get_Item(name: string, ...arguments:
|
|
205
|
+
get_Item(name: string, ...arguments: unknown[]): LocalizedString;
|
|
206
206
|
GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
export const StringLocalizer_1: {
|
|
211
|
-
new<TResourceSource>(factory: IStringLocalizerFactory): StringLocalizer_1<TResourceSource>;
|
|
211
|
+
new<TResourceSource extends unknown>(factory: IStringLocalizerFactory): StringLocalizer_1<TResourceSource>;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
214
|
|
|
215
|
-
export interface __StringLocalizer_1$views<TResourceSource> {
|
|
215
|
+
export interface __StringLocalizer_1$views<TResourceSource extends unknown> {
|
|
216
216
|
As_IStringLocalizer(): IStringLocalizer$instance;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export type StringLocalizer_1<TResourceSource> = StringLocalizer_1$instance<TResourceSource> & __StringLocalizer_1$views<TResourceSource>;
|
|
219
|
+
export type StringLocalizer_1<TResourceSource extends unknown> = StringLocalizer_1$instance<TResourceSource> & __StringLocalizer_1$views<TResourceSource>;
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
export abstract class StringLocalizerExtensions$instance {
|
|
223
223
|
static GetAllStrings(stringLocalizer: IStringLocalizer): IEnumerable_1<LocalizedString>;
|
|
224
|
-
static GetString(stringLocalizer: IStringLocalizer, name: string, ...arguments:
|
|
224
|
+
static GetString(stringLocalizer: IStringLocalizer, name: string, ...arguments: unknown[]): LocalizedString;
|
|
225
225
|
static GetString(stringLocalizer: IStringLocalizer, name: string): LocalizedString;
|
|
226
226
|
}
|
|
227
227
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.Extensions.Localization/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ILogger, ILoggerFactory } from './Microsoft.Extensions.Logging/internal/index.js';
|
|
10
14
|
import type { IOptions_1 } from './Microsoft.Extensions.Options/internal/index.js';
|
|
@@ -34,10 +38,10 @@ declare const __unspecified: unique symbol;
|
|
|
34
38
|
export type __ = typeof __unspecified;
|
|
35
39
|
|
|
36
40
|
export type IStringLocalizer<
|
|
37
|
-
T1 = __,
|
|
41
|
+
T1 extends unknown | __ = __,
|
|
38
42
|
> =
|
|
39
43
|
[T1] extends [__] ? Internal.IStringLocalizer :
|
|
40
|
-
Internal.IStringLocalizer_1<T1
|
|
44
|
+
[T1] extends [unknown] ? Internal.IStringLocalizer_1<T1> : never;
|
|
41
45
|
|
|
42
46
|
// Extension methods (C# using semantics)
|
|
43
47
|
export type { ExtensionMethods_Microsoft_Extensions_Localization as ExtensionMethods } from './__internal/extensions/index.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Configuration, Microsoft.Extensions.Logging.Console, Microsoft.Extensions.Logging.Debug, Microsoft.Extensions.Logging.EventLog, Microsoft.Extensions.Logging.EventSource, Microsoft.Extensions.Logging.TraceSource
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// Import types from other namespaces
|
|
@@ -43,8 +43,8 @@ export enum LogLevel {
|
|
|
43
43
|
export interface IExternalScopeProvider$instance {
|
|
44
44
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_IExternalScopeProvider: never;
|
|
45
45
|
|
|
46
|
-
ForEachScope<TState>(callback: Action_2<
|
|
47
|
-
Push(state:
|
|
46
|
+
ForEachScope<TState extends unknown>(callback: Action_2<unknown | null, TState>, state: TState): void;
|
|
47
|
+
Push(state: unknown | null): IDisposable;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
@@ -53,26 +53,28 @@ export type IExternalScopeProvider = IExternalScopeProvider$instance;
|
|
|
53
53
|
export interface ILogger$instance {
|
|
54
54
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILogger: never;
|
|
55
55
|
|
|
56
|
-
BeginScope<TState>(state: TState): IDisposable;
|
|
56
|
+
BeginScope<TState extends unknown>(state: TState): IDisposable;
|
|
57
57
|
IsEnabled(logLevel: LogLevel): boolean;
|
|
58
|
-
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception | null, formatter: Func_3<TState, Exception | null, System_Internal.String>): void;
|
|
58
|
+
Log<TState extends unknown>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception | null, formatter: Func_3<TState, Exception | null, System_Internal.String>): void;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
export type ILogger = ILogger$instance;
|
|
63
63
|
|
|
64
|
-
export interface ILogger_1$instance<TCategoryName> extends ILogger {
|
|
64
|
+
export interface ILogger_1$instance<TCategoryName extends unknown> extends ILogger {
|
|
65
65
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILogger_1: never;
|
|
66
66
|
|
|
67
|
+
BeginScope<TState extends unknown>(state: TState): IDisposable;
|
|
67
68
|
BeginScope<TState>(state: TState): IDisposable;
|
|
68
69
|
IsEnabled(logLevel: LogLevel): boolean;
|
|
70
|
+
Log<TState extends unknown>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception | null, formatter: Func_3<TState, Exception | null, System_Internal.String>): void;
|
|
69
71
|
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception | null, formatter: Func_3<TState, Exception | null, System_Internal.String>): void;
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
|
|
73
|
-
export interface ILogger_1$instance<TCategoryName> extends ILogger$instance {}
|
|
75
|
+
export interface ILogger_1$instance<TCategoryName extends unknown> extends ILogger$instance {}
|
|
74
76
|
|
|
75
|
-
export type ILogger_1<TCategoryName> = ILogger_1$instance<TCategoryName>;
|
|
77
|
+
export type ILogger_1<TCategoryName extends unknown> = ILogger_1$instance<TCategoryName>;
|
|
76
78
|
|
|
77
79
|
export interface ILoggerFactory$instance extends IDisposable {
|
|
78
80
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILoggerFactory: never;
|
|
@@ -123,7 +125,7 @@ export interface EventId$instance {
|
|
|
123
125
|
readonly Id: int;
|
|
124
126
|
readonly Name: string | null;
|
|
125
127
|
Equals(other: EventId): boolean;
|
|
126
|
-
Equals(obj:
|
|
128
|
+
Equals(obj: unknown | null): boolean;
|
|
127
129
|
GetHashCode(): int;
|
|
128
130
|
ToString(): string;
|
|
129
131
|
}
|
|
@@ -150,7 +152,7 @@ export const LogDefineOptions: {
|
|
|
150
152
|
|
|
151
153
|
export type LogDefineOptions = LogDefineOptions$instance;
|
|
152
154
|
|
|
153
|
-
export interface Logger_1$instance<T> extends ILogger_1$instance<T> {
|
|
155
|
+
export interface Logger_1$instance<T extends unknown> extends ILogger_1$instance<T> {
|
|
154
156
|
readonly __tsonic_type_Microsoft_Extensions_Logging_Logger_1: never;
|
|
155
157
|
|
|
156
158
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_ILogger: never;
|
|
@@ -160,15 +162,15 @@ export interface Logger_1$instance<T> extends ILogger_1$instance<T> {
|
|
|
160
162
|
|
|
161
163
|
|
|
162
164
|
export const Logger_1: {
|
|
163
|
-
new<T>(factory: ILoggerFactory): Logger_1<T>;
|
|
165
|
+
new<T extends unknown>(factory: ILoggerFactory): Logger_1<T>;
|
|
164
166
|
};
|
|
165
167
|
|
|
166
168
|
|
|
167
|
-
export interface __Logger_1$views<T> {
|
|
169
|
+
export interface __Logger_1$views<T extends unknown> {
|
|
168
170
|
As_ILogger(): ILogger$instance;
|
|
169
171
|
}
|
|
170
172
|
|
|
171
|
-
export type Logger_1<T> = Logger_1$instance<T> & __Logger_1$views<T>;
|
|
173
|
+
export type Logger_1<T extends unknown> = Logger_1$instance<T> & __Logger_1$views<T>;
|
|
172
174
|
|
|
173
175
|
|
|
174
176
|
export interface LoggerExternalScopeProvider$instance extends IExternalScopeProvider$instance {
|
|
@@ -176,8 +178,8 @@ export interface LoggerExternalScopeProvider$instance extends IExternalScopeProv
|
|
|
176
178
|
|
|
177
179
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_IExternalScopeProvider: never;
|
|
178
180
|
|
|
179
|
-
ForEachScope<TState>(callback: Action_2<
|
|
180
|
-
Push(state:
|
|
181
|
+
ForEachScope<TState extends unknown>(callback: Action_2<unknown | null, TState>, state: TState): void;
|
|
182
|
+
Push(state: unknown | null): IDisposable;
|
|
181
183
|
}
|
|
182
184
|
|
|
183
185
|
|
|
@@ -320,8 +322,8 @@ export abstract class ConsoleLoggerExtensions$instance {
|
|
|
320
322
|
static AddConsole(factory: ILoggerFactory): ILoggerFactory;
|
|
321
323
|
static AddConsole(builder: ILoggingBuilder, configure: Action_1<ConsoleLoggerOptions>): ILoggingBuilder;
|
|
322
324
|
static AddConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
323
|
-
static AddConsoleFormatter<TFormatter extends ConsoleFormatter, TOptions extends ConsoleFormatterOptions>(builder: ILoggingBuilder, configure: Action_1<TOptions>): ILoggingBuilder;
|
|
324
|
-
static AddConsoleFormatter<TFormatter extends ConsoleFormatter, TOptions extends ConsoleFormatterOptions>(builder: ILoggingBuilder): ILoggingBuilder;
|
|
325
|
+
static AddConsoleFormatter<TFormatter extends unknown & ConsoleFormatter, TOptions extends unknown & ConsoleFormatterOptions>(builder: ILoggingBuilder, configure: Action_1<TOptions>): ILoggingBuilder;
|
|
326
|
+
static AddConsoleFormatter<TFormatter extends unknown & ConsoleFormatter, TOptions extends unknown & ConsoleFormatterOptions>(builder: ILoggingBuilder): ILoggingBuilder;
|
|
325
327
|
static AddJsonConsole(builder: ILoggingBuilder, configure: Action_1<JsonConsoleFormatterOptions>): ILoggingBuilder;
|
|
326
328
|
static AddJsonConsole(builder: ILoggingBuilder): ILoggingBuilder;
|
|
327
329
|
static AddSimpleConsole(builder: ILoggingBuilder, configure: Action_1<SimpleConsoleFormatterOptions>): ILoggingBuilder;
|
|
@@ -380,35 +382,35 @@ export abstract class FilterLoggingBuilderExtensions$instance {
|
|
|
380
382
|
export type FilterLoggingBuilderExtensions = FilterLoggingBuilderExtensions$instance;
|
|
381
383
|
|
|
382
384
|
export abstract class LoggerExtensions$instance {
|
|
383
|
-
static BeginScope(logger: ILogger, messageFormat: string, ...args: (
|
|
384
|
-
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, exception: Exception | null, message: string | null, ...args: (
|
|
385
|
-
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, message: string | null, ...args: (
|
|
386
|
-
static Log(logger: ILogger, logLevel: LogLevel, exception: Exception | null, message: string | null, ...args: (
|
|
387
|
-
static Log(logger: ILogger, logLevel: LogLevel, message: string | null, ...args: (
|
|
388
|
-
static LogCritical(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (
|
|
389
|
-
static LogCritical(logger: ILogger, eventId: EventId, message: string | null, ...args: (
|
|
390
|
-
static LogCritical(logger: ILogger, exception: Exception | null, message: string | null, ...args: (
|
|
391
|
-
static LogCritical(logger: ILogger, message: string | null, ...args: (
|
|
392
|
-
static LogDebug(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (
|
|
393
|
-
static LogDebug(logger: ILogger, eventId: EventId, message: string | null, ...args: (
|
|
394
|
-
static LogDebug(logger: ILogger, exception: Exception | null, message: string | null, ...args: (
|
|
395
|
-
static LogDebug(logger: ILogger, message: string | null, ...args: (
|
|
396
|
-
static LogError(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (
|
|
397
|
-
static LogError(logger: ILogger, eventId: EventId, message: string | null, ...args: (
|
|
398
|
-
static LogError(logger: ILogger, exception: Exception | null, message: string | null, ...args: (
|
|
399
|
-
static LogError(logger: ILogger, message: string | null, ...args: (
|
|
400
|
-
static LogInformation(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (
|
|
401
|
-
static LogInformation(logger: ILogger, eventId: EventId, message: string | null, ...args: (
|
|
402
|
-
static LogInformation(logger: ILogger, exception: Exception | null, message: string | null, ...args: (
|
|
403
|
-
static LogInformation(logger: ILogger, message: string | null, ...args: (
|
|
404
|
-
static LogTrace(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (
|
|
405
|
-
static LogTrace(logger: ILogger, eventId: EventId, message: string | null, ...args: (
|
|
406
|
-
static LogTrace(logger: ILogger, exception: Exception | null, message: string | null, ...args: (
|
|
407
|
-
static LogTrace(logger: ILogger, message: string | null, ...args: (
|
|
408
|
-
static LogWarning(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (
|
|
409
|
-
static LogWarning(logger: ILogger, eventId: EventId, message: string | null, ...args: (
|
|
410
|
-
static LogWarning(logger: ILogger, exception: Exception | null, message: string | null, ...args: (
|
|
411
|
-
static LogWarning(logger: ILogger, message: string | null, ...args: (
|
|
385
|
+
static BeginScope(logger: ILogger, messageFormat: string, ...args: (unknown | null)[]): IDisposable | null;
|
|
386
|
+
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
387
|
+
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, message: string | null, ...args: (unknown | null)[]): void;
|
|
388
|
+
static Log(logger: ILogger, logLevel: LogLevel, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
389
|
+
static Log(logger: ILogger, logLevel: LogLevel, message: string | null, ...args: (unknown | null)[]): void;
|
|
390
|
+
static LogCritical(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
391
|
+
static LogCritical(logger: ILogger, eventId: EventId, message: string | null, ...args: (unknown | null)[]): void;
|
|
392
|
+
static LogCritical(logger: ILogger, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
393
|
+
static LogCritical(logger: ILogger, message: string | null, ...args: (unknown | null)[]): void;
|
|
394
|
+
static LogDebug(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
395
|
+
static LogDebug(logger: ILogger, eventId: EventId, message: string | null, ...args: (unknown | null)[]): void;
|
|
396
|
+
static LogDebug(logger: ILogger, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
397
|
+
static LogDebug(logger: ILogger, message: string | null, ...args: (unknown | null)[]): void;
|
|
398
|
+
static LogError(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
399
|
+
static LogError(logger: ILogger, eventId: EventId, message: string | null, ...args: (unknown | null)[]): void;
|
|
400
|
+
static LogError(logger: ILogger, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
401
|
+
static LogError(logger: ILogger, message: string | null, ...args: (unknown | null)[]): void;
|
|
402
|
+
static LogInformation(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
403
|
+
static LogInformation(logger: ILogger, eventId: EventId, message: string | null, ...args: (unknown | null)[]): void;
|
|
404
|
+
static LogInformation(logger: ILogger, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
405
|
+
static LogInformation(logger: ILogger, message: string | null, ...args: (unknown | null)[]): void;
|
|
406
|
+
static LogTrace(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
407
|
+
static LogTrace(logger: ILogger, eventId: EventId, message: string | null, ...args: (unknown | null)[]): void;
|
|
408
|
+
static LogTrace(logger: ILogger, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
409
|
+
static LogTrace(logger: ILogger, message: string | null, ...args: (unknown | null)[]): void;
|
|
410
|
+
static LogWarning(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
411
|
+
static LogWarning(logger: ILogger, eventId: EventId, message: string | null, ...args: (unknown | null)[]): void;
|
|
412
|
+
static LogWarning(logger: ILogger, exception: Exception | null, message: string | null, ...args: (unknown | null)[]): void;
|
|
413
|
+
static LogWarning(logger: ILogger, message: string | null, ...args: (unknown | null)[]): void;
|
|
412
414
|
}
|
|
413
415
|
|
|
414
416
|
|
|
@@ -416,33 +418,33 @@ export type LoggerExtensions = LoggerExtensions$instance;
|
|
|
416
418
|
|
|
417
419
|
export abstract class LoggerFactoryExtensions$instance {
|
|
418
420
|
static CreateLogger(factory: ILoggerFactory, type: Type): ILogger;
|
|
419
|
-
static CreateLogger<T>(factory: ILoggerFactory): ILogger_1<T>;
|
|
421
|
+
static CreateLogger<T extends unknown>(factory: ILoggerFactory): ILogger_1<T>;
|
|
420
422
|
}
|
|
421
423
|
|
|
422
424
|
|
|
423
425
|
export type LoggerFactoryExtensions = LoggerFactoryExtensions$instance;
|
|
424
426
|
|
|
425
427
|
export abstract class LoggerMessage$instance {
|
|
426
|
-
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_3<ILogger, T1, Exception | null>;
|
|
427
|
-
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_4<ILogger, T1, T2, Exception | null>;
|
|
428
|
-
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_5<ILogger, T1, T2, T3, Exception | null>;
|
|
429
|
-
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_6<ILogger, T1, T2, T3, T4, Exception | null>;
|
|
430
|
-
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_7<ILogger, T1, T2, T3, T4, T5, Exception | null>;
|
|
431
|
-
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_8<ILogger, T1, T2, T3, T4, T5, T6, Exception | null>;
|
|
428
|
+
static Define<T1 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_3<ILogger, T1, Exception | null>;
|
|
429
|
+
static Define<T1 extends unknown, T2 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_4<ILogger, T1, T2, Exception | null>;
|
|
430
|
+
static Define<T1 extends unknown, T2 extends unknown, T3 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_5<ILogger, T1, T2, T3, Exception | null>;
|
|
431
|
+
static Define<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_6<ILogger, T1, T2, T3, T4, Exception | null>;
|
|
432
|
+
static Define<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_7<ILogger, T1, T2, T3, T4, T5, Exception | null>;
|
|
433
|
+
static Define<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown, T6 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_8<ILogger, T1, T2, T3, T4, T5, T6, Exception | null>;
|
|
432
434
|
static Define(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions | null): Action_2<ILogger, Exception | null>;
|
|
433
|
-
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_3<ILogger, T1, Exception | null>;
|
|
434
|
-
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_4<ILogger, T1, T2, Exception | null>;
|
|
435
|
-
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_5<ILogger, T1, T2, T3, Exception | null>;
|
|
436
|
-
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_6<ILogger, T1, T2, T3, T4, Exception | null>;
|
|
437
|
-
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_7<ILogger, T1, T2, T3, T4, T5, Exception | null>;
|
|
438
|
-
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_8<ILogger, T1, T2, T3, T4, T5, T6, Exception | null>;
|
|
435
|
+
static Define<T1 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_3<ILogger, T1, Exception | null>;
|
|
436
|
+
static Define<T1 extends unknown, T2 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_4<ILogger, T1, T2, Exception | null>;
|
|
437
|
+
static Define<T1 extends unknown, T2 extends unknown, T3 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_5<ILogger, T1, T2, T3, Exception | null>;
|
|
438
|
+
static Define<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_6<ILogger, T1, T2, T3, T4, Exception | null>;
|
|
439
|
+
static Define<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_7<ILogger, T1, T2, T3, T4, T5, Exception | null>;
|
|
440
|
+
static Define<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown, T6 extends unknown>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_8<ILogger, T1, T2, T3, T4, T5, T6, Exception | null>;
|
|
439
441
|
static Define(logLevel: LogLevel, eventId: EventId, formatString: string): Action_2<ILogger, Exception | null>;
|
|
440
|
-
static DefineScope<T1>(formatString: string): Func_3<ILogger, T1, IDisposable | null>;
|
|
441
|
-
static DefineScope<T1, T2>(formatString: string): Func_4<ILogger, T1, T2, IDisposable | null>;
|
|
442
|
-
static DefineScope<T1, T2, T3>(formatString: string): Func_5<ILogger, T1, T2, T3, IDisposable | null>;
|
|
443
|
-
static DefineScope<T1, T2, T3, T4>(formatString: string): Func_6<ILogger, T1, T2, T3, T4, IDisposable | null>;
|
|
444
|
-
static DefineScope<T1, T2, T3, T4, T5>(formatString: string): Func_7<ILogger, T1, T2, T3, T4, T5, IDisposable | null>;
|
|
445
|
-
static DefineScope<T1, T2, T3, T4, T5, T6>(formatString: string): Func_8<ILogger, T1, T2, T3, T4, T5, T6, IDisposable | null>;
|
|
442
|
+
static DefineScope<T1 extends unknown>(formatString: string): Func_3<ILogger, T1, IDisposable | null>;
|
|
443
|
+
static DefineScope<T1 extends unknown, T2 extends unknown>(formatString: string): Func_4<ILogger, T1, T2, IDisposable | null>;
|
|
444
|
+
static DefineScope<T1 extends unknown, T2 extends unknown, T3 extends unknown>(formatString: string): Func_5<ILogger, T1, T2, T3, IDisposable | null>;
|
|
445
|
+
static DefineScope<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown>(formatString: string): Func_6<ILogger, T1, T2, T3, T4, IDisposable | null>;
|
|
446
|
+
static DefineScope<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown>(formatString: string): Func_7<ILogger, T1, T2, T3, T4, T5, IDisposable | null>;
|
|
447
|
+
static DefineScope<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown, T6 extends unknown>(formatString: string): Func_8<ILogger, T1, T2, T3, T4, T5, T6, IDisposable | null>;
|
|
446
448
|
static DefineScope(formatString: string): Func_2<ILogger, IDisposable | null>;
|
|
447
449
|
}
|
|
448
450
|
|