@tsonic/microsoft-extensions 10.0.12 → 10.0.20
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.Configuration/bindings.json +0 -172
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +2 -8
- package/Microsoft.Extensions.Configuration.CommandLine/bindings.json +0 -86
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +0 -7
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/bindings.json +0 -86
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +0 -7
- package/Microsoft.Extensions.Configuration.Ini/bindings.json +0 -172
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +0 -11
- package/Microsoft.Extensions.Configuration.Json/bindings.json +0 -172
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +0 -11
- package/Microsoft.Extensions.Configuration.KeyPerFile/bindings.json +0 -86
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +0 -7
- package/Microsoft.Extensions.Configuration.Memory/bindings.json +0 -106
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +1 -9
- package/Microsoft.Extensions.Configuration.Xml/bindings.json +0 -172
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +0 -11
- package/Microsoft.Extensions.FileSystemGlobbing/bindings.json +0 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/bindings.json +0 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +0 -300
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +0 -15
- package/Microsoft.Extensions.Logging.Configuration/bindings.json +0 -20
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +1 -2
- package/Microsoft.Extensions.ObjectPool/bindings.json +12 -52
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +2 -0
- package/Microsoft.Extensions.Options/bindings.json +0 -60
- package/Microsoft.Extensions.Options/internal/index.d.ts +1 -4
- package/README.md +59 -2
- package/System.Diagnostics.Eventing.Reader/bindings.json +1 -21
- package/package.json +3 -3
package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts
CHANGED
|
@@ -81,8 +81,6 @@ export interface PatternContextLinear$instance extends PatternContext_1$instance
|
|
|
81
81
|
|
|
82
82
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
83
83
|
|
|
84
|
-
Declare(declare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
85
|
-
PopDirectory(): void;
|
|
86
84
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
87
85
|
Test(file: FileInfoBase): PatternTestResult;
|
|
88
86
|
Test(directory: DirectoryInfoBase): boolean;
|
|
@@ -105,9 +103,6 @@ export interface PatternContextLinearExclude$instance extends PatternContextLine
|
|
|
105
103
|
|
|
106
104
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
107
105
|
|
|
108
|
-
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
109
|
-
PopDirectory(): void;
|
|
110
|
-
PushDirectory(directory: DirectoryInfoBase): void;
|
|
111
106
|
Test(directory: DirectoryInfoBase): boolean;
|
|
112
107
|
Test(file: FileInfoBase): PatternTestResult;
|
|
113
108
|
}
|
|
@@ -131,9 +126,6 @@ export interface PatternContextLinearInclude$instance extends PatternContextLine
|
|
|
131
126
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
132
127
|
|
|
133
128
|
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
134
|
-
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
135
|
-
PopDirectory(): void;
|
|
136
|
-
PushDirectory(directory: DirectoryInfoBase): void;
|
|
137
129
|
Test(directory: DirectoryInfoBase): boolean;
|
|
138
130
|
Test(file: FileInfoBase): PatternTestResult;
|
|
139
131
|
}
|
|
@@ -156,7 +148,6 @@ export interface PatternContextRagged$instance extends PatternContext_1$instance
|
|
|
156
148
|
|
|
157
149
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
158
150
|
|
|
159
|
-
Declare(declare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
160
151
|
PopDirectory(): void;
|
|
161
152
|
PushDirectory(directory: DirectoryInfoBase): void;
|
|
162
153
|
Test(file: FileInfoBase): PatternTestResult;
|
|
@@ -180,9 +171,6 @@ export interface PatternContextRaggedExclude$instance extends PatternContextRagg
|
|
|
180
171
|
|
|
181
172
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
182
173
|
|
|
183
|
-
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
184
|
-
PopDirectory(): void;
|
|
185
|
-
PushDirectory(directory: DirectoryInfoBase): void;
|
|
186
174
|
Test(directory: DirectoryInfoBase): boolean;
|
|
187
175
|
Test(file: FileInfoBase): PatternTestResult;
|
|
188
176
|
}
|
|
@@ -206,9 +194,6 @@ export interface PatternContextRaggedInclude$instance extends PatternContextRagg
|
|
|
206
194
|
readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
|
|
207
195
|
|
|
208
196
|
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
209
|
-
Declare(onDeclare: Action_2<IPathSegment, System_Internal.Boolean>): void;
|
|
210
|
-
PopDirectory(): void;
|
|
211
|
-
PushDirectory(directory: DirectoryInfoBase): void;
|
|
212
197
|
Test(directory: DirectoryInfoBase): boolean;
|
|
213
198
|
Test(file: FileInfoBase): PatternTestResult;
|
|
214
199
|
}
|
|
@@ -134,26 +134,6 @@
|
|
|
134
134
|
"declaringAssemblyName": "Microsoft.Extensions.Options",
|
|
135
135
|
"isExtensionMethod": false,
|
|
136
136
|
"sourceInterface": "Microsoft.Extensions.Options.IOptionsChangeTokenSource\u00601"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"stableId": "Microsoft.Extensions.Logging.Configuration:Microsoft.Extensions.Logging.Configuration.LoggerProviderOptionsChangeTokenSource\u00602::GetChangeToken():Microsoft.Extensions.Primitives.IChangeToken",
|
|
140
|
-
"clrName": "GetChangeToken",
|
|
141
|
-
"metadataToken": 0,
|
|
142
|
-
"canonicalSignature": "():Microsoft.Extensions.Primitives.IChangeToken",
|
|
143
|
-
"normalizedSignature": "GetChangeToken|():Microsoft.Extensions.Primitives.IChangeToken|static=false",
|
|
144
|
-
"emitScope": "ClassSurface",
|
|
145
|
-
"provenance": "BaseOverload",
|
|
146
|
-
"arity": 0,
|
|
147
|
-
"parameterCount": 0,
|
|
148
|
-
"isStatic": false,
|
|
149
|
-
"isAbstract": false,
|
|
150
|
-
"isVirtual": true,
|
|
151
|
-
"isOverride": false,
|
|
152
|
-
"isSealed": false,
|
|
153
|
-
"visibility": "Public",
|
|
154
|
-
"declaringClrType": "Microsoft.Extensions.Logging.Configuration.LoggerProviderOptionsChangeTokenSource\u00602",
|
|
155
|
-
"declaringAssemblyName": "Microsoft.Extensions.Logging.Configuration",
|
|
156
|
-
"isExtensionMethod": false
|
|
157
137
|
}
|
|
158
138
|
],
|
|
159
139
|
"properties": [
|
|
@@ -33,12 +33,11 @@ export interface ILoggerProviderConfigurationFactory$instance {
|
|
|
33
33
|
|
|
34
34
|
export type ILoggerProviderConfigurationFactory = ILoggerProviderConfigurationFactory$instance;
|
|
35
35
|
|
|
36
|
-
export interface LoggerProviderOptionsChangeTokenSource_2$instance<TOptions, TProvider> extends ConfigurationChangeTokenSource_1<TOptions> {
|
|
36
|
+
export interface LoggerProviderOptionsChangeTokenSource_2$instance<TOptions, TProvider> extends ConfigurationChangeTokenSource_1<TOptions>, Microsoft_Extensions_Options_Internal.IOptionsChangeTokenSource_1$instance<TOptions> {
|
|
37
37
|
readonly __tsonic_type_Microsoft_Extensions_Logging_Configuration_LoggerProviderOptionsChangeTokenSource_2: never;
|
|
38
38
|
|
|
39
39
|
readonly __tsonic_iface_Microsoft_Extensions_Options_IOptionsChangeTokenSource_1: never;
|
|
40
40
|
|
|
41
|
-
GetChangeToken(): IChangeToken;
|
|
42
41
|
}
|
|
43
42
|
|
|
44
43
|
|
|
@@ -231,11 +231,11 @@
|
|
|
231
231
|
"isExtensionMethod": false
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
|
-
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider::Create():Microsoft.Extensions.ObjectPool.ObjectPool_1",
|
|
234
|
+
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider::Create():Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E",
|
|
235
235
|
"clrName": "Create",
|
|
236
236
|
"metadataToken": 0,
|
|
237
|
-
"canonicalSignature": "():Microsoft.Extensions.ObjectPool.ObjectPool_1",
|
|
238
|
-
"normalizedSignature": "Create|():Microsoft.Extensions.ObjectPool.ObjectPool_1|static=false",
|
|
237
|
+
"canonicalSignature": "():Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E",
|
|
238
|
+
"normalizedSignature": "Create|():Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E|static=false",
|
|
239
239
|
"emitScope": "ClassSurface",
|
|
240
240
|
"provenance": "BaseOverload",
|
|
241
241
|
"arity": 1,
|
|
@@ -251,11 +251,11 @@
|
|
|
251
251
|
"isExtensionMethod": false
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
|
-
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider::Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1):Microsoft.Extensions.ObjectPool.ObjectPool_1",
|
|
254
|
+
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.DefaultObjectPoolProvider::Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1\u003CT\u003E):Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E",
|
|
255
255
|
"clrName": "Create",
|
|
256
256
|
"metadataToken": 0,
|
|
257
|
-
"canonicalSignature": "(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1):Microsoft.Extensions.ObjectPool.ObjectPool_1",
|
|
258
|
-
"normalizedSignature": "Create|(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1):Microsoft.Extensions.ObjectPool.ObjectPool_1|static=false",
|
|
257
|
+
"canonicalSignature": "(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1\u003CT\u003E):Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E",
|
|
258
|
+
"normalizedSignature": "Create|(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1\u003CT\u003E):Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E|static=false",
|
|
259
259
|
"emitScope": "ClassSurface",
|
|
260
260
|
"provenance": "BaseOverload",
|
|
261
261
|
"arity": 1,
|
|
@@ -556,11 +556,11 @@
|
|
|
556
556
|
"isExtensionMethod": false
|
|
557
557
|
},
|
|
558
558
|
{
|
|
559
|
-
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.LeakTrackingObjectPoolProvider::Create():Microsoft.Extensions.ObjectPool.ObjectPool_1",
|
|
559
|
+
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.LeakTrackingObjectPoolProvider::Create():Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E",
|
|
560
560
|
"clrName": "Create",
|
|
561
561
|
"metadataToken": 0,
|
|
562
|
-
"canonicalSignature": "():Microsoft.Extensions.ObjectPool.ObjectPool_1",
|
|
563
|
-
"normalizedSignature": "Create|():Microsoft.Extensions.ObjectPool.ObjectPool_1|static=false",
|
|
562
|
+
"canonicalSignature": "():Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E",
|
|
563
|
+
"normalizedSignature": "Create|():Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E|static=false",
|
|
564
564
|
"emitScope": "ClassSurface",
|
|
565
565
|
"provenance": "BaseOverload",
|
|
566
566
|
"arity": 1,
|
|
@@ -576,11 +576,11 @@
|
|
|
576
576
|
"isExtensionMethod": false
|
|
577
577
|
},
|
|
578
578
|
{
|
|
579
|
-
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.LeakTrackingObjectPoolProvider::Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1):Microsoft.Extensions.ObjectPool.ObjectPool_1",
|
|
579
|
+
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.LeakTrackingObjectPoolProvider::Create(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1\u003CT\u003E):Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E",
|
|
580
580
|
"clrName": "Create",
|
|
581
581
|
"metadataToken": 0,
|
|
582
|
-
"canonicalSignature": "(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1):Microsoft.Extensions.ObjectPool.ObjectPool_1",
|
|
583
|
-
"normalizedSignature": "Create|(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1):Microsoft.Extensions.ObjectPool.ObjectPool_1|static=false",
|
|
582
|
+
"canonicalSignature": "(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1\u003CT\u003E):Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E",
|
|
583
|
+
"normalizedSignature": "Create|(Microsoft.Extensions.ObjectPool.IPooledObjectPolicy_1\u003CT\u003E):Microsoft.Extensions.ObjectPool.ObjectPool_1\u003CT\u003E|static=false",
|
|
584
584
|
"emitScope": "ClassSurface",
|
|
585
585
|
"provenance": "BaseOverload",
|
|
586
586
|
"arity": 1,
|
|
@@ -1001,46 +1001,6 @@
|
|
|
1001
1001
|
"declaringAssemblyName": "Microsoft.Extensions.ObjectPool",
|
|
1002
1002
|
"isExtensionMethod": false,
|
|
1003
1003
|
"sourceInterface": "Microsoft.Extensions.ObjectPool.IPooledObjectPolicy\u00601"
|
|
1004
|
-
},
|
|
1005
|
-
{
|
|
1006
|
-
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.StringBuilderPooledObjectPolicy::Create():T",
|
|
1007
|
-
"clrName": "Create",
|
|
1008
|
-
"metadataToken": 0,
|
|
1009
|
-
"canonicalSignature": "():T",
|
|
1010
|
-
"normalizedSignature": "Create|():T|static=false",
|
|
1011
|
-
"emitScope": "ClassSurface",
|
|
1012
|
-
"provenance": "BaseOverload",
|
|
1013
|
-
"arity": 0,
|
|
1014
|
-
"parameterCount": 0,
|
|
1015
|
-
"isStatic": false,
|
|
1016
|
-
"isAbstract": true,
|
|
1017
|
-
"isVirtual": true,
|
|
1018
|
-
"isOverride": false,
|
|
1019
|
-
"isSealed": false,
|
|
1020
|
-
"visibility": "Public",
|
|
1021
|
-
"declaringClrType": "Microsoft.Extensions.ObjectPool.StringBuilderPooledObjectPolicy",
|
|
1022
|
-
"declaringAssemblyName": "Microsoft.Extensions.ObjectPool",
|
|
1023
|
-
"isExtensionMethod": false
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
"stableId": "Microsoft.Extensions.ObjectPool:Microsoft.Extensions.ObjectPool.StringBuilderPooledObjectPolicy::Return(T):System.Boolean",
|
|
1027
|
-
"clrName": "Return",
|
|
1028
|
-
"metadataToken": 0,
|
|
1029
|
-
"canonicalSignature": "(T):System.Boolean",
|
|
1030
|
-
"normalizedSignature": "Return|(T):System.Boolean|static=false",
|
|
1031
|
-
"emitScope": "ClassSurface",
|
|
1032
|
-
"provenance": "BaseOverload",
|
|
1033
|
-
"arity": 0,
|
|
1034
|
-
"parameterCount": 1,
|
|
1035
|
-
"isStatic": false,
|
|
1036
|
-
"isAbstract": true,
|
|
1037
|
-
"isVirtual": true,
|
|
1038
|
-
"isOverride": false,
|
|
1039
|
-
"isSealed": false,
|
|
1040
|
-
"visibility": "Public",
|
|
1041
|
-
"declaringClrType": "Microsoft.Extensions.ObjectPool.StringBuilderPooledObjectPolicy",
|
|
1042
|
-
"declaringAssemblyName": "Microsoft.Extensions.ObjectPool",
|
|
1043
|
-
"isExtensionMethod": false
|
|
1044
1004
|
}
|
|
1045
1005
|
],
|
|
1046
1006
|
"properties": [
|
|
@@ -820,26 +820,6 @@
|
|
|
820
820
|
"declaringAssemblyName": "Microsoft.Extensions.Options",
|
|
821
821
|
"isExtensionMethod": false,
|
|
822
822
|
"sourceInterface": "Microsoft.Extensions.Options.IConfigureOptions\u00601"
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
"stableId": "Microsoft.Extensions.Options.ConfigurationExtensions:Microsoft.Extensions.Options.ConfigureFromConfigurationOptions\u00601::Configure(TOptions):System.Void",
|
|
826
|
-
"clrName": "Configure",
|
|
827
|
-
"metadataToken": 0,
|
|
828
|
-
"canonicalSignature": "(TOptions):System.Void",
|
|
829
|
-
"normalizedSignature": "Configure|(TOptions):System.Void|static=false",
|
|
830
|
-
"emitScope": "ClassSurface",
|
|
831
|
-
"provenance": "BaseOverload",
|
|
832
|
-
"arity": 0,
|
|
833
|
-
"parameterCount": 1,
|
|
834
|
-
"isStatic": false,
|
|
835
|
-
"isAbstract": false,
|
|
836
|
-
"isVirtual": true,
|
|
837
|
-
"isOverride": false,
|
|
838
|
-
"isSealed": false,
|
|
839
|
-
"visibility": "Public",
|
|
840
|
-
"declaringClrType": "Microsoft.Extensions.Options.ConfigureFromConfigurationOptions\u00601",
|
|
841
|
-
"declaringAssemblyName": "Microsoft.Extensions.Options.ConfigurationExtensions",
|
|
842
|
-
"isExtensionMethod": false
|
|
843
823
|
}
|
|
844
824
|
],
|
|
845
825
|
"properties": [],
|
|
@@ -2496,46 +2476,6 @@
|
|
|
2496
2476
|
"declaringAssemblyName": "Microsoft.Extensions.Options",
|
|
2497
2477
|
"isExtensionMethod": false,
|
|
2498
2478
|
"sourceInterface": "Microsoft.Extensions.Options.IConfigureOptions\u00601"
|
|
2499
|
-
},
|
|
2500
|
-
{
|
|
2501
|
-
"stableId": "Microsoft.Extensions.Options.ConfigurationExtensions:Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions\u00601::Configure(System.String,TOptions):System.Void",
|
|
2502
|
-
"clrName": "Configure",
|
|
2503
|
-
"metadataToken": 0,
|
|
2504
|
-
"canonicalSignature": "(System.String,TOptions):System.Void",
|
|
2505
|
-
"normalizedSignature": "Configure|(System.String,TOptions):System.Void|static=false",
|
|
2506
|
-
"emitScope": "ClassSurface",
|
|
2507
|
-
"provenance": "BaseOverload",
|
|
2508
|
-
"arity": 0,
|
|
2509
|
-
"parameterCount": 2,
|
|
2510
|
-
"isStatic": false,
|
|
2511
|
-
"isAbstract": false,
|
|
2512
|
-
"isVirtual": true,
|
|
2513
|
-
"isOverride": false,
|
|
2514
|
-
"isSealed": false,
|
|
2515
|
-
"visibility": "Public",
|
|
2516
|
-
"declaringClrType": "Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions\u00601",
|
|
2517
|
-
"declaringAssemblyName": "Microsoft.Extensions.Options.ConfigurationExtensions",
|
|
2518
|
-
"isExtensionMethod": false
|
|
2519
|
-
},
|
|
2520
|
-
{
|
|
2521
|
-
"stableId": "Microsoft.Extensions.Options.ConfigurationExtensions:Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions\u00601::Configure(TOptions):System.Void",
|
|
2522
|
-
"clrName": "Configure",
|
|
2523
|
-
"metadataToken": 0,
|
|
2524
|
-
"canonicalSignature": "(TOptions):System.Void",
|
|
2525
|
-
"normalizedSignature": "Configure|(TOptions):System.Void|static=false",
|
|
2526
|
-
"emitScope": "ClassSurface",
|
|
2527
|
-
"provenance": "BaseOverload",
|
|
2528
|
-
"arity": 0,
|
|
2529
|
-
"parameterCount": 1,
|
|
2530
|
-
"isStatic": false,
|
|
2531
|
-
"isAbstract": false,
|
|
2532
|
-
"isVirtual": true,
|
|
2533
|
-
"isOverride": false,
|
|
2534
|
-
"isSealed": false,
|
|
2535
|
-
"visibility": "Public",
|
|
2536
|
-
"declaringClrType": "Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions\u00601",
|
|
2537
|
-
"declaringAssemblyName": "Microsoft.Extensions.Options.ConfigurationExtensions",
|
|
2538
|
-
"isExtensionMethod": false
|
|
2539
2479
|
}
|
|
2540
2480
|
],
|
|
2541
2481
|
"properties": [],
|
|
@@ -148,12 +148,11 @@ export interface __ConfigurationChangeTokenSource_1$views<TOptions> {
|
|
|
148
148
|
export type ConfigurationChangeTokenSource_1<TOptions> = ConfigurationChangeTokenSource_1$instance<TOptions> & __ConfigurationChangeTokenSource_1$views<TOptions>;
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
export interface ConfigureFromConfigurationOptions_1$instance<TOptions> extends ConfigureOptions_1$instance<TOptions> {
|
|
151
|
+
export interface ConfigureFromConfigurationOptions_1$instance<TOptions> extends ConfigureOptions_1$instance<TOptions>, IConfigureOptions_1$instance<TOptions> {
|
|
152
152
|
readonly __tsonic_type_Microsoft_Extensions_Options_ConfigureFromConfigurationOptions_1: never;
|
|
153
153
|
|
|
154
154
|
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
155
155
|
|
|
156
|
-
Configure(options: TOptions): void;
|
|
157
156
|
}
|
|
158
157
|
|
|
159
158
|
|
|
@@ -390,8 +389,6 @@ export interface NamedConfigureFromConfigurationOptions_1$instance<TOptions> ext
|
|
|
390
389
|
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureNamedOptions_1: never;
|
|
391
390
|
readonly __tsonic_iface_Microsoft_Extensions_Options_IConfigureOptions_1: never;
|
|
392
391
|
|
|
393
|
-
Configure(name: string, options: TOptions): void;
|
|
394
|
-
Configure(options: TOptions): void;
|
|
395
392
|
}
|
|
396
393
|
|
|
397
394
|
|
package/README.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# @tsonic/microsoft-extensions
|
|
2
2
|
|
|
3
|
-
TypeScript type definitions for
|
|
3
|
+
TypeScript type definitions for **`Microsoft.Extensions.*`** (DI / Hosting / Logging / Configuration / Options) for **.NET 10**.
|
|
4
4
|
|
|
5
|
-
Generated by `tsbindgen` from the
|
|
5
|
+
Generated by `tsbindgen` from the installed .NET shared framework and intended for use with the **Tsonic** compiler (TypeScript → .NET).
|
|
6
|
+
|
|
7
|
+
## What this package is (and isn’t)
|
|
8
|
+
|
|
9
|
+
- ✅ TypeScript bindings (`.d.ts`) for `Microsoft.Extensions.*` namespaces.
|
|
10
|
+
- ❌ Not a JavaScript runtime implementation (the `.js` files are module stubs for type-only use).
|
|
11
|
+
- ✅ The real assemblies typically come from the **`Microsoft.AspNetCore.App` shared framework** (or equivalent NuGet packages).
|
|
12
|
+
|
|
13
|
+
## Install (types)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install @tsonic/microsoft-extensions @tsonic/dotnet @tsonic/core
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Use with Tsonic
|
|
20
|
+
|
|
21
|
+
### Using the shared framework (recommended)
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
tsonic add framework Microsoft.AspNetCore.App @tsonic/microsoft-extensions
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Using NuGet packages
|
|
28
|
+
|
|
29
|
+
If you prefer NuGet-driven restores instead of the shared framework, add the packages you need:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
tsonic add nuget Microsoft.Extensions.DependencyInjection <version> @tsonic/microsoft-extensions
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Imports
|
|
36
|
+
|
|
37
|
+
Import namespaces via explicit module paths:
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
import { ServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Example (DI)
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
import { ServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
|
|
47
|
+
|
|
48
|
+
export function main(): void {
|
|
49
|
+
const services = new ServiceCollection();
|
|
50
|
+
// services.AddSingleton(...), services.AddLogging(...), etc.
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Versioning
|
|
55
|
+
|
|
56
|
+
This repo is versioned by **.NET major**:
|
|
57
|
+
|
|
58
|
+
- .NET 10 → npm: `@tsonic/microsoft-extensions@10.x`
|
|
59
|
+
|
|
60
|
+
## License
|
|
61
|
+
|
|
62
|
+
MIT
|
|
@@ -2920,27 +2920,7 @@
|
|
|
2920
2920
|
"isAbstract": false,
|
|
2921
2921
|
"isVirtual": true,
|
|
2922
2922
|
"isOverride": false,
|
|
2923
|
-
"isSealed":
|
|
2924
|
-
"visibility": "Public",
|
|
2925
|
-
"declaringClrType": "System.Diagnostics.Eventing.Reader.EventLogRecord",
|
|
2926
|
-
"declaringAssemblyName": "System.Diagnostics.EventLog",
|
|
2927
|
-
"isExtensionMethod": false
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"stableId": "System.Diagnostics.EventLog:System.Diagnostics.Eventing.Reader.EventLogRecord::FormatDescription(System.Collections.Generic.IEnumerable_1):System.String",
|
|
2931
|
-
"clrName": "FormatDescription",
|
|
2932
|
-
"metadataToken": 0,
|
|
2933
|
-
"canonicalSignature": "(System.Collections.Generic.IEnumerable_1):System.String",
|
|
2934
|
-
"normalizedSignature": "FormatDescription|(System.Collections.Generic.IEnumerable_1):System.String|static=false",
|
|
2935
|
-
"emitScope": "ClassSurface",
|
|
2936
|
-
"provenance": "BaseOverload",
|
|
2937
|
-
"arity": 0,
|
|
2938
|
-
"parameterCount": 1,
|
|
2939
|
-
"isStatic": false,
|
|
2940
|
-
"isAbstract": true,
|
|
2941
|
-
"isVirtual": true,
|
|
2942
|
-
"isOverride": false,
|
|
2943
|
-
"isSealed": false,
|
|
2923
|
+
"isSealed": true,
|
|
2944
2924
|
"visibility": "Public",
|
|
2945
2925
|
"declaringClrType": "System.Diagnostics.Eventing.Reader.EventLogRecord",
|
|
2946
2926
|
"declaringAssemblyName": "System.Diagnostics.EventLog",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsonic/microsoft-extensions",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.20",
|
|
4
4
|
"description": "TypeScript type definitions for Microsoft.Extensions.* (Hosting/DI/Logging/Configuration/Options) for .NET 10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"url": "https://github.com/tsoniclang/microsoft-extensions.git"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@tsonic/core": "10.0.
|
|
26
|
-
"@tsonic/dotnet": "10.0.
|
|
25
|
+
"@tsonic/core": "10.0.20",
|
|
26
|
+
"@tsonic/dotnet": "10.0.20"
|
|
27
27
|
}
|
|
28
28
|
}
|