@tsonic/microsoft-extensions 10.0.40 → 10.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +11 -10
  2. package/Microsoft.Extensions.Caching.Distributed.d.ts +4 -0
  3. package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +12 -14
  4. package/Microsoft.Extensions.Caching.Hybrid.d.ts +5 -1
  5. package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +32 -34
  6. package/Microsoft.Extensions.Caching.Memory.d.ts +4 -0
  7. package/Microsoft.Extensions.Configuration/internal/index.d.ts +72 -74
  8. package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +7 -6
  9. package/Microsoft.Extensions.Configuration.CommandLine.d.ts +4 -0
  10. package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +7 -6
  11. package/Microsoft.Extensions.Configuration.EnvironmentVariables.d.ts +4 -0
  12. package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +6 -5
  13. package/Microsoft.Extensions.Configuration.Ini.d.ts +4 -0
  14. package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +5 -4
  15. package/Microsoft.Extensions.Configuration.Json.d.ts +4 -0
  16. package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +6 -5
  17. package/Microsoft.Extensions.Configuration.KeyPerFile.d.ts +4 -0
  18. package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +6 -5
  19. package/Microsoft.Extensions.Configuration.Memory.d.ts +4 -0
  20. package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +3 -2
  21. package/Microsoft.Extensions.Configuration.UserSecrets.d.ts +4 -0
  22. package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +7 -6
  23. package/Microsoft.Extensions.Configuration.Xml.d.ts +4 -0
  24. package/Microsoft.Extensions.Configuration.d.ts +4 -0
  25. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +132 -131
  26. package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +29 -28
  27. package/Microsoft.Extensions.DependencyInjection.Extensions.d.ts +4 -0
  28. package/Microsoft.Extensions.DependencyInjection.d.ts +7 -3
  29. package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +20 -19
  30. package/Microsoft.Extensions.Diagnostics.HealthChecks.d.ts +4 -0
  31. package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +31 -33
  32. package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -2
  33. package/Microsoft.Extensions.Diagnostics.Metrics.Configuration.d.ts +4 -0
  34. package/Microsoft.Extensions.Diagnostics.Metrics.d.ts +4 -0
  35. package/Microsoft.Extensions.FileProviders/internal/index.d.ts +6 -5
  36. package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +3 -2
  37. package/Microsoft.Extensions.FileProviders.Composite.d.ts +4 -0
  38. package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +3 -2
  39. package/Microsoft.Extensions.FileProviders.Embedded.d.ts +4 -0
  40. package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +3 -2
  41. package/Microsoft.Extensions.FileProviders.Internal.d.ts +4 -0
  42. package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +6 -5
  43. package/Microsoft.Extensions.FileProviders.Physical.d.ts +4 -0
  44. package/Microsoft.Extensions.FileProviders.d.ts +4 -0
  45. package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +9 -8
  46. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +9 -8
  47. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions.d.ts +4 -0
  48. package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +5 -4
  49. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +4 -3
  50. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.d.ts +4 -0
  51. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +230 -230
  52. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +50 -49
  53. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +6 -2
  54. package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +3 -2
  55. package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns.d.ts +4 -0
  56. package/Microsoft.Extensions.FileSystemGlobbing.Internal.d.ts +4 -0
  57. package/Microsoft.Extensions.FileSystemGlobbing.d.ts +4 -0
  58. package/Microsoft.Extensions.Hosting/internal/index.d.ts +31 -30
  59. package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +3 -2
  60. package/Microsoft.Extensions.Hosting.Internal.d.ts +4 -0
  61. package/Microsoft.Extensions.Hosting.d.ts +4 -0
  62. package/Microsoft.Extensions.Http/internal/index.d.ts +7 -6
  63. package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +11 -10
  64. package/Microsoft.Extensions.Http.Logging.d.ts +4 -0
  65. package/Microsoft.Extensions.Http.d.ts +5 -1
  66. package/Microsoft.Extensions.Internal/internal/index.d.ts +3 -2
  67. package/Microsoft.Extensions.Internal.d.ts +4 -0
  68. package/Microsoft.Extensions.Localization/internal/index.d.ts +18 -17
  69. package/Microsoft.Extensions.Localization.d.ts +6 -2
  70. package/Microsoft.Extensions.Logging/internal/index.d.ts +91 -88
  71. package/Microsoft.Extensions.Logging.Abstractions/bindings.json +4 -1
  72. package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +20 -19
  73. package/Microsoft.Extensions.Logging.Abstractions.d.ts +6 -2
  74. package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +10 -9
  75. package/Microsoft.Extensions.Logging.Configuration.d.ts +5 -1
  76. package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +15 -17
  77. package/Microsoft.Extensions.Logging.Console.d.ts +4 -0
  78. package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +3 -2
  79. package/Microsoft.Extensions.Logging.Debug.d.ts +4 -0
  80. package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +12 -11
  81. package/Microsoft.Extensions.Logging.EventLog.d.ts +4 -0
  82. package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +3 -2
  83. package/Microsoft.Extensions.Logging.EventSource.d.ts +4 -0
  84. package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +4 -3
  85. package/Microsoft.Extensions.Logging.TraceSource.d.ts +4 -0
  86. package/Microsoft.Extensions.Logging.d.ts +6 -2
  87. package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +31 -30
  88. package/Microsoft.Extensions.ObjectPool.d.ts +7 -3
  89. package/Microsoft.Extensions.Options/internal/index.d.ts +239 -238
  90. package/Microsoft.Extensions.Options.d.ts +50 -46
  91. package/Microsoft.Extensions.Primitives/internal/index.d.ts +30 -32
  92. package/Microsoft.Extensions.Primitives.d.ts +5 -1
  93. package/Microsoft.Extensions.Validation/internal/index.d.ts +14 -16
  94. package/Microsoft.Extensions.Validation.d.ts +4 -0
  95. package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -4
  96. package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +2 -4
  97. package/Microsoft.Extensions.WebEncoders.Testing.d.ts +4 -0
  98. package/Microsoft.Extensions.WebEncoders.d.ts +4 -0
  99. package/README.md +53 -15
  100. package/System.Diagnostics/internal/index.d.ts +3 -2
  101. package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +3 -2
  102. package/System.Diagnostics.Eventing.Reader.d.ts +4 -0
  103. package/System.Diagnostics.d.ts +4 -0
  104. package/System.Net.Http/internal/index.d.ts +3 -2
  105. package/System.Net.Http.d.ts +4 -0
  106. package/System.Security.Cryptography/internal/index.d.ts +4 -3
  107. package/System.Security.Cryptography.Pkcs/internal/index.d.ts +44 -46
  108. package/System.Security.Cryptography.Pkcs.d.ts +4 -0
  109. package/System.Security.Cryptography.Xml/bindings.json +404 -404
  110. package/System.Security.Cryptography.Xml/internal/index.d.ts +117 -119
  111. package/System.Security.Cryptography.Xml.d.ts +4 -0
  112. package/System.Security.Cryptography.d.ts +4 -0
  113. package/__internal/extensions/index.d.ts +212 -214
  114. package/package.json +3 -3
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts
3
3
  // Assembly: Microsoft.Extensions.FileSystemGlobbing
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { 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 { DirectoryInfoBase, FileInfoBase, FileSystemInfoBase } from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
@@ -13,46 +14,7 @@ import type { IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal
13
14
  import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
14
15
  import type { Action_2, Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
15
16
 
16
- export interface PatternContextLinear_FrameData$instance {
17
- readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinear_FrameData: never;
18
-
19
- IsNotApplicable: boolean;
20
- SegmentIndex: int;
21
- InStem: boolean;
22
- readonly Stem: string | undefined;
23
- readonly StemItems: IList_1<System_Internal.String>;
24
- }
25
-
26
-
27
- export const PatternContextLinear_FrameData: {
28
- new(): PatternContextLinear_FrameData;
29
- };
30
-
31
-
32
- export type PatternContextLinear_FrameData = PatternContextLinear_FrameData$instance;
33
-
34
- export interface PatternContextRagged_FrameData$instance {
35
- readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRagged_FrameData: never;
36
-
37
- IsNotApplicable: boolean;
38
- SegmentGroupIndex: int;
39
- SegmentGroup: IList_1<IPathSegment>;
40
- BacktrackAvailable: int;
41
- SegmentIndex: int;
42
- InStem: boolean;
43
- readonly Stem: string | undefined;
44
- readonly StemItems: IList_1<System_Internal.String>;
45
- }
46
-
47
-
48
- export const PatternContextRagged_FrameData: {
49
- new(): PatternContextRagged_FrameData;
50
- };
51
-
52
-
53
- export type PatternContextRagged_FrameData = PatternContextRagged_FrameData$instance;
54
-
55
- export interface PatternContext_1$instance<TFrame extends unknown> {
17
+ export interface PatternContext_1$instance<TFrame extends NonNullable<unknown>> {
56
18
  readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContext_1: never;
57
19
 
58
20
  readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
@@ -65,15 +27,15 @@ export interface PatternContext_1$instance<TFrame extends unknown> {
65
27
  }
66
28
 
67
29
 
68
- export const PatternContext_1: (abstract new<TFrame extends unknown>() => PatternContext_1<TFrame>) & {
30
+ export const PatternContext_1: (abstract new<TFrame extends NonNullable<unknown>>() => PatternContext_1<TFrame>) & {
69
31
  };
70
32
 
71
33
 
72
- export interface __PatternContext_1$views<TFrame extends unknown> {
34
+ export interface __PatternContext_1$views<TFrame extends NonNullable<unknown>> {
73
35
  As_IPatternContext(): Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPatternContext$instance;
74
36
  }
75
37
 
76
- export type PatternContext_1<TFrame> = PatternContext_1$instance<TFrame> & __PatternContext_1$views<TFrame>;
38
+ export type PatternContext_1<TFrame extends NonNullable<unknown>> = PatternContext_1$instance<TFrame> & __PatternContext_1$views<TFrame>;
77
39
 
78
40
 
79
41
  export interface PatternContextLinear$instance extends PatternContext_1$instance<PatternContextLinear_FrameData> {
@@ -98,7 +60,25 @@ export interface __PatternContextLinear$views {
98
60
  export type PatternContextLinear = PatternContextLinear$instance & __PatternContextLinear$views;
99
61
 
100
62
 
101
- export interface PatternContextLinearExclude$instance extends PatternContextLinear$instance {
63
+ export interface PatternContextLinear_FrameData$instance {
64
+ readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinear_FrameData: never;
65
+
66
+ IsNotApplicable: boolean;
67
+ SegmentIndex: int;
68
+ InStem: boolean;
69
+ readonly Stem: string | null;
70
+ readonly StemItems: IList_1<System_Internal.String>;
71
+ }
72
+
73
+
74
+ export const PatternContextLinear_FrameData: {
75
+ new(): PatternContextLinear_FrameData;
76
+ };
77
+
78
+
79
+ export type PatternContextLinear_FrameData = PatternContextLinear_FrameData$instance;
80
+
81
+ export interface PatternContextLinearExclude$instance extends PatternContextLinear$instance, Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPatternContext$instance {
102
82
  readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinearExclude: never;
103
83
 
104
84
  readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
@@ -120,7 +100,7 @@ export interface __PatternContextLinearExclude$views {
120
100
  export type PatternContextLinearExclude = PatternContextLinearExclude$instance & __PatternContextLinearExclude$views;
121
101
 
122
102
 
123
- export interface PatternContextLinearInclude$instance extends PatternContextLinear$instance {
103
+ export interface PatternContextLinearInclude$instance extends PatternContextLinear$instance, Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPatternContext$instance {
124
104
  readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextLinearInclude: never;
125
105
 
126
106
  readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
@@ -166,7 +146,28 @@ export interface __PatternContextRagged$views {
166
146
  export type PatternContextRagged = PatternContextRagged$instance & __PatternContextRagged$views;
167
147
 
168
148
 
169
- export interface PatternContextRaggedExclude$instance extends PatternContextRagged$instance {
149
+ export interface PatternContextRagged_FrameData$instance {
150
+ readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRagged_FrameData: never;
151
+
152
+ IsNotApplicable: boolean;
153
+ SegmentGroupIndex: int;
154
+ SegmentGroup: IList_1<IPathSegment>;
155
+ BacktrackAvailable: int;
156
+ SegmentIndex: int;
157
+ InStem: boolean;
158
+ readonly Stem: string | null;
159
+ readonly StemItems: IList_1<System_Internal.String>;
160
+ }
161
+
162
+
163
+ export const PatternContextRagged_FrameData: {
164
+ new(): PatternContextRagged_FrameData;
165
+ };
166
+
167
+
168
+ export type PatternContextRagged_FrameData = PatternContextRagged_FrameData$instance;
169
+
170
+ export interface PatternContextRaggedExclude$instance extends PatternContextRagged$instance, Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPatternContext$instance {
170
171
  readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRaggedExclude: never;
171
172
 
172
173
  readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
@@ -188,7 +189,7 @@ export interface __PatternContextRaggedExclude$views {
188
189
  export type PatternContextRaggedExclude = PatternContextRaggedExclude$instance & __PatternContextRaggedExclude$views;
189
190
 
190
191
 
191
- export interface PatternContextRaggedInclude$instance extends PatternContextRagged$instance {
192
+ export interface PatternContextRaggedInclude$instance extends PatternContextRagged$instance, Microsoft_Extensions_FileSystemGlobbing_Internal_Internal.IPatternContext$instance {
192
193
  readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternContexts_PatternContextRaggedInclude: never;
193
194
 
194
195
  readonly __tsonic_iface_Microsoft_Extensions_FileSystemGlobbing_Internal_IPatternContext: never;
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { DirectoryInfoBase, FileInfoBase, FileSystemInfoBase } from './Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js';
10
14
  import type { ILinearPattern, IPathSegment, IPatternContext, IRaggedPattern, PatternTestResult } from './Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js';
@@ -14,10 +18,10 @@ import type { Action, Boolean as ClrBoolean, Int32, Object as ClrObject, String
14
18
  // Public API exports (curated - no internal $instance/$views leakage)
15
19
  export { PatternContext_1 as PatternContext } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
16
20
  export { PatternContextLinear as PatternContextLinear } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
21
+ export { PatternContextLinear_FrameData as PatternContextLinear_FrameData } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
17
22
  export { PatternContextLinearExclude as PatternContextLinearExclude } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
18
23
  export { PatternContextLinearInclude as PatternContextLinearInclude } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
19
24
  export { PatternContextRagged as PatternContextRagged } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
25
+ export { PatternContextRagged_FrameData as PatternContextRagged_FrameData } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
20
26
  export { PatternContextRaggedExclude as PatternContextRaggedExclude } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
21
27
  export { PatternContextRaggedInclude as PatternContextRaggedInclude } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
22
- export { PatternContextLinear_FrameData as PatternContextLinear_FrameData } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
23
- export { PatternContextRagged_FrameData as PatternContextRagged_FrameData } from './Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns
3
3
  // Assembly: Microsoft.Extensions.FileSystemGlobbing
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { 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 { IPattern } from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { IPattern } from './Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js';
10
14
  import type { Object as ClrObject, String as ClrString, StringComparison } from '@tsonic/dotnet/System.js';
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { DirectoryInfoBase, FileInfoBase } from './Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js';
10
14
  import type { PatternMatchingResult } from './Microsoft.Extensions.FileSystemGlobbing/internal/index.js';
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Extensions.FileSystemGlobbing/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { DirectoryInfoBase, FileInfoBase, FileSystemInfoBase } from './Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js';
10
14
  import type { IEnumerable } from '@tsonic/dotnet/System.Collections.Generic.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Hosting
3
3
  // Assembly: Microsoft.Extensions.Hosting, Microsoft.Extensions.Hosting.Abstractions
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { 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";
@@ -58,7 +59,7 @@ export interface IHostApplicationBuilder$instance {
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 extends unknown>(factory: IServiceProviderFactory_1<TContainerBuilder>, configure?: Action_1<TContainerBuilder> | null): void;
62
63
  }
63
64
 
64
65
 
@@ -83,8 +84,8 @@ export interface IHostBuilder$instance {
83
84
  Build(): IHost;
84
85
  ConfigureAppConfiguration(configureDelegate: Action_2<HostBuilderContext, IConfigurationBuilder>): IHostBuilder;
85
86
  ConfigureHostConfiguration(configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
86
- UseServiceProviderFactory<TContainerBuilder>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
87
- UseServiceProviderFactory<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
87
+ UseServiceProviderFactory<TContainerBuilder extends unknown>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
88
+ UseServiceProviderFactory<TContainerBuilder extends unknown>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
88
89
  }
89
90
 
90
91
 
@@ -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 | undefined;
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 extends unknown>(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 | undefined;
236
- set ApplicationName(value: string | undefined);
237
- get Args(): string[] | undefined;
238
- set Args(value: string[] | undefined);
239
- get Configuration(): ConfigurationManager | undefined;
240
- set Configuration(value: ConfigurationManager | undefined);
241
- get ContentRootPath(): string | undefined;
242
- set ContentRootPath(value: string | undefined);
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 | undefined;
245
- set EnvironmentName(value: string | undefined);
245
+ get EnvironmentName(): string | null;
246
+ set EnvironmentName(value: string | null);
246
247
  }
247
248
 
248
249
 
@@ -261,11 +262,11 @@ export interface HostBuilder$instance {
261
262
  readonly Properties: IDictionary_2<unknown, unknown>;
262
263
  Build(): IHost;
263
264
  ConfigureAppConfiguration(configureDelegate: Action_2<HostBuilderContext, IConfigurationBuilder>): IHostBuilder;
264
- ConfigureContainer<TContainerBuilder>(configureDelegate: Action_2<HostBuilderContext, TContainerBuilder>): IHostBuilder;
265
+ ConfigureContainer<TContainerBuilder extends unknown>(configureDelegate: Action_2<HostBuilderContext, TContainerBuilder>): IHostBuilder;
265
266
  ConfigureHostConfiguration(configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
266
267
  ConfigureServices(configureDelegate: Action_2<HostBuilderContext, IServiceCollection>): IHostBuilder;
267
- UseServiceProviderFactory<TContainerBuilder>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
268
- UseServiceProviderFactory<TContainerBuilder>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
268
+ UseServiceProviderFactory<TContainerBuilder extends unknown>(factory: IServiceProviderFactory_1<TContainerBuilder>): IHostBuilder;
269
+ UseServiceProviderFactory<TContainerBuilder extends unknown>(factory: Func_2<HostBuilderContext, IServiceProviderFactory_1<TContainerBuilder>>): IHostBuilder;
269
270
  }
270
271
 
271
272
 
@@ -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
 
@@ -396,8 +397,8 @@ export type HostingEnvironmentExtensions = HostingEnvironmentExtensions$instance
396
397
 
397
398
  export abstract class HostingHostBuilderExtensions$instance {
398
399
  static ConfigureAppConfiguration(hostBuilder: IHostBuilder, configureDelegate: Action_1<IConfigurationBuilder>): IHostBuilder;
399
- static ConfigureContainer<TContainerBuilder>(hostBuilder: IHostBuilder, configureDelegate: Action_1<TContainerBuilder>): IHostBuilder;
400
- static ConfigureDefaults(builder: IHostBuilder, args: string[]): IHostBuilder;
400
+ static ConfigureContainer<TContainerBuilder extends unknown>(hostBuilder: IHostBuilder, configureDelegate: Action_1<TContainerBuilder>): 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
- // Primitive type aliases from @tsonic/core
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 { 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";
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Extensions.Hosting.Internal/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { IFileProvider } from './Microsoft.Extensions.FileProviders/internal/index.js';
10
14
  import type { ConsoleLifetimeOptions, HostOptions, IApplicationLifetime, IHostApplicationLifetime, IHostEnvironment, IHostingEnvironment, IHostLifetime } from './Microsoft.Extensions.Hosting/internal/index.js';
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Extensions.Hosting/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { ConfigurationManager, IConfiguration, IConfigurationBuilder, IConfigurationManager } from './Microsoft.Extensions.Configuration/internal/index.js';
10
14
  import type { IServiceCollection, IServiceProviderFactory_1, ServiceProviderOptions } from './Microsoft.Extensions.DependencyInjection/internal/index.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Http
3
3
  // Assembly: Microsoft.Extensions.Http
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { 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";
@@ -20,14 +21,14 @@ export interface IHttpMessageHandlerBuilderFilter$instance {
20
21
 
21
22
  export type IHttpMessageHandlerBuilderFilter = IHttpMessageHandlerBuilderFilter$instance;
22
23
 
23
- export interface ITypedHttpClientFactory_1$instance<TClient> {
24
+ export interface ITypedHttpClientFactory_1$instance<TClient extends unknown> {
24
25
  readonly __tsonic_iface_Microsoft_Extensions_Http_ITypedHttpClientFactory_1: never;
25
26
 
26
27
  CreateClient(httpClient: HttpClient): TClient;
27
28
  }
28
29
 
29
30
 
30
- export type ITypedHttpClientFactory_1<TClient> = ITypedHttpClientFactory_1$instance<TClient>;
31
+ export type ITypedHttpClientFactory_1<TClient extends unknown> = ITypedHttpClientFactory_1$instance<TClient>;
31
32
 
32
33
  export interface HttpClientFactoryOptions$instance {
33
34
  readonly __tsonic_type_Microsoft_Extensions_Http_HttpClientFactoryOptions: never;
@@ -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 | undefined;
55
- set Name(value: string | undefined);
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
- // Primitive type aliases from @tsonic/core
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 { 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: unknown, request: HttpRequestMessage, response: HttpResponseMessage, exception: Exception, elapsed: TimeSpan): void;
22
- LogRequestFailedAsync(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, exception: Exception, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
23
- LogRequestStart(request: HttpRequestMessage): unknown | undefined;
22
+ LogRequestFailed(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage | null, exception: Exception, elapsed: TimeSpan): void;
23
+ LogRequestFailedAsync(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage | null, exception: Exception, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
24
+ LogRequestStart(request: HttpRequestMessage): unknown | null;
24
25
  LogRequestStartAsync(request: HttpRequestMessage, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
25
- LogRequestStop(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
26
- LogRequestStopAsync(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
26
+ LogRequestStop(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
27
+ LogRequestStopAsync(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan, cancellationToken?: CancellationToken): ValueTask;
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: unknown, request: HttpRequestMessage, response: HttpResponseMessage, exception: Exception, elapsed: TimeSpan): void;
38
- LogRequestStart(request: HttpRequestMessage): unknown | undefined;
39
- LogRequestStop(context: unknown, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
38
+ LogRequestFailed(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage | null, exception: Exception, elapsed: TimeSpan): void;
39
+ LogRequestStart(request: HttpRequestMessage): unknown | null;
40
+ LogRequestStop(context: unknown | null, request: HttpRequestMessage, response: HttpResponseMessage, elapsed: TimeSpan): void;
40
41
  }
41
42
 
42
43
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Extensions.Http.Logging/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { HttpClientFactoryOptions } from './Microsoft.Extensions.Http/internal/index.js';
10
14
  import type { ILogger } from './Microsoft.Extensions.Logging/internal/index.js';
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Extensions.Http/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { IEnumerable, IList } from '@tsonic/dotnet/System.Collections.Generic.js';
10
14
  import type { Action, Boolean as ClrBoolean, Func, IServiceProvider, Object as ClrObject, String as ClrString, TimeSpan } from '@tsonic/dotnet/System.js';
@@ -14,4 +18,4 @@ import type { DelegatingHandler, HttpClient, HttpMessageHandler } from '@tsonic/
14
18
  export { HttpClientFactoryOptions as HttpClientFactoryOptions } from './Microsoft.Extensions.Http/internal/index.js';
15
19
  export { HttpMessageHandlerBuilder as HttpMessageHandlerBuilder } from './Microsoft.Extensions.Http/internal/index.js';
16
20
  export type IHttpMessageHandlerBuilderFilter = Internal.IHttpMessageHandlerBuilderFilter;
17
- export type ITypedHttpClientFactory<TClient> = Internal.ITypedHttpClientFactory_1<TClient>;
21
+ export type ITypedHttpClientFactory<TClient extends unknown> = Internal.ITypedHttpClientFactory_1<TClient>;
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Internal
3
3
  // Assembly: Microsoft.Extensions.Caching.Abstractions
4
4
 
5
- // Primitive type aliases from @tsonic/core
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 { 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";
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Extensions.Internal/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { DateTimeOffset, Object as ClrObject } from '@tsonic/dotnet/System.js';
10
14