@tsonic/microsoft-extensions 10.0.40 → 10.0.41
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 +11 -10
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +10 -12
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +38 -40
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +69 -71
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +103 -102
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +24 -23
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +22 -21
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +30 -32
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +9 -8
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +9 -8
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +230 -230
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +45 -44
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +2 -2
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +30 -29
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Http/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +12 -11
- package/Microsoft.Extensions.Internal/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Localization/internal/index.d.ts +15 -14
- package/Microsoft.Extensions.Logging/internal/index.d.ts +78 -77
- package/Microsoft.Extensions.Logging.Abstractions/bindings.json +4 -1
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +13 -12
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +15 -17
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +12 -11
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.Options/internal/index.d.ts +104 -103
- package/Microsoft.Extensions.Primitives/bindings.json +0 -20
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +30 -33
- package/Microsoft.Extensions.Primitives.d.ts +1 -1
- package/Microsoft.Extensions.Validation/internal/index.d.ts +14 -16
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +2 -4
- package/README.md +45 -15
- package/System.Diagnostics/internal/index.d.ts +11 -10
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +7 -6
- package/System.Net.Http/internal/index.d.ts +3 -2
- package/System.Security.Cryptography/internal/index.d.ts +5 -4
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +48 -50
- package/System.Security.Cryptography.Xml/internal/index.d.ts +148 -150
- package/__internal/extensions/index.d.ts +186 -188
- package/package.json +3 -3
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Hosting
|
|
3
3
|
// Assembly: Microsoft.Extensions.Hosting, Microsoft.Extensions.Hosting.Abstractions
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, 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
|
// Import types from other namespaces
|
|
9
10
|
import type { ConfigurationManager, IConfiguration, IConfigurationBuilder, IConfigurationManager } from "../../Microsoft.Extensions.Configuration/internal/index.js";
|
|
@@ -52,13 +53,13 @@ export type IHost = IHost$instance;
|
|
|
52
53
|
export interface IHostApplicationBuilder$instance {
|
|
53
54
|
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostApplicationBuilder: never;
|
|
54
55
|
|
|
55
|
-
readonly Properties: IDictionary_2<
|
|
56
|
+
readonly Properties: IDictionary_2<JsValue, JsValue>;
|
|
56
57
|
readonly Configuration: IConfigurationManager;
|
|
57
58
|
readonly Environment: IHostEnvironment;
|
|
58
59
|
readonly Logging: ILoggingBuilder;
|
|
59
60
|
readonly Metrics: IMetricsBuilder;
|
|
60
61
|
readonly Services: IServiceCollection;
|
|
61
|
-
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder>): void;
|
|
62
|
+
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder> | null): void;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
|
|
@@ -79,7 +80,7 @@ export type IHostApplicationLifetime = IHostApplicationLifetime$instance;
|
|
|
79
80
|
export interface IHostBuilder$instance {
|
|
80
81
|
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostBuilder: never;
|
|
81
82
|
|
|
82
|
-
readonly Properties: IDictionary_2<
|
|
83
|
+
readonly Properties: IDictionary_2<JsValue, JsValue>;
|
|
83
84
|
Build(): IHost;
|
|
84
85
|
ConfigureAppConfiguration(configureDelegate: Action_2<HostBuilderContext, IConfigurationBuilder>): IHostBuilder;
|
|
85
86
|
ConfigureHostConfiguration(configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
|
|
@@ -150,7 +151,7 @@ export interface BackgroundService$instance extends IHostedService$instance, Sys
|
|
|
150
151
|
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostedService: never;
|
|
151
152
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
152
153
|
|
|
153
|
-
readonly ExecuteTask: Task |
|
|
154
|
+
readonly ExecuteTask: Task | null;
|
|
154
155
|
Dispose(): void;
|
|
155
156
|
ExecuteAsync(stoppingToken: CancellationToken): Task;
|
|
156
157
|
StartAsync(cancellationToken: CancellationToken): Task;
|
|
@@ -193,8 +194,8 @@ export interface HostAbortedException$instance extends Exception {
|
|
|
193
194
|
|
|
194
195
|
export const HostAbortedException: {
|
|
195
196
|
new(): HostAbortedException;
|
|
196
|
-
new(message: string): HostAbortedException;
|
|
197
|
-
new(message: string, innerException: Exception): HostAbortedException;
|
|
197
|
+
new(message: string | null): HostAbortedException;
|
|
198
|
+
new(message: string | null, innerException: Exception | null): HostAbortedException;
|
|
198
199
|
};
|
|
199
200
|
|
|
200
201
|
|
|
@@ -211,14 +212,14 @@ export interface HostApplicationBuilder$instance {
|
|
|
211
212
|
readonly Metrics: IMetricsBuilder;
|
|
212
213
|
readonly Services: IServiceCollection;
|
|
213
214
|
Build(): IHost;
|
|
214
|
-
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder>): void;
|
|
215
|
+
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder> | null): void;
|
|
215
216
|
}
|
|
216
217
|
|
|
217
218
|
|
|
218
219
|
export const HostApplicationBuilder: {
|
|
219
220
|
new(): HostApplicationBuilder;
|
|
220
|
-
new(args: string[]): HostApplicationBuilder;
|
|
221
|
-
new(settings: HostApplicationBuilderSettings): HostApplicationBuilder;
|
|
221
|
+
new(args: string[] | null): HostApplicationBuilder;
|
|
222
|
+
new(settings: HostApplicationBuilderSettings | null): HostApplicationBuilder;
|
|
222
223
|
};
|
|
223
224
|
|
|
224
225
|
|
|
@@ -232,17 +233,17 @@ export type HostApplicationBuilder = HostApplicationBuilder$instance & __HostApp
|
|
|
232
233
|
export interface HostApplicationBuilderSettings$instance {
|
|
233
234
|
readonly __tsonic_type_Microsoft_Extensions_Hosting_HostApplicationBuilderSettings: never;
|
|
234
235
|
|
|
235
|
-
get ApplicationName(): string |
|
|
236
|
-
set ApplicationName(value: string |
|
|
237
|
-
get Args(): string[] |
|
|
238
|
-
set Args(value: string[] |
|
|
239
|
-
get Configuration(): ConfigurationManager |
|
|
240
|
-
set Configuration(value: ConfigurationManager |
|
|
241
|
-
get ContentRootPath(): string |
|
|
242
|
-
set ContentRootPath(value: string |
|
|
236
|
+
get ApplicationName(): string | null;
|
|
237
|
+
set ApplicationName(value: string | null);
|
|
238
|
+
get Args(): string[] | null;
|
|
239
|
+
set Args(value: string[] | null);
|
|
240
|
+
get Configuration(): ConfigurationManager | null;
|
|
241
|
+
set Configuration(value: ConfigurationManager | null);
|
|
242
|
+
get ContentRootPath(): string | null;
|
|
243
|
+
set ContentRootPath(value: string | null);
|
|
243
244
|
DisableDefaults: boolean;
|
|
244
|
-
get EnvironmentName(): string |
|
|
245
|
-
set EnvironmentName(value: string |
|
|
245
|
+
get EnvironmentName(): string | null;
|
|
246
|
+
set EnvironmentName(value: string | null);
|
|
246
247
|
}
|
|
247
248
|
|
|
248
249
|
|
|
@@ -258,7 +259,7 @@ export interface HostBuilder$instance {
|
|
|
258
259
|
|
|
259
260
|
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostBuilder: never;
|
|
260
261
|
|
|
261
|
-
readonly Properties: IDictionary_2<
|
|
262
|
+
readonly Properties: IDictionary_2<JsValue, JsValue>;
|
|
262
263
|
Build(): IHost;
|
|
263
264
|
ConfigureAppConfiguration(configureDelegate: Action_2<HostBuilderContext, IConfigurationBuilder>): IHostBuilder;
|
|
264
265
|
ConfigureContainer<TContainerBuilder>(configureDelegate: Action_2<HostBuilderContext, TContainerBuilder>): IHostBuilder;
|
|
@@ -286,12 +287,12 @@ export interface HostBuilderContext$instance {
|
|
|
286
287
|
|
|
287
288
|
Configuration: IConfiguration;
|
|
288
289
|
HostingEnvironment: IHostEnvironment;
|
|
289
|
-
readonly Properties: IDictionary_2<
|
|
290
|
+
readonly Properties: IDictionary_2<JsValue, JsValue>;
|
|
290
291
|
}
|
|
291
292
|
|
|
292
293
|
|
|
293
294
|
export const HostBuilderContext: {
|
|
294
|
-
new(properties: IDictionary_2<
|
|
295
|
+
new(properties: IDictionary_2<JsValue, JsValue>): HostBuilderContext;
|
|
295
296
|
};
|
|
296
297
|
|
|
297
298
|
|
|
@@ -335,11 +336,11 @@ export type Environments = Environments$instance;
|
|
|
335
336
|
|
|
336
337
|
export abstract class Host$instance {
|
|
337
338
|
static CreateApplicationBuilder(): HostApplicationBuilder;
|
|
338
|
-
static CreateApplicationBuilder(settings: HostApplicationBuilderSettings): HostApplicationBuilder;
|
|
339
|
-
static CreateApplicationBuilder(args: string[]): HostApplicationBuilder;
|
|
339
|
+
static CreateApplicationBuilder(settings: HostApplicationBuilderSettings | null): HostApplicationBuilder;
|
|
340
|
+
static CreateApplicationBuilder(args: string[] | null): HostApplicationBuilder;
|
|
340
341
|
static CreateDefaultBuilder(): IHostBuilder;
|
|
341
|
-
static CreateDefaultBuilder(args: string[]): IHostBuilder;
|
|
342
|
-
static CreateEmptyApplicationBuilder(settings: HostApplicationBuilderSettings): HostApplicationBuilder;
|
|
342
|
+
static CreateDefaultBuilder(args: string[] | null): IHostBuilder;
|
|
343
|
+
static CreateEmptyApplicationBuilder(settings: HostApplicationBuilderSettings | null): HostApplicationBuilder;
|
|
343
344
|
}
|
|
344
345
|
|
|
345
346
|
|
|
@@ -397,7 +398,7 @@ export type HostingEnvironmentExtensions = HostingEnvironmentExtensions$instance
|
|
|
397
398
|
export abstract class HostingHostBuilderExtensions$instance {
|
|
398
399
|
static ConfigureAppConfiguration(hostBuilder: IHostBuilder, configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
|
|
399
400
|
static ConfigureContainer<TContainerBuilder>(hostBuilder: IHostBuilder, configureDelegate: Action_1<TContainerBuilder>): IHostBuilder;
|
|
400
|
-
static ConfigureDefaults(builder: IHostBuilder, args: string[]): IHostBuilder;
|
|
401
|
+
static ConfigureDefaults(builder: IHostBuilder, args: string[] | null): IHostBuilder;
|
|
401
402
|
static ConfigureHostOptions(hostBuilder: IHostBuilder, configureOptions: Action_1<HostOptions>): IHostBuilder;
|
|
402
403
|
static ConfigureHostOptions(hostBuilder: IHostBuilder, configureOptions: Action_2<HostBuilderContext, HostOptions>): IHostBuilder;
|
|
403
404
|
static ConfigureLogging(hostBuilder: IHostBuilder, configureLogging: Action_1<ILoggingBuilder>): IHostBuilder;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Hosting.Internal
|
|
3
3
|
// Assembly: Microsoft.Extensions.Hosting
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, 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
|
// Import types from other namespaces
|
|
9
10
|
import type { IFileProvider } from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Http
|
|
3
3
|
// Assembly: Microsoft.Extensions.Http
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, 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
|
// Import types from other namespaces
|
|
9
10
|
import type { IEnumerable_1, IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
@@ -51,8 +52,8 @@ export interface HttpMessageHandlerBuilder$instance {
|
|
|
51
52
|
readonly __tsonic_type_Microsoft_Extensions_Http_HttpMessageHandlerBuilder: never;
|
|
52
53
|
|
|
53
54
|
readonly AdditionalHandlers: IList_1<DelegatingHandler>;
|
|
54
|
-
get Name(): string |
|
|
55
|
-
set Name(value: string |
|
|
55
|
+
get Name(): string | null;
|
|
56
|
+
set Name(value: string | null);
|
|
56
57
|
PrimaryHandler: HttpMessageHandler;
|
|
57
58
|
readonly Services: IServiceProvider;
|
|
58
59
|
Build(): HttpMessageHandler;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Http.Logging
|
|
3
3
|
// Assembly: Microsoft.Extensions.Http
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, 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
|
// Import types from other namespaces
|
|
9
10
|
import type { HttpClientFactoryOptions } from "../../Microsoft.Extensions.Http/internal/index.js";
|
|
@@ -18,12 +19,12 @@ import type { Exception, IDisposable, Object as ClrObject, TimeSpan, Void } from
|
|
|
18
19
|
export interface IHttpClientAsyncLogger$instance extends IHttpClientLogger {
|
|
19
20
|
readonly __tsonic_iface_Microsoft_Extensions_Http_Logging_IHttpClientAsyncLogger: never;
|
|
20
21
|
|
|
21
|
-
LogRequestFailed(context:
|
|
22
|
-
LogRequestFailedAsync(context:
|
|
23
|
-
LogRequestStart(request: HttpRequestMessage):
|
|
24
|
-
LogRequestStartAsync(request: HttpRequestMessage, cancellationToken?: CancellationToken): ValueTask_1<
|
|
25
|
-
LogRequestStop(context:
|
|
26
|
-
LogRequestStopAsync(context:
|
|
22
|
+
LogRequestFailed(context: JsValue | null, request: HttpRequestMessage, response: HttpResponseMessage | null, exception: Exception, elapsed: TimeSpan): void;
|
|
23
|
+
LogRequestFailedAsync(context: JsValue | null, request: HttpRequestMessage, response: HttpResponseMessage | null, exception: Exception, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
|
|
24
|
+
LogRequestStart(request: HttpRequestMessage): JsValue | null;
|
|
25
|
+
LogRequestStartAsync(request: HttpRequestMessage, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
26
|
+
LogRequestStop(context: JsValue | null, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
|
|
27
|
+
LogRequestStopAsync(context: JsValue | null, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
|
|
@@ -34,9 +35,9 @@ export type IHttpClientAsyncLogger = IHttpClientAsyncLogger$instance;
|
|
|
34
35
|
export interface IHttpClientLogger$instance {
|
|
35
36
|
readonly __tsonic_iface_Microsoft_Extensions_Http_Logging_IHttpClientLogger: never;
|
|
36
37
|
|
|
37
|
-
LogRequestFailed(context:
|
|
38
|
-
LogRequestStart(request: HttpRequestMessage):
|
|
39
|
-
LogRequestStop(context:
|
|
38
|
+
LogRequestFailed(context: JsValue | null, request: HttpRequestMessage, response: HttpResponseMessage | null, exception: Exception, elapsed: TimeSpan): void;
|
|
39
|
+
LogRequestStart(request: HttpRequestMessage): JsValue | null;
|
|
40
|
+
LogRequestStop(context: JsValue | null, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Internal
|
|
3
3
|
// Assembly: Microsoft.Extensions.Caching.Abstractions
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, 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
|
// Import types from other namespaces
|
|
9
10
|
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Localization
|
|
3
3
|
// Assembly: Microsoft.Extensions.Localization, Microsoft.Extensions.Localization.Abstractions
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, 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
|
// Import types from other namespaces
|
|
9
10
|
import type { ILogger, ILoggerFactory } from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
@@ -18,7 +19,7 @@ import type { Attribute, Boolean as ClrBoolean, Func_2, Object as ClrObject, Str
|
|
|
18
19
|
export interface IResourceNamesCache$instance {
|
|
19
20
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IResourceNamesCache: never;
|
|
20
21
|
|
|
21
|
-
GetOrAdd(name: string, valueFactory: Func_2<System_Internal.String, IList_1<System_Internal.String
|
|
22
|
+
GetOrAdd(name: string, valueFactory: Func_2<System_Internal.String, IList_1<System_Internal.String> | null>): IList_1<System_Internal.String> | null;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
|
|
@@ -27,7 +28,7 @@ export type IResourceNamesCache = IResourceNamesCache$instance;
|
|
|
27
28
|
export interface IStringLocalizer$instance {
|
|
28
29
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizer: never;
|
|
29
30
|
|
|
30
|
-
get_Item2(name: string, ...arguments:
|
|
31
|
+
get_Item2(name: string, ...arguments: JsValue[]): LocalizedString;
|
|
31
32
|
get_Item2(name: string): LocalizedString;
|
|
32
33
|
GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
|
|
33
34
|
}
|
|
@@ -38,7 +39,7 @@ export type IStringLocalizer = IStringLocalizer$instance;
|
|
|
38
39
|
export interface IStringLocalizer_1$instance<T> extends IStringLocalizer {
|
|
39
40
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizer_1: never;
|
|
40
41
|
|
|
41
|
-
get_Item2(name: string, ...arguments:
|
|
42
|
+
get_Item2(name: string, ...arguments: JsValue[]): LocalizedString;
|
|
42
43
|
get_Item2(name: string): LocalizedString;
|
|
43
44
|
GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
|
|
44
45
|
get_Item(name: string): LocalizedString;
|
|
@@ -78,7 +79,7 @@ export interface LocalizedString$instance {
|
|
|
78
79
|
|
|
79
80
|
readonly Name: string;
|
|
80
81
|
readonly ResourceNotFound: boolean;
|
|
81
|
-
readonly SearchedLocation: string |
|
|
82
|
+
readonly SearchedLocation: string | null;
|
|
82
83
|
readonly Value: string;
|
|
83
84
|
ToString(): string;
|
|
84
85
|
}
|
|
@@ -87,7 +88,7 @@ export interface LocalizedString$instance {
|
|
|
87
88
|
export const LocalizedString: {
|
|
88
89
|
new(name: string, value: string): LocalizedString;
|
|
89
90
|
new(name: string, value: string, resourceNotFound: boolean): LocalizedString;
|
|
90
|
-
new(name: string, value: string, resourceNotFound: boolean, searchedLocation: string): LocalizedString;
|
|
91
|
+
new(name: string, value: string, resourceNotFound: boolean, searchedLocation: string | null): LocalizedString;
|
|
91
92
|
};
|
|
92
93
|
|
|
93
94
|
|
|
@@ -113,7 +114,7 @@ export interface ResourceManagerStringLocalizer$instance {
|
|
|
113
114
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizer: never;
|
|
114
115
|
|
|
115
116
|
get_Item(name: string): LocalizedString;
|
|
116
|
-
get_Item(name: string, ...arguments:
|
|
117
|
+
get_Item(name: string, ...arguments: JsValue[]): LocalizedString;
|
|
117
118
|
GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
|
|
118
119
|
}
|
|
119
120
|
|
|
@@ -138,12 +139,12 @@ export interface ResourceManagerStringLocalizerFactory$instance extends IStringL
|
|
|
138
139
|
Create(resourceSource: Type): IStringLocalizer;
|
|
139
140
|
Create(baseName: string, location: string): IStringLocalizer;
|
|
140
141
|
CreateResourceManagerStringLocalizer(assembly: Assembly, baseName: string): ResourceManagerStringLocalizer;
|
|
141
|
-
GetResourceLocationAttribute(assembly: Assembly): ResourceLocationAttribute |
|
|
142
|
+
GetResourceLocationAttribute(assembly: Assembly): ResourceLocationAttribute | null;
|
|
142
143
|
GetResourcePrefix(typeInfo: TypeInfo): string;
|
|
143
|
-
GetResourcePrefix(typeInfo: TypeInfo, baseNamespace: string, resourcesRelativePath: string): string;
|
|
144
|
+
GetResourcePrefix(typeInfo: TypeInfo, baseNamespace: string | null, resourcesRelativePath: string | null): string;
|
|
144
145
|
GetResourcePrefix(baseResourceName: string, baseNamespace: string): string;
|
|
145
146
|
GetResourcePrefix(location: string, baseName: string, resourceLocation: string): string;
|
|
146
|
-
GetRootNamespaceAttribute(assembly: Assembly): RootNamespaceAttribute |
|
|
147
|
+
GetRootNamespaceAttribute(assembly: Assembly): RootNamespaceAttribute | null;
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
|
|
@@ -164,7 +165,7 @@ export interface ResourceNamesCache$instance extends IResourceNamesCache$instanc
|
|
|
164
165
|
|
|
165
166
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IResourceNamesCache: never;
|
|
166
167
|
|
|
167
|
-
GetOrAdd(name: string, valueFactory: Func_2<System_Internal.String, IList_1<System_Internal.String
|
|
168
|
+
GetOrAdd(name: string, valueFactory: Func_2<System_Internal.String, IList_1<System_Internal.String> | null>): IList_1<System_Internal.String> | null;
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
|
|
@@ -201,7 +202,7 @@ export interface StringLocalizer_1$instance<TResourceSource> extends IStringLoca
|
|
|
201
202
|
readonly __tsonic_iface_Microsoft_Extensions_Localization_IStringLocalizer_1: never;
|
|
202
203
|
|
|
203
204
|
get_Item(name: string): LocalizedString;
|
|
204
|
-
get_Item(name: string, ...arguments:
|
|
205
|
+
get_Item(name: string, ...arguments: JsValue[]): LocalizedString;
|
|
205
206
|
GetAllStrings(includeParentCultures: boolean): IEnumerable_1<LocalizedString>;
|
|
206
207
|
}
|
|
207
208
|
|
|
@@ -220,7 +221,7 @@ export type StringLocalizer_1<TResourceSource> = StringLocalizer_1$instance<TRes
|
|
|
220
221
|
|
|
221
222
|
export abstract class StringLocalizerExtensions$instance {
|
|
222
223
|
static GetAllStrings(stringLocalizer: IStringLocalizer): IEnumerable_1<LocalizedString>;
|
|
223
|
-
static GetString(stringLocalizer: IStringLocalizer, name: string, ...arguments:
|
|
224
|
+
static GetString(stringLocalizer: IStringLocalizer, name: string, ...arguments: JsValue[]): LocalizedString;
|
|
224
225
|
static GetString(stringLocalizer: IStringLocalizer, name: string): LocalizedString;
|
|
225
226
|
}
|
|
226
227
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.Extensions.Logging
|
|
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
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, 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
|
// Import types from other namespaces
|
|
9
10
|
import type { IConfiguration } from "../../Microsoft.Extensions.Configuration/internal/index.js";
|
|
@@ -42,8 +43,8 @@ export enum LogLevel {
|
|
|
42
43
|
export interface IExternalScopeProvider$instance {
|
|
43
44
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_IExternalScopeProvider: never;
|
|
44
45
|
|
|
45
|
-
ForEachScope<TState>(callback: Action_2<
|
|
46
|
-
Push(state:
|
|
46
|
+
ForEachScope<TState>(callback: Action_2<JsValue | null, TState>, state: TState): void;
|
|
47
|
+
Push(state: JsValue | null): IDisposable;
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
|
|
@@ -54,7 +55,7 @@ export interface ILogger$instance {
|
|
|
54
55
|
|
|
55
56
|
BeginScope<TState>(state: TState): IDisposable;
|
|
56
57
|
IsEnabled(logLevel: LogLevel): boolean;
|
|
57
|
-
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter: Func_3<TState, Exception, System_Internal.String>): void;
|
|
58
|
+
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception | null, formatter: Func_3<TState, Exception | null, System_Internal.String>): void;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
|
|
@@ -65,7 +66,7 @@ export interface ILogger_1$instance<TCategoryName> extends ILogger {
|
|
|
65
66
|
|
|
66
67
|
BeginScope<TState>(state: TState): IDisposable;
|
|
67
68
|
IsEnabled(logLevel: LogLevel): boolean;
|
|
68
|
-
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception, formatter: Func_3<TState, Exception, System_Internal.String>): void;
|
|
69
|
+
Log<TState>(logLevel: LogLevel, eventId: EventId, state: TState, exception: Exception | null, formatter: Func_3<TState, Exception | null, System_Internal.String>): void;
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
|
|
@@ -120,16 +121,16 @@ export interface EventId$instance {
|
|
|
120
121
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
121
122
|
|
|
122
123
|
readonly Id: int;
|
|
123
|
-
readonly Name: string |
|
|
124
|
+
readonly Name: string | null;
|
|
124
125
|
Equals(other: EventId): boolean;
|
|
125
|
-
Equals(obj:
|
|
126
|
+
Equals(obj: JsValue | null): boolean;
|
|
126
127
|
GetHashCode(): int;
|
|
127
128
|
ToString(): string;
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
|
|
131
132
|
export const EventId: {
|
|
132
|
-
new(id: int, name: string): EventId;
|
|
133
|
+
new(id: int, name: string | null): EventId;
|
|
133
134
|
};
|
|
134
135
|
|
|
135
136
|
|
|
@@ -175,8 +176,8 @@ export interface LoggerExternalScopeProvider$instance extends IExternalScopeProv
|
|
|
175
176
|
|
|
176
177
|
readonly __tsonic_iface_Microsoft_Extensions_Logging_IExternalScopeProvider: never;
|
|
177
178
|
|
|
178
|
-
ForEachScope<TState>(callback: Action_2<
|
|
179
|
-
Push(state:
|
|
179
|
+
ForEachScope<TState>(callback: Action_2<JsValue | null, TState>, state: TState): void;
|
|
180
|
+
Push(state: JsValue | null): IDisposable;
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
|
|
@@ -210,8 +211,8 @@ export const LoggerFactory: {
|
|
|
210
211
|
new(providers: IEnumerable_1<ILoggerProvider>): LoggerFactory;
|
|
211
212
|
new(providers: IEnumerable_1<ILoggerProvider>, filterOptions: LoggerFilterOptions): LoggerFactory;
|
|
212
213
|
new(providers: IEnumerable_1<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>): LoggerFactory;
|
|
213
|
-
new(providers: IEnumerable_1<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>, options: IOptions_1<LoggerFactoryOptions>): LoggerFactory;
|
|
214
|
-
new(providers: IEnumerable_1<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>, options: IOptions_1<LoggerFactoryOptions
|
|
214
|
+
new(providers: IEnumerable_1<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>, options: IOptions_1<LoggerFactoryOptions> | null): LoggerFactory;
|
|
215
|
+
new(providers: IEnumerable_1<ILoggerProvider>, filterOption: IOptionsMonitor_1<LoggerFilterOptions>, options: IOptions_1<LoggerFactoryOptions> | null, scopeProvider: IExternalScopeProvider | null): LoggerFactory;
|
|
215
216
|
Create(configure: Action_1<ILoggingBuilder>): ILoggerFactory;
|
|
216
217
|
};
|
|
217
218
|
|
|
@@ -256,16 +257,16 @@ export type LoggerFilterOptions = LoggerFilterOptions$instance;
|
|
|
256
257
|
export interface LoggerFilterRule$instance {
|
|
257
258
|
readonly __tsonic_type_Microsoft_Extensions_Logging_LoggerFilterRule: never;
|
|
258
259
|
|
|
259
|
-
readonly CategoryName: string |
|
|
260
|
-
readonly Filter: Func_4<string |
|
|
260
|
+
readonly CategoryName: string | null;
|
|
261
|
+
readonly Filter: Func_4<string | null, string | null, LogLevel, System_Internal.Boolean> | null;
|
|
261
262
|
readonly LogLevel: Nullable_1<LogLevel>;
|
|
262
|
-
readonly ProviderName: string |
|
|
263
|
+
readonly ProviderName: string | null;
|
|
263
264
|
ToString(): string;
|
|
264
265
|
}
|
|
265
266
|
|
|
266
267
|
|
|
267
268
|
export const LoggerFilterRule: {
|
|
268
|
-
new(providerName: string, categoryName: string, logLevel: Nullable_1<LogLevel>, filter: Func_4<
|
|
269
|
+
new(providerName: string | null, categoryName: string | null, logLevel: Nullable_1<LogLevel>, filter: Func_4<string | null, string | null, LogLevel, System_Internal.Boolean> | null): LoggerFilterRule;
|
|
269
270
|
};
|
|
270
271
|
|
|
271
272
|
|
|
@@ -275,8 +276,8 @@ export interface LoggerMessageAttribute$instance extends Attribute {
|
|
|
275
276
|
readonly __tsonic_type_Microsoft_Extensions_Logging_LoggerMessageAttribute: never;
|
|
276
277
|
|
|
277
278
|
EventId: int;
|
|
278
|
-
get EventName(): string |
|
|
279
|
-
set EventName(value: string |
|
|
279
|
+
get EventName(): string | null;
|
|
280
|
+
set EventName(value: string | null);
|
|
280
281
|
Level: LogLevel;
|
|
281
282
|
Message: string;
|
|
282
283
|
SkipEnabledCheck: boolean;
|
|
@@ -364,50 +365,50 @@ export type EventSourceLoggerFactoryExtensions = EventSourceLoggerFactoryExtensi
|
|
|
364
365
|
|
|
365
366
|
export abstract class FilterLoggingBuilderExtensions$instance {
|
|
366
367
|
static AddFilter(builder: ILoggingBuilder, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
367
|
-
static AddFilter(builder: ILoggingBuilder, categoryLevelFilter: Func_3<
|
|
368
|
-
static AddFilter(builder: ILoggingBuilder, filter: Func_4<
|
|
369
|
-
static AddFilter(builder: ILoggingBuilder, category: string, level: LogLevel): ILoggingBuilder;
|
|
370
|
-
static AddFilter(builder: ILoggingBuilder, category: string, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
368
|
+
static AddFilter(builder: ILoggingBuilder, categoryLevelFilter: Func_3<string | null, LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
369
|
+
static AddFilter(builder: ILoggingBuilder, filter: Func_4<string | null, string | null, LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
370
|
+
static AddFilter(builder: ILoggingBuilder, category: string | null, level: LogLevel): ILoggingBuilder;
|
|
371
|
+
static AddFilter(builder: ILoggingBuilder, category: string | null, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): ILoggingBuilder;
|
|
371
372
|
static AddFilter(builder: LoggerFilterOptions, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
372
|
-
static AddFilter(builder: LoggerFilterOptions, categoryLevelFilter: Func_3<
|
|
373
|
-
static AddFilter(builder: LoggerFilterOptions, filter: Func_4<
|
|
374
|
-
static AddFilter(builder: LoggerFilterOptions, category: string, level: LogLevel): LoggerFilterOptions;
|
|
375
|
-
static AddFilter(builder: LoggerFilterOptions, category: string, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
373
|
+
static AddFilter(builder: LoggerFilterOptions, categoryLevelFilter: Func_3<string | null, LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
374
|
+
static AddFilter(builder: LoggerFilterOptions, filter: Func_4<string | null, string | null, LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
375
|
+
static AddFilter(builder: LoggerFilterOptions, category: string | null, level: LogLevel): LoggerFilterOptions;
|
|
376
|
+
static AddFilter(builder: LoggerFilterOptions, category: string | null, levelFilter: Func_2<LogLevel, System_Internal.Boolean>): LoggerFilterOptions;
|
|
376
377
|
}
|
|
377
378
|
|
|
378
379
|
|
|
379
380
|
export type FilterLoggingBuilderExtensions = FilterLoggingBuilderExtensions$instance;
|
|
380
381
|
|
|
381
382
|
export abstract class LoggerExtensions$instance {
|
|
382
|
-
static BeginScope(logger: ILogger, messageFormat: string, ...args:
|
|
383
|
-
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, exception: Exception, message: string, ...args:
|
|
384
|
-
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, message: string, ...args:
|
|
385
|
-
static Log(logger: ILogger, logLevel: LogLevel, exception: Exception, message: string, ...args:
|
|
386
|
-
static Log(logger: ILogger, logLevel: LogLevel, message: string, ...args:
|
|
387
|
-
static LogCritical(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args:
|
|
388
|
-
static LogCritical(logger: ILogger, eventId: EventId, message: string, ...args:
|
|
389
|
-
static LogCritical(logger: ILogger, exception: Exception, message: string, ...args:
|
|
390
|
-
static LogCritical(logger: ILogger, message: string, ...args:
|
|
391
|
-
static LogDebug(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args:
|
|
392
|
-
static LogDebug(logger: ILogger, eventId: EventId, message: string, ...args:
|
|
393
|
-
static LogDebug(logger: ILogger, exception: Exception, message: string, ...args:
|
|
394
|
-
static LogDebug(logger: ILogger, message: string, ...args:
|
|
395
|
-
static LogError(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args:
|
|
396
|
-
static LogError(logger: ILogger, eventId: EventId, message: string, ...args:
|
|
397
|
-
static LogError(logger: ILogger, exception: Exception, message: string, ...args:
|
|
398
|
-
static LogError(logger: ILogger, message: string, ...args:
|
|
399
|
-
static LogInformation(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args:
|
|
400
|
-
static LogInformation(logger: ILogger, eventId: EventId, message: string, ...args:
|
|
401
|
-
static LogInformation(logger: ILogger, exception: Exception, message: string, ...args:
|
|
402
|
-
static LogInformation(logger: ILogger, message: string, ...args:
|
|
403
|
-
static LogTrace(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args:
|
|
404
|
-
static LogTrace(logger: ILogger, eventId: EventId, message: string, ...args:
|
|
405
|
-
static LogTrace(logger: ILogger, exception: Exception, message: string, ...args:
|
|
406
|
-
static LogTrace(logger: ILogger, message: string, ...args:
|
|
407
|
-
static LogWarning(logger: ILogger, eventId: EventId, exception: Exception, message: string, ...args:
|
|
408
|
-
static LogWarning(logger: ILogger, eventId: EventId, message: string, ...args:
|
|
409
|
-
static LogWarning(logger: ILogger, exception: Exception, message: string, ...args:
|
|
410
|
-
static LogWarning(logger: ILogger, message: string, ...args:
|
|
383
|
+
static BeginScope(logger: ILogger, messageFormat: string, ...args: (JsValue | null)[]): IDisposable | null;
|
|
384
|
+
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
385
|
+
static Log(logger: ILogger, logLevel: LogLevel, eventId: EventId, message: string | null, ...args: (JsValue | null)[]): void;
|
|
386
|
+
static Log(logger: ILogger, logLevel: LogLevel, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
387
|
+
static Log(logger: ILogger, logLevel: LogLevel, message: string | null, ...args: (JsValue | null)[]): void;
|
|
388
|
+
static LogCritical(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
389
|
+
static LogCritical(logger: ILogger, eventId: EventId, message: string | null, ...args: (JsValue | null)[]): void;
|
|
390
|
+
static LogCritical(logger: ILogger, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
391
|
+
static LogCritical(logger: ILogger, message: string | null, ...args: (JsValue | null)[]): void;
|
|
392
|
+
static LogDebug(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
393
|
+
static LogDebug(logger: ILogger, eventId: EventId, message: string | null, ...args: (JsValue | null)[]): void;
|
|
394
|
+
static LogDebug(logger: ILogger, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
395
|
+
static LogDebug(logger: ILogger, message: string | null, ...args: (JsValue | null)[]): void;
|
|
396
|
+
static LogError(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
397
|
+
static LogError(logger: ILogger, eventId: EventId, message: string | null, ...args: (JsValue | null)[]): void;
|
|
398
|
+
static LogError(logger: ILogger, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
399
|
+
static LogError(logger: ILogger, message: string | null, ...args: (JsValue | null)[]): void;
|
|
400
|
+
static LogInformation(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
401
|
+
static LogInformation(logger: ILogger, eventId: EventId, message: string | null, ...args: (JsValue | null)[]): void;
|
|
402
|
+
static LogInformation(logger: ILogger, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
403
|
+
static LogInformation(logger: ILogger, message: string | null, ...args: (JsValue | null)[]): void;
|
|
404
|
+
static LogTrace(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
405
|
+
static LogTrace(logger: ILogger, eventId: EventId, message: string | null, ...args: (JsValue | null)[]): void;
|
|
406
|
+
static LogTrace(logger: ILogger, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
407
|
+
static LogTrace(logger: ILogger, message: string | null, ...args: (JsValue | null)[]): void;
|
|
408
|
+
static LogWarning(logger: ILogger, eventId: EventId, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
409
|
+
static LogWarning(logger: ILogger, eventId: EventId, message: string | null, ...args: (JsValue | null)[]): void;
|
|
410
|
+
static LogWarning(logger: ILogger, exception: Exception | null, message: string | null, ...args: (JsValue | null)[]): void;
|
|
411
|
+
static LogWarning(logger: ILogger, message: string | null, ...args: (JsValue | null)[]): void;
|
|
411
412
|
}
|
|
412
413
|
|
|
413
414
|
|
|
@@ -422,27 +423,27 @@ export abstract class LoggerFactoryExtensions$instance {
|
|
|
422
423
|
export type LoggerFactoryExtensions = LoggerFactoryExtensions$instance;
|
|
423
424
|
|
|
424
425
|
export abstract class LoggerMessage$instance {
|
|
425
|
-
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_3<ILogger, T1, Exception |
|
|
426
|
-
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_4<ILogger, T1, T2, Exception |
|
|
427
|
-
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_5<ILogger, T1, T2, T3, Exception |
|
|
428
|
-
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_6<ILogger, T1, T2, T3, T4, Exception |
|
|
429
|
-
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_7<ILogger, T1, T2, T3, T4, T5, Exception |
|
|
430
|
-
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_8<ILogger, T1, T2, T3, T4, T5, T6, Exception |
|
|
431
|
-
static Define(logLevel: LogLevel, eventId: EventId, formatString: string, options: LogDefineOptions): Action_2<ILogger, Exception |
|
|
432
|
-
static Define<T1>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_3<ILogger, T1, Exception |
|
|
433
|
-
static Define<T1, T2>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_4<ILogger, T1, T2, Exception |
|
|
434
|
-
static Define<T1, T2, T3>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_5<ILogger, T1, T2, T3, Exception |
|
|
435
|
-
static Define<T1, T2, T3, T4>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_6<ILogger, T1, T2, T3, T4, Exception |
|
|
436
|
-
static Define<T1, T2, T3, T4, T5>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_7<ILogger, T1, T2, T3, T4, T5, Exception |
|
|
437
|
-
static Define<T1, T2, T3, T4, T5, T6>(logLevel: LogLevel, eventId: EventId, formatString: string): Action_8<ILogger, T1, T2, T3, T4, T5, T6, Exception |
|
|
438
|
-
static Define(logLevel: LogLevel, eventId: EventId, formatString: string): Action_2<ILogger, Exception |
|
|
439
|
-
static DefineScope<T1>(formatString: string): Func_3<ILogger, T1, IDisposable |
|
|
440
|
-
static DefineScope<T1, T2>(formatString: string): Func_4<ILogger, T1, T2, IDisposable |
|
|
441
|
-
static DefineScope<T1, T2, T3>(formatString: string): Func_5<ILogger, T1, T2, T3, IDisposable |
|
|
442
|
-
static DefineScope<T1, T2, T3, T4>(formatString: string): Func_6<ILogger, T1, T2, T3, T4, IDisposable |
|
|
443
|
-
static DefineScope<T1, T2, T3, T4, T5>(formatString: string): Func_7<ILogger, T1, T2, T3, T4, T5, IDisposable |
|
|
444
|
-
static DefineScope<T1, T2, T3, T4, T5, T6>(formatString: string): Func_8<ILogger, T1, T2, T3, T4, T5, T6, IDisposable |
|
|
445
|
-
static DefineScope(formatString: string): Func_2<ILogger, IDisposable |
|
|
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>;
|
|
432
|
+
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>;
|
|
439
|
+
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>;
|
|
446
|
+
static DefineScope(formatString: string): Func_2<ILogger, IDisposable | null>;
|
|
446
447
|
}
|
|
447
448
|
|
|
448
449
|
|
|
@@ -756,7 +756,10 @@
|
|
|
756
756
|
"isLiteral": false,
|
|
757
757
|
"visibility": "Public",
|
|
758
758
|
"declaringClrType": "Microsoft.Extensions.Logging.Abstractions.NullLogger\u00601",
|
|
759
|
-
"declaringAssemblyName": "Microsoft.Extensions.Logging.Abstractions"
|
|
759
|
+
"declaringAssemblyName": "Microsoft.Extensions.Logging.Abstractions",
|
|
760
|
+
"emitSemantics": {
|
|
761
|
+
"callableStaticAccessorKind": "field"
|
|
762
|
+
}
|
|
760
763
|
}
|
|
761
764
|
],
|
|
762
765
|
"events": [],
|