@tsonic/microsoft-extensions 10.0.3 → 10.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +27 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +29 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +54 -31
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +141 -70
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +17 -11
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +25 -8
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +24 -7
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +16 -9
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +21 -13
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +6 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +29 -10
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +171 -114
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +18 -18
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +51 -31
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +31 -19
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -1
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +65 -38
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +16 -12
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +15 -11
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +36 -15
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +23 -13
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +16 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +24 -10
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +30 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +47 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +84 -39
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +22 -13
- package/Microsoft.Extensions.Http/internal/index.d.ts +18 -10
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +21 -9
- package/Microsoft.Extensions.Internal/internal/index.d.ts +9 -5
- package/Microsoft.Extensions.Localization/internal/index.d.ts +48 -19
- package/Microsoft.Extensions.Logging/internal/index.d.ts +108 -66
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +41 -22
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +10 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +34 -10
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +8 -5
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +13 -7
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +14 -7
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +9 -6
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +33 -7
- package/Microsoft.Extensions.Options/internal/index.d.ts +257 -128
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +68 -22
- package/Microsoft.Extensions.Primitives.d.ts +3 -0
- package/Microsoft.Extensions.Validation/internal/index.d.ts +41 -21
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -3
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +10 -4
- package/System.Diagnostics/internal/index.d.ts +37 -10
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +146 -70
- package/System.Net.Http/internal/index.d.ts +7 -3
- package/System.Security.Cryptography/internal/index.d.ts +16 -5
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +162 -69
- package/System.Security.Cryptography.Xml/internal/index.d.ts +115 -16
- package/__internal/extensions/index.d.ts +633 -487
- package/package.json +3 -3
package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts
CHANGED
|
@@ -9,16 +9,18 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { DirectoryInfoBase, FileInfoBase, FileSystemInfoBase } from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
|
|
10
10
|
import * as Microsoft_Extensions_FileSystemGlobbing_Internal_Internal from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
|
|
11
11
|
import type { ILinearPattern, IPathSegment, IPatternContext, IRaggedPattern, PatternTestResult } from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
|
|
12
|
-
import type {
|
|
13
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
14
|
-
import type {
|
|
12
|
+
import type { IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { Action_2, Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
15
|
|
|
16
16
|
export interface PatternContextLinear_FrameData$instance {
|
|
17
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinear_FrameData: never;
|
|
18
|
+
|
|
17
19
|
IsNotApplicable: boolean;
|
|
18
20
|
SegmentIndex: int;
|
|
19
21
|
InStem: boolean;
|
|
20
22
|
readonly Stem: string | undefined;
|
|
21
|
-
readonly StemItems:
|
|
23
|
+
readonly StemItems: IList_1<System_Internal.String>;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
|
|
@@ -30,14 +32,16 @@ export const PatternContextLinear_FrameData: {
|
|
|
30
32
|
export type PatternContextLinear_FrameData = PatternContextLinear_FrameData$instance;
|
|
31
33
|
|
|
32
34
|
export interface PatternContextRagged_FrameData$instance {
|
|
35
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRagged_FrameData: never;
|
|
36
|
+
|
|
33
37
|
IsNotApplicable: boolean;
|
|
34
38
|
SegmentGroupIndex: int;
|
|
35
|
-
SegmentGroup:
|
|
39
|
+
SegmentGroup: IList_1<IPathSegment>;
|
|
36
40
|
BacktrackAvailable: int;
|
|
37
41
|
SegmentIndex: int;
|
|
38
42
|
InStem: boolean;
|
|
39
43
|
readonly Stem: string | undefined;
|
|
40
|
-
readonly StemItems:
|
|
44
|
+
readonly StemItems: IList_1<System_Internal.String>;
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
|
|
@@ -49,7 +53,11 @@ export const PatternContextRagged_FrameData: {
|
|
|
49
53
|
export type PatternContextRagged_FrameData = PatternContextRagged_FrameData$instance;
|
|
50
54
|
|
|
51
55
|
export interface PatternContext_1$instance<TFrame extends unknown> {
|
|
52
|
-
|
|
56
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContext_1: never;
|
|
57
|
+
|
|
58
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
59
|
+
|
|
60
|
+
Declare(declare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
53
61
|
PopDirectory(): void;
|
|
54
62
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
55
63
|
Test(file: FileInfoBase): PatternTestResult;
|
|
@@ -69,7 +77,11 @@ export type PatternContext_1<TFrame> = PatternContext_1$instance<TFrame> & __Pat
|
|
|
69
77
|
|
|
70
78
|
|
|
71
79
|
export interface PatternContextLinear$instance extends PatternContext_1$instance<PatternContextLinear_FrameData> {
|
|
72
|
-
|
|
80
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinear: never;
|
|
81
|
+
|
|
82
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
83
|
+
|
|
84
|
+
Declare(declare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
73
85
|
PopDirectory(): void;
|
|
74
86
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
75
87
|
Test(file: FileInfoBase): PatternTestResult;
|
|
@@ -89,7 +101,11 @@ export type PatternContextLinear = PatternContextLinear$instance & __PatternCont
|
|
|
89
101
|
|
|
90
102
|
|
|
91
103
|
export interface PatternContextLinearExclude$instance extends PatternContextLinear$instance {
|
|
92
|
-
|
|
104
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinearExclude: never;
|
|
105
|
+
|
|
106
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
107
|
+
|
|
108
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
93
109
|
PopDirectory(): void;
|
|
94
110
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
95
111
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -110,8 +126,12 @@ export type PatternContextLinearExclude = PatternContextLinearExclude$instance &
|
|
|
110
126
|
|
|
111
127
|
|
|
112
128
|
export interface PatternContextLinearInclude$instance extends PatternContextLinear$instance {
|
|
113
|
-
|
|
114
|
-
|
|
129
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinearInclude: never;
|
|
130
|
+
|
|
131
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
132
|
+
|
|
133
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
134
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
115
135
|
PopDirectory(): void;
|
|
116
136
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
117
137
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -132,7 +152,11 @@ export type PatternContextLinearInclude = PatternContextLinearInclude$instance &
|
|
|
132
152
|
|
|
133
153
|
|
|
134
154
|
export interface PatternContextRagged$instance extends PatternContext_1$instance<PatternContextRagged_FrameData> {
|
|
135
|
-
|
|
155
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRagged: never;
|
|
156
|
+
|
|
157
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
158
|
+
|
|
159
|
+
Declare(declare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
136
160
|
PopDirectory(): void;
|
|
137
161
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
138
162
|
Test(file: FileInfoBase): PatternTestResult;
|
|
@@ -152,7 +176,11 @@ export type PatternContextRagged = PatternContextRagged$instance & __PatternCont
|
|
|
152
176
|
|
|
153
177
|
|
|
154
178
|
export interface PatternContextRaggedExclude$instance extends PatternContextRagged$instance {
|
|
155
|
-
|
|
179
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRaggedExclude: never;
|
|
180
|
+
|
|
181
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
182
|
+
|
|
183
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
156
184
|
PopDirectory(): void;
|
|
157
185
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
158
186
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -173,8 +201,12 @@ export type PatternContextRaggedExclude = PatternContextRaggedExclude$instance &
|
|
|
173
201
|
|
|
174
202
|
|
|
175
203
|
export interface PatternContextRaggedInclude$instance extends PatternContextRagged$instance {
|
|
176
|
-
|
|
177
|
-
|
|
204
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRaggedInclude: never;
|
|
205
|
+
|
|
206
|
+
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
207
|
+
|
|
208
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
209
|
+
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
178
210
|
PopDirectory(): void;
|
|
179
211
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
180
212
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -7,10 +7,12 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { IPattern } from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
|
|
10
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
11
|
-
import type { Object as ClrObject, String as ClrString, StringComparison } from "@tsonic/dotnet/System.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { Object as ClrObject, String as ClrString, StringComparison } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
12
|
|
|
13
13
|
export interface PatternBuilder$instance {
|
|
14
|
+
readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_Patterns_PatternBuilder: never;
|
|
15
|
+
|
|
14
16
|
readonly ComparisonType: StringComparison;
|
|
15
17
|
Build(pattern: string): IPattern;
|
|
16
18
|
}
|
|
@@ -11,13 +11,13 @@ import type { IServiceCollection, IServiceProviderFactory_1, ServiceProviderOpti
|
|
|
11
11
|
import type { IMetricsBuilder } from "../../Microsoft.Extensions.Diagnostics.Metrics/internal/index.js";
|
|
12
12
|
import type { IFileProvider } from "../../Microsoft.Extensions.FileProviders/internal/index.js";
|
|
13
13
|
import type { ILoggingBuilder } from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
14
|
-
import type {
|
|
15
|
-
import * as
|
|
16
|
-
import type {
|
|
17
|
-
import
|
|
18
|
-
import type {
|
|
19
|
-
import
|
|
20
|
-
import type {
|
|
14
|
+
import type { IDictionary_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
15
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
16
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
17
|
+
import type { Task, Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
18
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
19
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
20
|
+
import type { Action_1, Action_2, Boolean as ClrBoolean, Enum, Exception, Func_2, IComparable, IConvertible, IDisposable, IFormattable, Int32, IServiceProvider, ISpanFormattable, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
21
21
|
|
|
22
22
|
export enum BackgroundServiceExceptionBehavior {
|
|
23
23
|
StopHost = 0,
|
|
@@ -26,6 +26,8 @@ export enum BackgroundServiceExceptionBehavior {
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
export interface IApplicationLifetime$instance {
|
|
29
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IApplicationLifetime: never;
|
|
30
|
+
|
|
29
31
|
readonly ApplicationStarted: CancellationToken;
|
|
30
32
|
readonly ApplicationStopping: CancellationToken;
|
|
31
33
|
readonly ApplicationStopped: CancellationToken;
|
|
@@ -36,27 +38,35 @@ export interface IApplicationLifetime$instance {
|
|
|
36
38
|
export type IApplicationLifetime = IApplicationLifetime$instance;
|
|
37
39
|
|
|
38
40
|
export interface IHost$instance extends IDisposable {
|
|
41
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHost: never;
|
|
42
|
+
|
|
39
43
|
readonly Services: IServiceProvider;
|
|
40
44
|
StartAsync(cancellationToken?: CancellationToken): Task;
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
|
|
48
|
+
export interface IHost$instance extends System_Internal.IDisposable {}
|
|
49
|
+
|
|
44
50
|
export type IHost = IHost$instance;
|
|
45
51
|
|
|
46
52
|
export interface IHostApplicationBuilder$instance {
|
|
47
|
-
readonly
|
|
53
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostApplicationBuilder: never;
|
|
54
|
+
|
|
55
|
+
readonly Properties: IDictionary_2<unknown, unknown>;
|
|
48
56
|
readonly Configuration: IConfigurationManager;
|
|
49
57
|
readonly Environment: IHostEnvironment;
|
|
50
58
|
readonly Logging: ILoggingBuilder;
|
|
51
59
|
readonly Metrics: IMetricsBuilder;
|
|
52
60
|
readonly Services: IServiceCollection;
|
|
53
|
-
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?:
|
|
61
|
+
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder>): void;
|
|
54
62
|
}
|
|
55
63
|
|
|
56
64
|
|
|
57
65
|
export type IHostApplicationBuilder = IHostApplicationBuilder$instance;
|
|
58
66
|
|
|
59
67
|
export interface IHostApplicationLifetime$instance {
|
|
68
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostApplicationLifetime: never;
|
|
69
|
+
|
|
60
70
|
readonly ApplicationStarted: CancellationToken;
|
|
61
71
|
readonly ApplicationStopping: CancellationToken;
|
|
62
72
|
readonly ApplicationStopped: CancellationToken;
|
|
@@ -67,11 +77,13 @@ export interface IHostApplicationLifetime$instance {
|
|
|
67
77
|
export type IHostApplicationLifetime = IHostApplicationLifetime$instance;
|
|
68
78
|
|
|
69
79
|
export interface IHostBuilder$instance {
|
|
70
|
-
readonly
|
|
80
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostBuilder: never;
|
|
81
|
+
|
|
82
|
+
readonly Properties: IDictionary_2<unknown, unknown>;
|
|
71
83
|
Build(): IHost;
|
|
72
|
-
ConfigureAppConfiguration(configureDelegate:
|
|
73
|
-
ConfigureHostConfiguration(configureDelegate:
|
|
74
|
-
UseServiceProviderFactory<TContainerBuilder>(factory:
|
|
84
|
+
ConfigureAppConfiguration(configureDelegate: Action_2<HostBuilderContext, IConfigurationBuilder>): IHostBuilder;
|
|
85
|
+
ConfigureHostConfiguration(configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
|
|
86
|
+
UseServiceProviderFactory<TContainerBuilder>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
|
|
75
87
|
UseServiceProviderFactory<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
|
|
76
88
|
}
|
|
77
89
|
|
|
@@ -79,6 +91,8 @@ export interface IHostBuilder$instance {
|
|
|
79
91
|
export type IHostBuilder = IHostBuilder$instance;
|
|
80
92
|
|
|
81
93
|
export interface IHostedLifecycleService$instance extends IHostedService {
|
|
94
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostedLifecycleService: never;
|
|
95
|
+
|
|
82
96
|
StartingAsync(cancellationToken: CancellationToken): Task;
|
|
83
97
|
StartAsync(cancellationToken: CancellationToken): Task;
|
|
84
98
|
}
|
|
@@ -89,6 +103,8 @@ export interface IHostedLifecycleService$instance extends IHostedService$instanc
|
|
|
89
103
|
export type IHostedLifecycleService = IHostedLifecycleService$instance;
|
|
90
104
|
|
|
91
105
|
export interface IHostedService$instance {
|
|
106
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostedService: never;
|
|
107
|
+
|
|
92
108
|
StartAsync(cancellationToken: CancellationToken): Task;
|
|
93
109
|
}
|
|
94
110
|
|
|
@@ -96,6 +112,8 @@ export interface IHostedService$instance {
|
|
|
96
112
|
export type IHostedService = IHostedService$instance;
|
|
97
113
|
|
|
98
114
|
export interface IHostEnvironment$instance {
|
|
115
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostEnvironment: never;
|
|
116
|
+
|
|
99
117
|
EnvironmentName: string;
|
|
100
118
|
ApplicationName: string;
|
|
101
119
|
ContentRootPath: string;
|
|
@@ -106,6 +124,8 @@ export interface IHostEnvironment$instance {
|
|
|
106
124
|
export type IHostEnvironment = IHostEnvironment$instance;
|
|
107
125
|
|
|
108
126
|
export interface IHostingEnvironment$instance {
|
|
127
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostingEnvironment: never;
|
|
128
|
+
|
|
109
129
|
EnvironmentName: string;
|
|
110
130
|
ApplicationName: string;
|
|
111
131
|
ContentRootPath: string;
|
|
@@ -116,13 +136,20 @@ export interface IHostingEnvironment$instance {
|
|
|
116
136
|
export type IHostingEnvironment = IHostingEnvironment$instance;
|
|
117
137
|
|
|
118
138
|
export interface IHostLifetime$instance {
|
|
139
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostLifetime: never;
|
|
140
|
+
|
|
119
141
|
WaitForStartAsync(cancellationToken: CancellationToken): Task;
|
|
120
142
|
}
|
|
121
143
|
|
|
122
144
|
|
|
123
145
|
export type IHostLifetime = IHostLifetime$instance;
|
|
124
146
|
|
|
125
|
-
export interface BackgroundService$instance {
|
|
147
|
+
export interface BackgroundService$instance extends IHostedService$instance, System_Internal.IDisposable {
|
|
148
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_BackgroundService: never;
|
|
149
|
+
|
|
150
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostedService: never;
|
|
151
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
152
|
+
|
|
126
153
|
readonly ExecuteTask: Task | undefined;
|
|
127
154
|
Dispose(): void;
|
|
128
155
|
ExecuteAsync(stoppingToken: CancellationToken): Task;
|
|
@@ -139,12 +166,12 @@ export interface __BackgroundService$views {
|
|
|
139
166
|
As_IHostedService(): IHostedService$instance;
|
|
140
167
|
}
|
|
141
168
|
|
|
142
|
-
export interface BackgroundService$instance extends IHostedService$instance {}
|
|
143
|
-
|
|
144
169
|
export type BackgroundService = BackgroundService$instance & __BackgroundService$views;
|
|
145
170
|
|
|
146
171
|
|
|
147
172
|
export interface ConsoleLifetimeOptions$instance {
|
|
173
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_ConsoleLifetimeOptions: never;
|
|
174
|
+
|
|
148
175
|
SuppressStatusMessages: boolean;
|
|
149
176
|
}
|
|
150
177
|
|
|
@@ -157,6 +184,10 @@ export const ConsoleLifetimeOptions: {
|
|
|
157
184
|
export type ConsoleLifetimeOptions = ConsoleLifetimeOptions$instance;
|
|
158
185
|
|
|
159
186
|
export interface HostAbortedException$instance extends Exception {
|
|
187
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_HostAbortedException: never;
|
|
188
|
+
|
|
189
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
190
|
+
|
|
160
191
|
}
|
|
161
192
|
|
|
162
193
|
|
|
@@ -170,13 +201,17 @@ export const HostAbortedException: {
|
|
|
170
201
|
export type HostAbortedException = HostAbortedException$instance;
|
|
171
202
|
|
|
172
203
|
export interface HostApplicationBuilder$instance {
|
|
204
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_HostApplicationBuilder: never;
|
|
205
|
+
|
|
206
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostApplicationBuilder: never;
|
|
207
|
+
|
|
173
208
|
readonly Configuration: ConfigurationManager;
|
|
174
209
|
readonly Environment: IHostEnvironment;
|
|
175
210
|
readonly Logging: ILoggingBuilder;
|
|
176
211
|
readonly Metrics: IMetricsBuilder;
|
|
177
212
|
readonly Services: IServiceCollection;
|
|
178
213
|
Build(): IHost;
|
|
179
|
-
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?:
|
|
214
|
+
ConfigureContainer<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder>): void;
|
|
180
215
|
}
|
|
181
216
|
|
|
182
217
|
|
|
@@ -195,6 +230,8 @@ export type HostApplicationBuilder = HostApplicationBuilder$instance & __HostApp
|
|
|
195
230
|
|
|
196
231
|
|
|
197
232
|
export interface HostApplicationBuilderSettings$instance {
|
|
233
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_HostApplicationBuilderSettings: never;
|
|
234
|
+
|
|
198
235
|
get ApplicationName(): string | undefined;
|
|
199
236
|
set ApplicationName(value: string | undefined);
|
|
200
237
|
get Args(): string[] | undefined;
|
|
@@ -217,14 +254,18 @@ export const HostApplicationBuilderSettings: {
|
|
|
217
254
|
export type HostApplicationBuilderSettings = HostApplicationBuilderSettings$instance;
|
|
218
255
|
|
|
219
256
|
export interface HostBuilder$instance {
|
|
220
|
-
readonly
|
|
257
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_HostBuilder: never;
|
|
258
|
+
|
|
259
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostBuilder: never;
|
|
260
|
+
|
|
261
|
+
readonly Properties: IDictionary_2<unknown, unknown>;
|
|
221
262
|
Build(): IHost;
|
|
222
|
-
ConfigureAppConfiguration(configureDelegate:
|
|
223
|
-
ConfigureContainer<TContainerBuilder>(configureDelegate:
|
|
224
|
-
ConfigureHostConfiguration(configureDelegate:
|
|
225
|
-
ConfigureServices(configureDelegate:
|
|
263
|
+
ConfigureAppConfiguration(configureDelegate: Action_2<HostBuilderContext, IConfigurationBuilder>): IHostBuilder;
|
|
264
|
+
ConfigureContainer<TContainerBuilder>(configureDelegate: Action_2<HostBuilderContext, TContainerBuilder>): IHostBuilder;
|
|
265
|
+
ConfigureHostConfiguration(configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
|
|
266
|
+
ConfigureServices(configureDelegate: Action_2<HostBuilderContext, IServiceCollection>): IHostBuilder;
|
|
226
267
|
UseServiceProviderFactory<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
|
|
227
|
-
UseServiceProviderFactory<TContainerBuilder>(factory:
|
|
268
|
+
UseServiceProviderFactory<TContainerBuilder>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
|
|
228
269
|
}
|
|
229
270
|
|
|
230
271
|
|
|
@@ -241,20 +282,24 @@ export type HostBuilder = HostBuilder$instance & __HostBuilder$views;
|
|
|
241
282
|
|
|
242
283
|
|
|
243
284
|
export interface HostBuilderContext$instance {
|
|
285
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_HostBuilderContext: never;
|
|
286
|
+
|
|
244
287
|
Configuration: IConfiguration;
|
|
245
288
|
HostingEnvironment: IHostEnvironment;
|
|
246
|
-
readonly Properties:
|
|
289
|
+
readonly Properties: IDictionary_2<unknown, unknown>;
|
|
247
290
|
}
|
|
248
291
|
|
|
249
292
|
|
|
250
293
|
export const HostBuilderContext: {
|
|
251
|
-
new(properties:
|
|
294
|
+
new(properties: IDictionary_2<unknown, unknown>): HostBuilderContext;
|
|
252
295
|
};
|
|
253
296
|
|
|
254
297
|
|
|
255
298
|
export type HostBuilderContext = HostBuilderContext$instance;
|
|
256
299
|
|
|
257
300
|
export interface HostOptions$instance {
|
|
301
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_HostOptions: never;
|
|
302
|
+
|
|
258
303
|
BackgroundServiceExceptionBehavior: BackgroundServiceExceptionBehavior;
|
|
259
304
|
ServicesStartConcurrently: boolean;
|
|
260
305
|
ServicesStopConcurrently: boolean;
|
|
@@ -321,7 +366,7 @@ export type HostEnvironmentEnvExtensions = HostEnvironmentEnvExtensions$instance
|
|
|
321
366
|
|
|
322
367
|
export abstract class HostingAbstractionsHostBuilderExtensions$instance {
|
|
323
368
|
static Start(hostBuilder: IHostBuilder): IHost;
|
|
324
|
-
static StartAsync(hostBuilder: IHostBuilder, cancellationToken?: CancellationToken):
|
|
369
|
+
static StartAsync(hostBuilder: IHostBuilder, cancellationToken?: CancellationToken): Task_1<IHost>;
|
|
325
370
|
}
|
|
326
371
|
|
|
327
372
|
|
|
@@ -350,23 +395,23 @@ export abstract class HostingEnvironmentExtensions$instance {
|
|
|
350
395
|
export type HostingEnvironmentExtensions = HostingEnvironmentExtensions$instance;
|
|
351
396
|
|
|
352
397
|
export abstract class HostingHostBuilderExtensions$instance {
|
|
353
|
-
static ConfigureAppConfiguration(hostBuilder: IHostBuilder, configureDelegate:
|
|
354
|
-
static ConfigureContainer<TContainerBuilder>(hostBuilder: IHostBuilder, configureDelegate:
|
|
398
|
+
static ConfigureAppConfiguration(hostBuilder: IHostBuilder, configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
|
|
399
|
+
static ConfigureContainer<TContainerBuilder>(hostBuilder: IHostBuilder, configureDelegate: Action_1<TContainerBuilder>): IHostBuilder;
|
|
355
400
|
static ConfigureDefaults(builder: IHostBuilder, args: string[]): IHostBuilder;
|
|
356
|
-
static ConfigureHostOptions(hostBuilder: IHostBuilder, configureOptions:
|
|
357
|
-
static ConfigureHostOptions(hostBuilder: IHostBuilder, configureOptions:
|
|
358
|
-
static ConfigureLogging(hostBuilder: IHostBuilder, configureLogging:
|
|
359
|
-
static ConfigureLogging(hostBuilder: IHostBuilder, configureLogging:
|
|
360
|
-
static ConfigureMetrics(hostBuilder: IHostBuilder, configureMetrics:
|
|
361
|
-
static ConfigureMetrics(hostBuilder: IHostBuilder, configureMetrics:
|
|
362
|
-
static ConfigureServices(hostBuilder: IHostBuilder, configureDelegate:
|
|
363
|
-
static RunConsoleAsync(hostBuilder: IHostBuilder, configureOptions:
|
|
401
|
+
static ConfigureHostOptions(hostBuilder: IHostBuilder, configureOptions: Action_1<HostOptions>): IHostBuilder;
|
|
402
|
+
static ConfigureHostOptions(hostBuilder: IHostBuilder, configureOptions: Action_2<HostBuilderContext, HostOptions>): IHostBuilder;
|
|
403
|
+
static ConfigureLogging(hostBuilder: IHostBuilder, configureLogging: Action_1<ILoggingBuilder>): IHostBuilder;
|
|
404
|
+
static ConfigureLogging(hostBuilder: IHostBuilder, configureLogging: Action_2<HostBuilderContext, ILoggingBuilder>): IHostBuilder;
|
|
405
|
+
static ConfigureMetrics(hostBuilder: IHostBuilder, configureMetrics: Action_1<IMetricsBuilder>): IHostBuilder;
|
|
406
|
+
static ConfigureMetrics(hostBuilder: IHostBuilder, configureMetrics: Action_2<HostBuilderContext, IMetricsBuilder>): IHostBuilder;
|
|
407
|
+
static ConfigureServices(hostBuilder: IHostBuilder, configureDelegate: Action_1<IServiceCollection>): IHostBuilder;
|
|
408
|
+
static RunConsoleAsync(hostBuilder: IHostBuilder, configureOptions: Action_1<ConsoleLifetimeOptions>, cancellationToken?: CancellationToken): Task;
|
|
364
409
|
static RunConsoleAsync(hostBuilder: IHostBuilder, cancellationToken?: CancellationToken): Task;
|
|
365
|
-
static UseConsoleLifetime(hostBuilder: IHostBuilder, configureOptions:
|
|
410
|
+
static UseConsoleLifetime(hostBuilder: IHostBuilder, configureOptions: Action_1<ConsoleLifetimeOptions>): IHostBuilder;
|
|
366
411
|
static UseConsoleLifetime(hostBuilder: IHostBuilder): IHostBuilder;
|
|
367
412
|
static UseContentRoot(hostBuilder: IHostBuilder, contentRoot: string): IHostBuilder;
|
|
368
|
-
static UseDefaultServiceProvider(hostBuilder: IHostBuilder, configure:
|
|
369
|
-
static UseDefaultServiceProvider(hostBuilder: IHostBuilder, configure:
|
|
413
|
+
static UseDefaultServiceProvider(hostBuilder: IHostBuilder, configure: Action_1<ServiceProviderOptions>): IHostBuilder;
|
|
414
|
+
static UseDefaultServiceProvider(hostBuilder: IHostBuilder, configure: Action_2<HostBuilderContext, ServiceProviderOptions>): IHostBuilder;
|
|
370
415
|
static UseEnvironment(hostBuilder: IHostBuilder, environment: string): IHostBuilder;
|
|
371
416
|
}
|
|
372
417
|
|
|
@@ -11,12 +11,17 @@ import * as Microsoft_Extensions_Hosting_Internal from "../../Microsoft.Extensio
|
|
|
11
11
|
import type { ConsoleLifetimeOptions, HostOptions, IApplicationLifetime, IHostApplicationLifetime, IHostEnvironment, IHostingEnvironment, IHostLifetime } from "../../Microsoft.Extensions.Hosting/internal/index.js";
|
|
12
12
|
import type { ILogger_1, ILoggerFactory } from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
13
13
|
import type { IOptions_1 } from "../../Microsoft.Extensions.Options/internal/index.js";
|
|
14
|
-
import
|
|
15
|
-
import type {
|
|
16
|
-
import
|
|
17
|
-
import type {
|
|
14
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
15
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
16
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
17
|
+
import type { IDisposable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
18
|
+
|
|
19
|
+
export interface ApplicationLifetime$instance extends Microsoft_Extensions_Hosting_Internal.IApplicationLifetime$instance, Microsoft_Extensions_Hosting_Internal.IHostApplicationLifetime$instance {
|
|
20
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_Internal_ApplicationLifetime: never;
|
|
21
|
+
|
|
22
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IApplicationLifetime: never;
|
|
23
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostApplicationLifetime: never;
|
|
18
24
|
|
|
19
|
-
export interface ApplicationLifetime$instance {
|
|
20
25
|
readonly ApplicationStarted: CancellationToken;
|
|
21
26
|
readonly ApplicationStopped: CancellationToken;
|
|
22
27
|
readonly ApplicationStopping: CancellationToken;
|
|
@@ -36,12 +41,15 @@ export interface __ApplicationLifetime$views {
|
|
|
36
41
|
As_IHostApplicationLifetime(): Microsoft_Extensions_Hosting_Internal.IHostApplicationLifetime$instance;
|
|
37
42
|
}
|
|
38
43
|
|
|
39
|
-
export interface ApplicationLifetime$instance extends Microsoft_Extensions_Hosting_Internal.IApplicationLifetime$instance, Microsoft_Extensions_Hosting_Internal.IHostApplicationLifetime$instance {}
|
|
40
|
-
|
|
41
44
|
export type ApplicationLifetime = ApplicationLifetime$instance & __ApplicationLifetime$views;
|
|
42
45
|
|
|
43
46
|
|
|
44
|
-
export interface ConsoleLifetime$instance {
|
|
47
|
+
export interface ConsoleLifetime$instance extends Microsoft_Extensions_Hosting_Internal.IHostLifetime$instance, System_Internal.IDisposable {
|
|
48
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_Internal_ConsoleLifetime: never;
|
|
49
|
+
|
|
50
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostLifetime: never;
|
|
51
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
52
|
+
|
|
45
53
|
Dispose(): void;
|
|
46
54
|
StopAsync(cancellationToken: CancellationToken): Task;
|
|
47
55
|
WaitForStartAsync(cancellationToken: CancellationToken): Task;
|
|
@@ -58,12 +66,15 @@ export interface __ConsoleLifetime$views {
|
|
|
58
66
|
As_IHostLifetime(): Microsoft_Extensions_Hosting_Internal.IHostLifetime$instance;
|
|
59
67
|
}
|
|
60
68
|
|
|
61
|
-
export interface ConsoleLifetime$instance extends Microsoft_Extensions_Hosting_Internal.IHostLifetime$instance {}
|
|
62
|
-
|
|
63
69
|
export type ConsoleLifetime = ConsoleLifetime$instance & __ConsoleLifetime$views;
|
|
64
70
|
|
|
65
71
|
|
|
66
|
-
export interface HostingEnvironment$instance {
|
|
72
|
+
export interface HostingEnvironment$instance extends Microsoft_Extensions_Hosting_Internal.IHostEnvironment$instance, Microsoft_Extensions_Hosting_Internal.IHostingEnvironment$instance {
|
|
73
|
+
readonly __tsonic_type_Microsoft_Extensions_Hosting_Internal_HostingEnvironment: never;
|
|
74
|
+
|
|
75
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostEnvironment: never;
|
|
76
|
+
readonly __tsonic_iface_Microsoft_Extensions_Hosting_IHostingEnvironment: never;
|
|
77
|
+
|
|
67
78
|
ApplicationName: string;
|
|
68
79
|
ContentRootFileProvider: IFileProvider;
|
|
69
80
|
ContentRootPath: string;
|
|
@@ -81,8 +92,6 @@ export interface __HostingEnvironment$views {
|
|
|
81
92
|
As_IHostingEnvironment(): Microsoft_Extensions_Hosting_Internal.IHostingEnvironment$instance;
|
|
82
93
|
}
|
|
83
94
|
|
|
84
|
-
export interface HostingEnvironment$instance extends Microsoft_Extensions_Hosting_Internal.IHostEnvironment$instance, Microsoft_Extensions_Hosting_Internal.IHostingEnvironment$instance {}
|
|
85
|
-
|
|
86
95
|
export type HostingEnvironment = HostingEnvironment$instance & __HostingEnvironment$views;
|
|
87
96
|
|
|
88
97
|
|
|
@@ -6,19 +6,23 @@
|
|
|
6
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';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import type {
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import type {
|
|
9
|
+
import type { IEnumerable_1, IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
10
|
+
import type { DelegatingHandler, HttpClient, HttpMessageHandler } from "@tsonic/dotnet/System.Net.Http/internal/index.js";
|
|
11
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { Action_1, Boolean as ClrBoolean, Func_2, IServiceProvider, Object as ClrObject, String as ClrString, TimeSpan } from "@tsonic/dotnet/System/internal/index.js";
|
|
13
13
|
|
|
14
14
|
export interface IHttpMessageHandlerBuilderFilter$instance {
|
|
15
|
-
|
|
15
|
+
readonly __tsonic_iface_Microsoft_Extensions_Http_IHttpMessageHandlerBuilderFilter: never;
|
|
16
|
+
|
|
17
|
+
Configure(next: Action_1<HttpMessageHandlerBuilder>): Action_1<HttpMessageHandlerBuilder>;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
export type IHttpMessageHandlerBuilderFilter = IHttpMessageHandlerBuilderFilter$instance;
|
|
20
22
|
|
|
21
23
|
export interface ITypedHttpClientFactory_1$instance<TClient> {
|
|
24
|
+
readonly __tsonic_iface_Microsoft_Extensions_Http_ITypedHttpClientFactory_1: never;
|
|
25
|
+
|
|
22
26
|
CreateClient(httpClient: HttpClient): TClient;
|
|
23
27
|
}
|
|
24
28
|
|
|
@@ -26,10 +30,12 @@ export interface ITypedHttpClientFactory_1$instance<TClient> {
|
|
|
26
30
|
export type ITypedHttpClientFactory_1<TClient> = ITypedHttpClientFactory_1$instance<TClient>;
|
|
27
31
|
|
|
28
32
|
export interface HttpClientFactoryOptions$instance {
|
|
33
|
+
readonly __tsonic_type_Microsoft_Extensions_Http_HttpClientFactoryOptions: never;
|
|
34
|
+
|
|
29
35
|
HandlerLifetime: TimeSpan;
|
|
30
|
-
readonly HttpClientActions:
|
|
31
|
-
readonly HttpMessageHandlerBuilderActions:
|
|
32
|
-
ShouldRedactHeaderValue:
|
|
36
|
+
readonly HttpClientActions: IList_1<Action_1<HttpClient>>;
|
|
37
|
+
readonly HttpMessageHandlerBuilderActions: IList_1<Action_1<HttpMessageHandlerBuilder>>;
|
|
38
|
+
ShouldRedactHeaderValue: Func_2<System_Internal.String, System_Internal.Boolean>;
|
|
33
39
|
SuppressHandlerScope: boolean;
|
|
34
40
|
}
|
|
35
41
|
|
|
@@ -42,7 +48,9 @@ export const HttpClientFactoryOptions: {
|
|
|
42
48
|
export type HttpClientFactoryOptions = HttpClientFactoryOptions$instance;
|
|
43
49
|
|
|
44
50
|
export interface HttpMessageHandlerBuilder$instance {
|
|
45
|
-
readonly
|
|
51
|
+
readonly __tsonic_type_Microsoft_Extensions_Http_HttpMessageHandlerBuilder: never;
|
|
52
|
+
|
|
53
|
+
readonly AdditionalHandlers: IList_1<DelegatingHandler>;
|
|
46
54
|
get Name(): string | undefined;
|
|
47
55
|
set Name(value: string | undefined);
|
|
48
56
|
PrimaryHandler: HttpMessageHandler;
|
|
@@ -52,7 +60,7 @@ export interface HttpMessageHandlerBuilder$instance {
|
|
|
52
60
|
|
|
53
61
|
|
|
54
62
|
export const HttpMessageHandlerBuilder: (abstract new() => HttpMessageHandlerBuilder) & {
|
|
55
|
-
CreateHandlerPipeline(primaryHandler: HttpMessageHandler, additionalHandlers:
|
|
63
|
+
CreateHandlerPipeline(primaryHandler: HttpMessageHandler, additionalHandlers: IEnumerable_1<DelegatingHandler>): HttpMessageHandler;
|
|
56
64
|
};
|
|
57
65
|
|
|
58
66
|
|
|
@@ -8,18 +8,20 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { HttpClientFactoryOptions } from "../../Microsoft.Extensions.Http/internal/index.js";
|
|
10
10
|
import type { ILogger } from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
11
|
-
import * as
|
|
12
|
-
import type {
|
|
13
|
-
import
|
|
14
|
-
import type {
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
11
|
+
import * as System_Net_Http_Internal from "@tsonic/dotnet/System.Net.Http/internal/index.js";
|
|
12
|
+
import type { DelegatingHandler, HttpRequestMessage, HttpResponseMessage } from "@tsonic/dotnet/System.Net.Http/internal/index.js";
|
|
13
|
+
import type { Task_1, ValueTask, ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
14
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
15
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
16
|
+
import type { Exception, IDisposable, Object as ClrObject, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
17
17
|
|
|
18
18
|
export interface IHttpClientAsyncLogger$instance extends IHttpClientLogger {
|
|
19
|
+
readonly __tsonic_iface_Microsoft_Extensions_Http_Logging_IHttpClientAsyncLogger: never;
|
|
20
|
+
|
|
19
21
|
LogRequestFailed(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, exception: Exception, elapsed: TimeSpan): void;
|
|
20
22
|
LogRequestFailedAsync(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, exception: Exception, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
|
|
21
23
|
LogRequestStart(request: HttpRequestMessage): unknown | undefined;
|
|
22
|
-
LogRequestStartAsync(request: HttpRequestMessage, cancellationToken?: CancellationToken):
|
|
24
|
+
LogRequestStartAsync(request: HttpRequestMessage, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|
|
23
25
|
LogRequestStop(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
|
|
24
26
|
LogRequestStopAsync(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
|
|
25
27
|
}
|
|
@@ -30,6 +32,8 @@ export interface IHttpClientAsyncLogger$instance extends IHttpClientLogger$insta
|
|
|
30
32
|
export type IHttpClientAsyncLogger = IHttpClientAsyncLogger$instance;
|
|
31
33
|
|
|
32
34
|
export interface IHttpClientLogger$instance {
|
|
35
|
+
readonly __tsonic_iface_Microsoft_Extensions_Http_Logging_IHttpClientLogger: never;
|
|
36
|
+
|
|
33
37
|
LogRequestFailed(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, exception: Exception, elapsed: TimeSpan): void;
|
|
34
38
|
LogRequestStart(request: HttpRequestMessage): unknown | undefined;
|
|
35
39
|
LogRequestStop(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
|
|
@@ -39,8 +43,12 @@ export interface IHttpClientLogger$instance {
|
|
|
39
43
|
export type IHttpClientLogger = IHttpClientLogger$instance;
|
|
40
44
|
|
|
41
45
|
export interface LoggingHttpMessageHandler$instance extends DelegatingHandler {
|
|
46
|
+
readonly __tsonic_type_Microsoft_Extensions_Http_Logging_LoggingHttpMessageHandler: never;
|
|
47
|
+
|
|
48
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
49
|
+
|
|
42
50
|
Send(request: HttpRequestMessage, cancellationToken: CancellationToken): HttpResponseMessage;
|
|
43
|
-
SendAsync(request: HttpRequestMessage, cancellationToken: CancellationToken):
|
|
51
|
+
SendAsync(request: HttpRequestMessage, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
44
52
|
}
|
|
45
53
|
|
|
46
54
|
|
|
@@ -53,8 +61,12 @@ export const LoggingHttpMessageHandler: {
|
|
|
53
61
|
export type LoggingHttpMessageHandler = LoggingHttpMessageHandler$instance;
|
|
54
62
|
|
|
55
63
|
export interface LoggingScopeHttpMessageHandler$instance extends DelegatingHandler {
|
|
64
|
+
readonly __tsonic_type_Microsoft_Extensions_Http_Logging_LoggingScopeHttpMessageHandler: never;
|
|
65
|
+
|
|
66
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
67
|
+
|
|
56
68
|
Send(request: HttpRequestMessage, cancellationToken: CancellationToken): HttpResponseMessage;
|
|
57
|
-
SendAsync(request: HttpRequestMessage, cancellationToken: CancellationToken):
|
|
69
|
+
SendAsync(request: HttpRequestMessage, cancellationToken: CancellationToken): Task_1<HttpResponseMessage>;
|
|
58
70
|
}
|
|
59
71
|
|
|
60
72
|
|