@tsonic/microsoft-extensions 10.0.39 → 10.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +11 -10
  2. package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +10 -12
  3. package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +38 -40
  4. package/Microsoft.Extensions.Configuration/internal/index.d.ts +69 -71
  5. package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +6 -5
  6. package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +6 -5
  7. package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +4 -3
  8. package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +3 -2
  9. package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +5 -4
  10. package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +6 -5
  11. package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +3 -2
  12. package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +5 -4
  13. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +103 -102
  14. package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +24 -23
  15. package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +22 -21
  16. package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +30 -32
  17. package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -2
  18. package/Microsoft.Extensions.FileProviders/internal/index.d.ts +6 -5
  19. package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +3 -2
  20. package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +3 -2
  21. package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +3 -2
  22. package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +6 -5
  23. package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +9 -8
  24. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +9 -8
  25. package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +5 -4
  26. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +4 -3
  27. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +230 -230
  28. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +45 -44
  29. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +2 -2
  30. package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +3 -2
  31. package/Microsoft.Extensions.Hosting/internal/index.d.ts +30 -29
  32. package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +3 -2
  33. package/Microsoft.Extensions.Http/internal/index.d.ts +5 -4
  34. package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +12 -11
  35. package/Microsoft.Extensions.Internal/internal/index.d.ts +3 -2
  36. package/Microsoft.Extensions.Localization/internal/index.d.ts +15 -14
  37. package/Microsoft.Extensions.Logging/internal/index.d.ts +78 -77
  38. package/Microsoft.Extensions.Logging.Abstractions/bindings.json +4 -1
  39. package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +13 -12
  40. package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +3 -2
  41. package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +15 -17
  42. package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +3 -2
  43. package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +12 -11
  44. package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +3 -2
  45. package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +4 -3
  46. package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +4 -3
  47. package/Microsoft.Extensions.Options/internal/index.d.ts +104 -103
  48. package/Microsoft.Extensions.Primitives/bindings.json +0 -20
  49. package/Microsoft.Extensions.Primitives/internal/index.d.ts +30 -33
  50. package/Microsoft.Extensions.Primitives.d.ts +1 -1
  51. package/Microsoft.Extensions.Validation/internal/index.d.ts +14 -16
  52. package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -4
  53. package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +2 -4
  54. package/README.md +45 -15
  55. package/System.Diagnostics/internal/index.d.ts +11 -10
  56. package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +7 -6
  57. package/System.Net.Http/internal/index.d.ts +3 -2
  58. package/System.Security.Cryptography/internal/index.d.ts +5 -4
  59. package/System.Security.Cryptography.Pkcs/internal/index.d.ts +48 -50
  60. package/System.Security.Cryptography.Xml/internal/index.d.ts +148 -150
  61. package/__internal/extensions/index.d.ts +186 -188
  62. package/package.json +3 -3
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.DependencyInjection.Extensions
3
3
  // Assembly: Microsoft.Extensions.DependencyInjection.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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { IServiceCollection, ServiceDescriptor } from "../../Microsoft.Extensions.DependencyInjection/internal/index.js";
@@ -16,42 +17,42 @@ export abstract class ServiceCollectionDescriptorExtensions$instance {
16
17
  static Add(collection: IServiceCollection, descriptors: IEnumerable_1<ServiceDescriptor>): IServiceCollection;
17
18
  static RemoveAll(collection: IServiceCollection, serviceType: Type): IServiceCollection;
18
19
  static RemoveAll<T>(collection: IServiceCollection): IServiceCollection;
19
- static RemoveAllKeyed<T>(collection: IServiceCollection, serviceKey: unknown): IServiceCollection;
20
- static RemoveAllKeyed(collection: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
20
+ static RemoveAllKeyed<T>(collection: IServiceCollection, serviceKey: JsValue | null): IServiceCollection;
21
+ static RemoveAllKeyed(collection: IServiceCollection, serviceType: Type, serviceKey: JsValue | null): IServiceCollection;
21
22
  static Replace(collection: IServiceCollection, descriptor: ServiceDescriptor): IServiceCollection;
22
23
  static TryAdd(collection: IServiceCollection, descriptor: ServiceDescriptor): void;
23
24
  static TryAdd(collection: IServiceCollection, descriptors: IEnumerable_1<ServiceDescriptor>): void;
24
25
  static TryAddEnumerable(services: IServiceCollection, descriptor: ServiceDescriptor): void;
25
26
  static TryAddEnumerable(services: IServiceCollection, descriptors: IEnumerable_1<ServiceDescriptor>): void;
26
- static TryAddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): void;
27
- static TryAddKeyedScoped<TService>(collection: IServiceCollection, serviceKey: unknown): void;
28
- static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): void;
29
- static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationType: Type): void;
30
- static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: unknown): void;
31
- static TryAddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): void;
32
- static TryAddKeyedSingleton<TService>(collection: IServiceCollection, serviceKey: unknown, instance: TService): void;
33
- static TryAddKeyedSingleton<TService>(collection: IServiceCollection, serviceKey: unknown): void;
34
- static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): void;
35
- static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationType: Type): void;
36
- static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: unknown): void;
37
- static TryAddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): void;
38
- static TryAddKeyedTransient<TService>(collection: IServiceCollection, serviceKey: unknown): void;
39
- static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): void;
40
- static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: unknown, implementationType: Type): void;
41
- static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: unknown): void;
27
+ static TryAddKeyedScoped<TService>(services: IServiceCollection, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, TService>): void;
28
+ static TryAddKeyedScoped<TService>(collection: IServiceCollection, serviceKey: JsValue | null): void;
29
+ static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>): void;
30
+ static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: JsValue | null, implementationType: Type): void;
31
+ static TryAddKeyedScoped(collection: IServiceCollection, service: Type, serviceKey: JsValue | null): void;
32
+ static TryAddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, TService>): void;
33
+ static TryAddKeyedSingleton<TService>(collection: IServiceCollection, serviceKey: JsValue | null, instance: TService): void;
34
+ static TryAddKeyedSingleton<TService>(collection: IServiceCollection, serviceKey: JsValue | null): void;
35
+ static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>): void;
36
+ static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: JsValue | null, implementationType: Type): void;
37
+ static TryAddKeyedSingleton(collection: IServiceCollection, service: Type, serviceKey: JsValue | null): void;
38
+ static TryAddKeyedTransient<TService>(services: IServiceCollection, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, TService>): void;
39
+ static TryAddKeyedTransient<TService>(collection: IServiceCollection, serviceKey: JsValue | null): void;
40
+ static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>): void;
41
+ static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: JsValue | null, implementationType: Type): void;
42
+ static TryAddKeyedTransient(collection: IServiceCollection, service: Type, serviceKey: JsValue | null): void;
42
43
  static TryAddScoped<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): void;
43
- static TryAddScoped(collection: IServiceCollection, service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): void;
44
+ static TryAddScoped(collection: IServiceCollection, service: Type, implementationFactory: Func_2<IServiceProvider, JsValue>): void;
44
45
  static TryAddScoped(collection: IServiceCollection, service: Type, implementationType: Type): void;
45
46
  static TryAddScoped(collection: IServiceCollection, service: Type): void;
46
47
  static TryAddScoped<TService>(collection: IServiceCollection): void;
47
48
  static TryAddSingleton<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): void;
48
- static TryAddSingleton(collection: IServiceCollection, service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): void;
49
+ static TryAddSingleton(collection: IServiceCollection, service: Type, implementationFactory: Func_2<IServiceProvider, JsValue>): void;
49
50
  static TryAddSingleton(collection: IServiceCollection, service: Type, implementationType: Type): void;
50
51
  static TryAddSingleton(collection: IServiceCollection, service: Type): void;
51
52
  static TryAddSingleton<TService>(collection: IServiceCollection, instance: TService): void;
52
53
  static TryAddSingleton<TService>(collection: IServiceCollection): void;
53
54
  static TryAddTransient<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): void;
54
- static TryAddTransient(collection: IServiceCollection, service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): void;
55
+ static TryAddTransient(collection: IServiceCollection, service: Type, implementationFactory: Func_2<IServiceProvider, JsValue>): void;
55
56
  static TryAddTransient(collection: IServiceCollection, service: Type, implementationType: Type): void;
56
57
  static TryAddTransient(collection: IServiceCollection, service: Type): void;
57
58
  static TryAddTransient<TService>(collection: IServiceCollection): void;
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Diagnostics.HealthChecks
3
3
  // Assembly: Microsoft.Extensions.Diagnostics.HealthChecks, Microsoft.Extensions.Diagnostics.HealthChecks.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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { ICollection_1, IEnumerable_1, IReadOnlyDictionary_2, ISet_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
@@ -40,18 +41,18 @@ export type IHealthCheckPublisher = IHealthCheckPublisher$instance;
40
41
  export interface HealthCheckResult$instance {
41
42
  readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckResult: never;
42
43
 
43
- readonly Data: IReadOnlyDictionary_2<System_Internal.String, unknown>;
44
- readonly Description: string | undefined;
45
- readonly Exception: Exception | undefined;
44
+ readonly Data: IReadOnlyDictionary_2<System_Internal.String, JsValue>;
45
+ readonly Description: string | null;
46
+ readonly Exception: Exception | null;
46
47
  readonly Status: HealthStatus;
47
48
  }
48
49
 
49
50
 
50
51
  export const HealthCheckResult: {
51
- new(status: HealthStatus, description: string, exception: Exception, data: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthCheckResult;
52
- Degraded(description?: string, exception?: Exception, data?: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthCheckResult;
53
- Healthy(description?: string, data?: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthCheckResult;
54
- Unhealthy(description?: string, exception?: Exception, data?: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthCheckResult;
52
+ new(status: HealthStatus, description: string | null, exception: Exception | null, data: IReadOnlyDictionary_2<System_Internal.String, JsValue> | null): HealthCheckResult;
53
+ Degraded(description?: string | null, exception?: Exception | null, data?: IReadOnlyDictionary_2<System_Internal.String, JsValue> | null): HealthCheckResult;
54
+ Healthy(description?: string | null, data?: IReadOnlyDictionary_2<System_Internal.String, JsValue> | null): HealthCheckResult;
55
+ Unhealthy(description?: string | null, exception?: Exception | null, data?: IReadOnlyDictionary_2<System_Internal.String, JsValue> | null): HealthCheckResult;
55
56
  };
56
57
 
57
58
 
@@ -60,18 +61,18 @@ export type HealthCheckResult = HealthCheckResult$instance;
60
61
  export interface HealthReportEntry$instance {
61
62
  readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthReportEntry: never;
62
63
 
63
- readonly Data: IReadOnlyDictionary_2<System_Internal.String, unknown>;
64
- readonly Description: string | undefined;
64
+ readonly Data: IReadOnlyDictionary_2<System_Internal.String, JsValue>;
65
+ readonly Description: string | null;
65
66
  readonly Duration: TimeSpan;
66
- readonly Exception: Exception | undefined;
67
+ readonly Exception: Exception | null;
67
68
  readonly Status: HealthStatus;
68
69
  readonly Tags: IEnumerable_1<System_Internal.String>;
69
70
  }
70
71
 
71
72
 
72
73
  export const HealthReportEntry: {
73
- new(status: HealthStatus, description: string, duration: TimeSpan, exception: Exception, data: IReadOnlyDictionary_2<System_Internal.String, unknown>): HealthReportEntry;
74
- new(status: HealthStatus, description: string, duration: TimeSpan, exception: Exception, data: IReadOnlyDictionary_2<System_Internal.String, unknown>, tags: IEnumerable_1<System_Internal.String>): HealthReportEntry;
74
+ new(status: HealthStatus, description: string | null, duration: TimeSpan, exception: Exception | null, data: IReadOnlyDictionary_2<System_Internal.String, JsValue> | null): HealthReportEntry;
75
+ new(status: HealthStatus, description: string | null, duration: TimeSpan, exception: Exception | null, data: IReadOnlyDictionary_2<System_Internal.String, JsValue> | null, tags: IEnumerable_1<System_Internal.String> | null): HealthReportEntry;
75
76
  };
76
77
 
77
78
 
@@ -96,8 +97,8 @@ export interface HealthCheckPublisherOptions$instance {
96
97
 
97
98
  Delay: TimeSpan;
98
99
  Period: TimeSpan;
99
- get Predicate(): Func_2<HealthCheckRegistration, System_Internal.Boolean> | undefined;
100
- set Predicate(value: Func_2<HealthCheckRegistration, System_Internal.Boolean> | undefined);
100
+ get Predicate(): Func_2<HealthCheckRegistration, System_Internal.Boolean> | null;
101
+ set Predicate(value: Func_2<HealthCheckRegistration, System_Internal.Boolean> | null);
101
102
  Timeout: TimeSpan;
102
103
  }
103
104
 
@@ -125,10 +126,10 @@ export interface HealthCheckRegistration$instance {
125
126
 
126
127
 
127
128
  export const HealthCheckRegistration: {
128
- new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): HealthCheckRegistration;
129
- new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, timeout: Nullable_1<TimeSpan>): HealthCheckRegistration;
130
- new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): HealthCheckRegistration;
131
- new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, timeout: Nullable_1<TimeSpan>): HealthCheckRegistration;
129
+ new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String> | null): HealthCheckRegistration;
130
+ new(name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String> | null, timeout: Nullable_1<TimeSpan>): HealthCheckRegistration;
131
+ new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String> | null): HealthCheckRegistration;
132
+ new(name: string, factory: Func_2<IServiceProvider, IHealthCheck>, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String> | null, timeout: Nullable_1<TimeSpan>): HealthCheckRegistration;
132
133
  };
133
134
 
134
135
 
@@ -138,7 +139,7 @@ export interface HealthCheckService$instance {
138
139
  readonly __tsonic_type_Microsoft_Extensions_Diagnostics_HealthChecks_HealthCheckService: never;
139
140
 
140
141
  CheckHealthAsync(cancellationToken?: CancellationToken): Task_1<HealthReport>;
141
- CheckHealthAsync(predicate: Func_2<HealthCheckRegistration, System_Internal.Boolean>, cancellationToken?: CancellationToken): Task_1<HealthReport>;
142
+ CheckHealthAsync(predicate: Func_2<HealthCheckRegistration, System_Internal.Boolean> | null, cancellationToken?: CancellationToken): Task_1<HealthReport>;
142
143
  }
143
144
 
144
145
 
@@ -2,11 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Diagnostics.Metrics
3
3
  // Assembly: Microsoft.Extensions.Diagnostics, Microsoft.Extensions.Diagnostics.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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import type { IConfiguration } from "../../Microsoft.Extensions.Configuration/internal/index.js";
@@ -38,8 +36,8 @@ export interface IMetricsListener$instance {
38
36
  readonly Name: string;
39
37
  GetMeasurementHandlers(): MeasurementHandlers;
40
38
  Initialize(source: IObservableInstrumentsSource): void;
41
- InstrumentPublished(instrument: Instrument, userState: unknown): boolean;
42
- MeasurementsCompleted(instrument: Instrument, userState: unknown): void;
39
+ InstrumentPublished(instrument: Instrument, userState: JsValue | null): boolean;
40
+ MeasurementsCompleted(instrument: Instrument, userState: JsValue | null): void;
43
41
  }
44
42
 
45
43
 
@@ -58,15 +56,15 @@ export interface InstrumentRule$instance {
58
56
  readonly __tsonic_type_Microsoft_Extensions_Diagnostics_Metrics_InstrumentRule: never;
59
57
 
60
58
  readonly Enable: boolean;
61
- readonly InstrumentName: string | undefined;
62
- readonly ListenerName: string | undefined;
63
- readonly MeterName: string | undefined;
59
+ readonly InstrumentName: string | null;
60
+ readonly ListenerName: string | null;
61
+ readonly MeterName: string | null;
64
62
  readonly Scopes: MeterScope;
65
63
  }
66
64
 
67
65
 
68
66
  export const InstrumentRule: {
69
- new(meterName: string, instrumentName: string, listenerName: string, scopes: MeterScope, enable: boolean): InstrumentRule;
67
+ new(meterName: string | null, instrumentName: string | null, listenerName: string | null, scopes: MeterScope, enable: boolean): InstrumentRule;
70
68
  };
71
69
 
72
70
 
@@ -75,20 +73,20 @@ export type InstrumentRule = InstrumentRule$instance;
75
73
  export interface MeasurementHandlers$instance {
76
74
  readonly __tsonic_type_Microsoft_Extensions_Diagnostics_Metrics_MeasurementHandlers: never;
77
75
 
78
- get ByteHandler(): MeasurementCallback_1<System_Internal.Byte> | undefined;
79
- set ByteHandler(value: MeasurementCallback_1<System_Internal.Byte> | undefined);
80
- get DecimalHandler(): MeasurementCallback_1<System_Internal.Decimal> | undefined;
81
- set DecimalHandler(value: MeasurementCallback_1<System_Internal.Decimal> | undefined);
82
- get DoubleHandler(): MeasurementCallback_1<System_Internal.Double> | undefined;
83
- set DoubleHandler(value: MeasurementCallback_1<System_Internal.Double> | undefined);
84
- get FloatHandler(): MeasurementCallback_1<System_Internal.Single> | undefined;
85
- set FloatHandler(value: MeasurementCallback_1<System_Internal.Single> | undefined);
86
- get IntHandler(): MeasurementCallback_1<System_Internal.Int32> | undefined;
87
- set IntHandler(value: MeasurementCallback_1<System_Internal.Int32> | undefined);
88
- get LongHandler(): MeasurementCallback_1<System_Internal.Int64> | undefined;
89
- set LongHandler(value: MeasurementCallback_1<System_Internal.Int64> | undefined);
90
- get ShortHandler(): MeasurementCallback_1<System_Internal.Int16> | undefined;
91
- set ShortHandler(value: MeasurementCallback_1<System_Internal.Int16> | undefined);
76
+ get ByteHandler(): MeasurementCallback_1<System_Internal.Byte> | null;
77
+ set ByteHandler(value: MeasurementCallback_1<System_Internal.Byte> | null);
78
+ get DecimalHandler(): MeasurementCallback_1<System_Internal.Decimal> | null;
79
+ set DecimalHandler(value: MeasurementCallback_1<System_Internal.Decimal> | null);
80
+ get DoubleHandler(): MeasurementCallback_1<System_Internal.Double> | null;
81
+ set DoubleHandler(value: MeasurementCallback_1<System_Internal.Double> | null);
82
+ get FloatHandler(): MeasurementCallback_1<System_Internal.Single> | null;
83
+ set FloatHandler(value: MeasurementCallback_1<System_Internal.Single> | null);
84
+ get IntHandler(): MeasurementCallback_1<System_Internal.Int32> | null;
85
+ set IntHandler(value: MeasurementCallback_1<System_Internal.Int32> | null);
86
+ get LongHandler(): MeasurementCallback_1<System_Internal.Int64> | null;
87
+ set LongHandler(value: MeasurementCallback_1<System_Internal.Int64> | null);
88
+ get ShortHandler(): MeasurementCallback_1<System_Internal.Int16> | null;
89
+ set ShortHandler(value: MeasurementCallback_1<System_Internal.Int16> | null);
92
90
  }
93
91
 
94
92
 
@@ -138,14 +136,14 @@ export abstract class MetricsBuilderExtensions$instance {
138
136
  static AddListener(builder: IMetricsBuilder, listener: IMetricsListener): IMetricsBuilder;
139
137
  static AddListener<T extends IMetricsListener>(builder: IMetricsBuilder): IMetricsBuilder;
140
138
  static ClearListeners(builder: IMetricsBuilder): IMetricsBuilder;
141
- static DisableMetrics(builder: IMetricsBuilder, meterName: string, instrumentName?: string, listenerName?: string, scopes?: MeterScope): IMetricsBuilder;
142
- static DisableMetrics(builder: IMetricsBuilder, meterName: string): IMetricsBuilder;
143
- static DisableMetrics(options: MetricsOptions, meterName: string, instrumentName?: string, listenerName?: string, scopes?: MeterScope): MetricsOptions;
144
- static DisableMetrics(options: MetricsOptions, meterName: string): MetricsOptions;
145
- static EnableMetrics(builder: IMetricsBuilder, meterName: string, instrumentName?: string, listenerName?: string, scopes?: MeterScope): IMetricsBuilder;
146
- static EnableMetrics(builder: IMetricsBuilder, meterName: string): IMetricsBuilder;
147
- static EnableMetrics(options: MetricsOptions, meterName: string, instrumentName?: string, listenerName?: string, scopes?: MeterScope): MetricsOptions;
148
- static EnableMetrics(options: MetricsOptions, meterName: string): MetricsOptions;
139
+ static DisableMetrics(builder: IMetricsBuilder, meterName: string | null, instrumentName?: string | null, listenerName?: string | null, scopes?: MeterScope): IMetricsBuilder;
140
+ static DisableMetrics(builder: IMetricsBuilder, meterName: string | null): IMetricsBuilder;
141
+ static DisableMetrics(options: MetricsOptions, meterName: string | null, instrumentName?: string | null, listenerName?: string | null, scopes?: MeterScope): MetricsOptions;
142
+ static DisableMetrics(options: MetricsOptions, meterName: string | null): MetricsOptions;
143
+ static EnableMetrics(builder: IMetricsBuilder, meterName: string | null, instrumentName?: string | null, listenerName?: string | null, scopes?: MeterScope): IMetricsBuilder;
144
+ static EnableMetrics(builder: IMetricsBuilder, meterName: string | null): IMetricsBuilder;
145
+ static EnableMetrics(options: MetricsOptions, meterName: string | null, instrumentName?: string | null, listenerName?: string | null, scopes?: MeterScope): MetricsOptions;
146
+ static EnableMetrics(options: MetricsOptions, meterName: string | null): MetricsOptions;
149
147
  }
150
148
 
151
149
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Diagnostics.Metrics.Configuration
3
3
  // Assembly: Microsoft.Extensions.Diagnostics
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileProviders
3
3
  // Assembly: Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Extensions.FileProviders.Composite, Microsoft.Extensions.FileProviders.Embedded, Microsoft.Extensions.FileProviders.Physical
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { ExclusionFilters } from "../../Microsoft.Extensions.FileProviders.Physical/internal/index.js";
@@ -68,7 +69,7 @@ export interface CompositeFileProvider$instance extends IFileProvider$instance {
68
69
 
69
70
 
70
71
  export const CompositeFileProvider: {
71
- new(fileProviders: IFileProvider[]): CompositeFileProvider;
72
+ new(fileProviders: IFileProvider[] | null): CompositeFileProvider;
72
73
  new(fileProviders: IEnumerable_1<IFileProvider>): CompositeFileProvider;
73
74
  };
74
75
 
@@ -93,7 +94,7 @@ export interface EmbeddedFileProvider$instance extends IFileProvider$instance {
93
94
 
94
95
  export const EmbeddedFileProvider: {
95
96
  new(assembly: Assembly): EmbeddedFileProvider;
96
- new(assembly: Assembly, baseNamespace: string): EmbeddedFileProvider;
97
+ new(assembly: Assembly, baseNamespace: string | null): EmbeddedFileProvider;
97
98
  };
98
99
 
99
100
 
@@ -190,7 +191,7 @@ export interface NullChangeToken$instance extends Microsoft_Extensions_Primitive
190
191
 
191
192
  readonly ActiveChangeCallbacks: boolean;
192
193
  readonly HasChanged: boolean;
193
- RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
194
+ RegisterChangeCallback(callback: Action_1<JsValue | null>, state: JsValue | null): IDisposable;
194
195
  }
195
196
 
196
197
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileProviders.Composite
3
3
  // Assembly: Microsoft.Extensions.FileProviders.Composite
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_FileProviders_Internal from "../../Microsoft.Extensions.FileProviders/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileProviders.Embedded
3
3
  // Assembly: Microsoft.Extensions.FileProviders.Embedded
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_FileProviders_Internal from "../../Microsoft.Extensions.FileProviders/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileProviders.Internal
3
3
  // Assembly: Microsoft.Extensions.FileProviders.Physical
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { ExclusionFilters } from "../../Microsoft.Extensions.FileProviders.Physical/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileProviders.Physical
3
3
  // Assembly: Microsoft.Extensions.FileProviders.Physical
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_FileProviders_Internal from "../../Microsoft.Extensions.FileProviders/internal/index.js";
@@ -98,8 +99,8 @@ export interface PhysicalFilesWatcher$instance {
98
99
 
99
100
 
100
101
  export const PhysicalFilesWatcher: {
101
- new(root: string, fileSystemWatcher: FileSystemWatcher, pollForChanges: boolean): PhysicalFilesWatcher;
102
- new(root: string, fileSystemWatcher: FileSystemWatcher, pollForChanges: boolean, filters: ExclusionFilters): PhysicalFilesWatcher;
102
+ new(root: string, fileSystemWatcher: FileSystemWatcher | null, pollForChanges: boolean): PhysicalFilesWatcher;
103
+ new(root: string, fileSystemWatcher: FileSystemWatcher | null, pollForChanges: boolean, filters: ExclusionFilters): PhysicalFilesWatcher;
103
104
  };
104
105
 
105
106
 
@@ -113,7 +114,7 @@ export interface PollingFileChangeToken$instance {
113
114
 
114
115
  ActiveChangeCallbacks: boolean;
115
116
  readonly HasChanged: boolean;
116
- RegisterChangeCallback(callback: Action_1<unknown>, state: unknown): IDisposable;
117
+ RegisterChangeCallback(callback: Action_1<JsValue | null>, state: JsValue | null): IDisposable;
117
118
  }
118
119
 
119
120
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileSystemGlobbing
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_FileSystemGlobbing_Abstractions_Internal from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
@@ -20,7 +21,7 @@ export interface FilePatternMatch$instance {
20
21
  readonly Path: string;
21
22
  readonly Stem: string;
22
23
  Equals(other: FilePatternMatch): boolean;
23
- Equals(obj: unknown): boolean;
24
+ Equals(obj: JsValue | null): boolean;
24
25
  GetHashCode(): int;
25
26
  }
26
27
 
@@ -37,15 +38,15 @@ export interface InMemoryDirectoryInfo$instance extends DirectoryInfoBase {
37
38
 
38
39
  readonly FullName: string;
39
40
  readonly Name: string;
40
- readonly ParentDirectory: DirectoryInfoBase | undefined;
41
+ readonly ParentDirectory: DirectoryInfoBase | null;
41
42
  EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
42
43
  GetDirectory(path: string): DirectoryInfoBase;
43
- GetFile(path: string): FileInfoBase | undefined;
44
+ GetFile(path: string): FileInfoBase | null;
44
45
  }
45
46
 
46
47
 
47
48
  export const InMemoryDirectoryInfo: {
48
- new(rootDir: string, files: IEnumerable_1<System_Internal.String>): InMemoryDirectoryInfo;
49
+ new(rootDir: string, files: IEnumerable_1<System_Internal.String> | null): InMemoryDirectoryInfo;
49
50
  };
50
51
 
51
52
 
@@ -89,8 +90,8 @@ export abstract class MatcherExtensions$instance {
89
90
  static AddExcludePatterns(matcher: Matcher, ...excludePatternsGroups: IEnumerable_1<System_Internal.String>[]): void;
90
91
  static AddIncludePatterns(matcher: Matcher, ...includePatternsGroups: IEnumerable_1<System_Internal.String>[]): void;
91
92
  static GetResultsInFullPath(matcher: Matcher, directoryPath: string): IEnumerable_1<System_Internal.String>;
92
- static Match(matcher: Matcher, files: IEnumerable_1<System_Internal.String>): PatternMatchingResult;
93
- static Match(matcher: Matcher, rootDir: string, files: IEnumerable_1<System_Internal.String>): PatternMatchingResult;
93
+ static Match(matcher: Matcher, files: IEnumerable_1<System_Internal.String> | null): PatternMatchingResult;
94
+ static Match(matcher: Matcher, rootDir: string, files: IEnumerable_1<System_Internal.String> | null): PatternMatchingResult;
94
95
  static Match(matcher: Matcher, rootDir: string, file: string): PatternMatchingResult;
95
96
  static Match(matcher: Matcher, file: string): PatternMatchingResult;
96
97
  }
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileSystemGlobbing.Abstractions
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
@@ -15,8 +16,8 @@ export interface DirectoryInfoBase$instance extends FileSystemInfoBase {
15
16
  readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Abstractions_DirectoryInfoBase: never;
16
17
 
17
18
  EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
18
- GetDirectory(path: string): DirectoryInfoBase | undefined;
19
- GetFile(path: string): FileInfoBase | undefined;
19
+ GetDirectory(path: string): DirectoryInfoBase | null;
20
+ GetFile(path: string): FileInfoBase | null;
20
21
  }
21
22
 
22
23
 
@@ -31,9 +32,9 @@ export interface DirectoryInfoWrapper$instance extends DirectoryInfoBase {
31
32
 
32
33
  readonly FullName: string;
33
34
  readonly Name: string;
34
- readonly ParentDirectory: DirectoryInfoBase | undefined;
35
+ readonly ParentDirectory: DirectoryInfoBase | null;
35
36
  EnumerateFileSystemInfos(): IEnumerable_1<FileSystemInfoBase>;
36
- GetDirectory(name: string): DirectoryInfoBase | undefined;
37
+ GetDirectory(name: string): DirectoryInfoBase | null;
37
38
  GetFile(name: string): FileInfoBase;
38
39
  }
39
40
 
@@ -62,7 +63,7 @@ export interface FileInfoWrapper$instance extends FileInfoBase {
62
63
 
63
64
  readonly FullName: string;
64
65
  readonly Name: string;
65
- readonly ParentDirectory: DirectoryInfoBase | undefined;
66
+ readonly ParentDirectory: DirectoryInfoBase | null;
66
67
  }
67
68
 
68
69
 
@@ -78,7 +79,7 @@ export interface FileSystemInfoBase$instance {
78
79
 
79
80
  readonly FullName: string;
80
81
  readonly Name: string;
81
- readonly ParentDirectory: DirectoryInfoBase | undefined;
82
+ readonly ParentDirectory: DirectoryInfoBase | null;
82
83
  }
83
84
 
84
85
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileSystemGlobbing.Internal
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { DirectoryInfoBase, FileInfoBase } from "../../Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.js";
@@ -75,14 +76,14 @@ export interface PatternTestResult$instance {
75
76
  readonly __tsonic_type_Microsoft_Extensions_FileSystemGlobbing_Internal_PatternTestResult: never;
76
77
 
77
78
  readonly IsSuccessful: boolean;
78
- readonly Stem: string | undefined;
79
+ readonly Stem: string | null;
79
80
  }
80
81
 
81
82
 
82
83
  export const PatternTestResult: {
83
84
  new(): PatternTestResult;
84
85
  readonly Failed: PatternTestResult;
85
- Success(stem: string): PatternTestResult;
86
+ Success(stem: string | null): PatternTestResult;
86
87
  };
87
88
 
88
89
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments
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 { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_FileSystemGlobbing_Internal_Internal from "../../Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.js";
@@ -41,7 +42,7 @@ export interface LiteralPathSegment$instance extends Microsoft_Extensions_FileSy
41
42
 
42
43
  readonly CanProduceStem: boolean;
43
44
  readonly Value: string;
44
- Equals(obj: unknown): boolean;
45
+ Equals(obj: JsValue | null): boolean;
45
46
  GetHashCode(): int;
46
47
  Match(value: string): boolean;
47
48
  }