@tsonic/microsoft-extensions 10.0.2 → 10.0.3

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 (37) hide show
  1. package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +3 -3
  2. package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +1 -2
  3. package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +7 -11
  4. package/Microsoft.Extensions.Configuration/internal/index.d.ts +25 -37
  5. package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +1 -1
  6. package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +1 -1
  7. package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +1 -1
  8. package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +1 -1
  9. package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +3 -8
  10. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +1 -2
  11. package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +2 -3
  12. package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +7 -7
  13. package/Microsoft.Extensions.FileProviders/internal/index.d.ts +2 -7
  14. package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +4 -12
  15. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +3 -6
  16. package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +1 -1
  17. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +5 -8
  18. package/Microsoft.Extensions.Hosting/internal/index.d.ts +13 -13
  19. package/Microsoft.Extensions.Http/internal/index.d.ts +3 -3
  20. package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +6 -14
  21. package/Microsoft.Extensions.Localization/internal/index.d.ts +8 -12
  22. package/Microsoft.Extensions.Logging/internal/index.d.ts +4 -8
  23. package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +2 -5
  24. package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +6 -7
  25. package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +4 -4
  26. package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +2 -7
  27. package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +3 -6
  28. package/Microsoft.Extensions.Options/internal/index.d.ts +24 -27
  29. package/Microsoft.Extensions.Primitives/internal/index.d.ts +3 -4
  30. package/Microsoft.Extensions.Validation/internal/index.d.ts +11 -26
  31. package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +1 -1
  32. package/System.Diagnostics/internal/index.d.ts +9 -22
  33. package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +26 -76
  34. package/System.Security.Cryptography/internal/index.d.ts +1 -2
  35. package/System.Security.Cryptography.Pkcs/internal/index.d.ts +11 -27
  36. package/System.Security.Cryptography.Xml/internal/index.d.ts +77 -115
  37. package/package.json +1 -1
@@ -16,7 +16,7 @@ import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
16
16
  import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
17
17
 
18
18
  export interface IBufferDistributedCache$instance extends IDistributedCache {
19
- Get(key: string): byte[];
19
+ Get(key: string): byte[] | undefined;
20
20
  GetAsync(key: string, token?: CancellationToken): Task<byte[] | undefined>;
21
21
  Refresh(key: string): void;
22
22
  RefreshAsync(key: string, token?: CancellationToken): Task;
@@ -32,7 +32,7 @@ export interface IBufferDistributedCache$instance extends IDistributedCache {
32
32
  export type IBufferDistributedCache = IBufferDistributedCache$instance;
33
33
 
34
34
  export interface IDistributedCache$instance {
35
- Get(key: string): byte[];
35
+ Get(key: string): byte[] | undefined;
36
36
  GetAsync(key: string, token?: CancellationToken): Task<byte[] | undefined>;
37
37
  Refresh(key: string): void;
38
38
  RefreshAsync(key: string, token?: CancellationToken): Task;
@@ -58,7 +58,7 @@ export const DistributedCacheEntryOptions: {
58
58
  export type DistributedCacheEntryOptions = DistributedCacheEntryOptions$instance;
59
59
 
60
60
  export interface MemoryDistributedCache$instance {
61
- Get(key: string): byte[];
61
+ Get(key: string): byte[] | undefined;
62
62
  GetAsync(key: string, token?: CancellationToken): Task<byte[] | undefined>;
63
63
  Refresh(key: string): void;
64
64
  RefreshAsync(key: string, token?: CancellationToken): Task;
@@ -60,8 +60,7 @@ export interface HybridCache$instance {
60
60
  }
61
61
 
62
62
 
63
- export const HybridCache: {
64
- new(): HybridCache;
63
+ export const HybridCache: (abstract new() => HybridCache) & {
65
64
  };
66
65
 
67
66
 
@@ -45,7 +45,7 @@ export type PostEvictionDelegate = (key: unknown, value: unknown, reason: Evicti
45
45
  export interface ICacheEntry$instance extends IDisposable {
46
46
  readonly Key: unknown;
47
47
  get Value(): unknown | undefined;
48
- set Value(value: unknown);
48
+ set Value(value: unknown | undefined);
49
49
  AbsoluteExpiration: Nullable<DateTimeOffset>;
50
50
  AbsoluteExpirationRelativeToNow: Nullable<TimeSpan>;
51
51
  SlidingExpiration: Nullable<TimeSpan>;
@@ -68,19 +68,15 @@ export interface IMemoryCache$instance extends IDisposable {
68
68
 
69
69
  export type IMemoryCache = IMemoryCache$instance;
70
70
 
71
- export abstract class MemoryCache$protected {
72
- protected Dispose(disposing: boolean): void;
73
- protected Finalize(): void;
74
- }
75
-
76
-
77
- export interface MemoryCache$instance extends MemoryCache$protected {
71
+ export interface MemoryCache$instance {
78
72
  readonly Count: int;
79
73
  readonly Keys: IEnumerable<unknown>;
80
74
  Clear(): void;
81
75
  Compact(percentage: double): void;
82
76
  CreateEntry(key: unknown): ICacheEntry;
83
77
  Dispose(): void;
78
+ Dispose(disposing: boolean): void;
79
+ Finalize(): void;
84
80
  GetCurrentStatistics(): MemoryCacheStatistics | undefined;
85
81
  Remove(key: unknown): void;
86
82
  TryGetValue(key: unknown, result: unknown): boolean;
@@ -122,7 +118,7 @@ export type MemoryCacheEntryOptions = MemoryCacheEntryOptions$instance;
122
118
 
123
119
  export interface MemoryCacheOptions$instance {
124
120
  get Clock(): ISystemClock | undefined;
125
- set Clock(value: ISystemClock);
121
+ set Clock(value: ISystemClock | undefined);
126
122
  CompactionPercentage: double;
127
123
  CompactOnMemoryPressure: boolean;
128
124
  ExpirationScanFrequency: TimeSpan;
@@ -181,9 +177,9 @@ export type MemoryDistributedCacheOptions = MemoryDistributedCacheOptions$instan
181
177
 
182
178
  export interface PostEvictionCallbackRegistration$instance {
183
179
  get EvictionCallback(): PostEvictionDelegate | undefined;
184
- set EvictionCallback(value: PostEvictionDelegate);
180
+ set EvictionCallback(value: PostEvictionDelegate | undefined);
185
181
  get State(): unknown | undefined;
186
- set State(value: unknown);
182
+ set State(value: unknown | undefined);
187
183
  }
188
184
 
189
185
 
@@ -26,8 +26,7 @@ import type { Action, Attribute, Boolean as ClrBoolean, Exception, Func, IDispos
26
26
  import type { Assembly } from "@tsonic/dotnet/System.Reflection.js";
27
27
 
28
28
  export interface IConfiguration$instance {
29
- get Item(): string | undefined;
30
- set Item(value: string);
29
+ [key: string]: string | undefined;
31
30
  GetChildren(): IEnumerable<IConfigurationSection>;
32
31
  GetReloadToken(): IChangeToken;
33
32
  GetSection(key: string): IConfigurationSection;
@@ -47,8 +46,7 @@ export interface IConfigurationBuilder$instance {
47
46
  export type IConfigurationBuilder = IConfigurationBuilder$instance;
48
47
 
49
48
  export interface IConfigurationManager$instance extends IConfiguration, IConfigurationBuilder {
50
- get Item(): string | undefined;
51
- set Item(value: string);
49
+ [key: string]: string | undefined;
52
50
  readonly Properties: IDictionary<System_Internal.String, unknown>;
53
51
  readonly Sources: IList<IConfigurationSource>;
54
52
  Add(source: IConfigurationSource): IConfigurationBuilder;
@@ -76,8 +74,7 @@ export type IConfigurationProvider = IConfigurationProvider$instance;
76
74
 
77
75
  export interface IConfigurationRoot$instance extends IConfiguration {
78
76
  readonly Providers: IEnumerable<IConfigurationProvider>;
79
- get Item(): string | undefined;
80
- set Item(value: string);
77
+ [key: string]: string | undefined;
81
78
  GetChildren(): IEnumerable<IConfigurationSection>;
82
79
  GetReloadToken(): IChangeToken;
83
80
  GetSection(key: string): IConfigurationSection;
@@ -92,9 +89,9 @@ export type IConfigurationRoot = IConfigurationRoot$instance;
92
89
  export interface IConfigurationSection$instance extends IConfiguration {
93
90
  readonly Key: string;
94
91
  readonly Path: string;
95
- Value: string;
96
- get Item(): string | undefined;
97
- set Item(value: string);
92
+ get Value(): string | undefined;
93
+ set Value(value: string | undefined);
94
+ [key: string]: string | undefined;
98
95
  GetChildren(): IEnumerable<IConfigurationSection>;
99
96
  GetReloadToken(): IChangeToken;
100
97
  GetSection(key: string): IConfigurationSection;
@@ -166,7 +163,8 @@ export type ChainedConfigurationProvider = ChainedConfigurationProvider$instance
166
163
 
167
164
 
168
165
  export interface ChainedConfigurationSource$instance {
169
- Configuration: IConfiguration;
166
+ get Configuration(): IConfiguration | undefined;
167
+ set Configuration(value: IConfiguration | undefined);
170
168
  ShouldDisposeConfiguration: boolean;
171
169
  Build(builder: IConfigurationBuilder): IConfigurationProvider;
172
170
  }
@@ -234,8 +232,7 @@ export const ConfigurationKeyNameAttribute: {
234
232
  export type ConfigurationKeyNameAttribute = ConfigurationKeyNameAttribute$instance;
235
233
 
236
234
  export interface ConfigurationManager$instance {
237
- get Item(): string | undefined;
238
- set Item(value: string);
235
+ [key: string]: string | undefined;
239
236
  readonly Sources: IList<IConfigurationSource>;
240
237
  Dispose(): void;
241
238
  GetChildren(): IEnumerable<IConfigurationSection>;
@@ -267,8 +264,7 @@ export interface ConfigurationProvider$instance {
267
264
  }
268
265
 
269
266
 
270
- export const ConfigurationProvider: {
271
- new(): ConfigurationProvider;
267
+ export const ConfigurationProvider: (abstract new() => ConfigurationProvider) & {
272
268
  };
273
269
 
274
270
 
@@ -302,8 +298,7 @@ export type ConfigurationReloadToken = ConfigurationReloadToken$instance & __Con
302
298
 
303
299
 
304
300
  export interface ConfigurationRoot$instance {
305
- get Item(): string | undefined;
306
- set Item(value: string);
301
+ [key: string]: string | undefined;
307
302
  readonly Providers: IEnumerable<IConfigurationProvider>;
308
303
  Dispose(): void;
309
304
  GetChildren(): IEnumerable<IConfigurationSection>;
@@ -327,11 +322,11 @@ export type ConfigurationRoot = ConfigurationRoot$instance & __ConfigurationRoot
327
322
 
328
323
 
329
324
  export interface ConfigurationSection$instance {
330
- get Item(): string | undefined;
331
- set Item(value: string);
325
+ [key: string]: string | undefined;
332
326
  readonly Key: string;
333
327
  readonly Path: string;
334
- Value: string;
328
+ get Value(): string | undefined;
329
+ set Value(value: string | undefined);
335
330
  GetChildren(): IEnumerable<IConfigurationSection>;
336
331
  GetReloadToken(): IChangeToken;
337
332
  GetSection(key: string): IConfigurationSection;
@@ -352,14 +347,10 @@ export interface __ConfigurationSection$views {
352
347
  export type ConfigurationSection = ConfigurationSection$instance & __ConfigurationSection$views;
353
348
 
354
349
 
355
- export abstract class FileConfigurationProvider$protected {
356
- protected Dispose(disposing: boolean): void;
357
- }
358
-
359
-
360
- export interface FileConfigurationProvider$instance extends FileConfigurationProvider$protected, ConfigurationProvider$instance {
350
+ export interface FileConfigurationProvider$instance extends ConfigurationProvider$instance {
361
351
  readonly Source: FileConfigurationSource;
362
352
  Dispose(): void;
353
+ Dispose(disposing: boolean): void;
363
354
  GetChildKeys(earlierKeys: IEnumerable<System_Internal.String>, parentPath: string): IEnumerable<System_Internal.String>;
364
355
  GetReloadToken(): IChangeToken;
365
356
  Load(): void;
@@ -369,8 +360,7 @@ export interface FileConfigurationProvider$instance extends FileConfigurationPro
369
360
  }
370
361
 
371
362
 
372
- export const FileConfigurationProvider: {
373
- new(source: FileConfigurationSource): FileConfigurationProvider;
363
+ export const FileConfigurationProvider: (abstract new(source: FileConfigurationSource) => FileConfigurationProvider) & {
374
364
  };
375
365
 
376
366
 
@@ -383,11 +373,12 @@ export type FileConfigurationProvider = FileConfigurationProvider$instance & __F
383
373
 
384
374
  export interface FileConfigurationSource$instance {
385
375
  get FileProvider(): IFileProvider | undefined;
386
- set FileProvider(value: IFileProvider);
376
+ set FileProvider(value: IFileProvider | undefined);
387
377
  get OnLoadException(): Action<FileLoadExceptionContext> | undefined;
388
- set OnLoadException(value: Action<FileLoadExceptionContext>);
378
+ set OnLoadException(value: Action<FileLoadExceptionContext> | undefined);
389
379
  Optional: boolean;
390
- Path: string;
380
+ get Path(): string | undefined;
381
+ set Path(value: string | undefined);
391
382
  ReloadDelay: int;
392
383
  ReloadOnChange: boolean;
393
384
  Build(builder: IConfigurationBuilder): IConfigurationProvider;
@@ -396,8 +387,7 @@ export interface FileConfigurationSource$instance {
396
387
  }
397
388
 
398
389
 
399
- export const FileConfigurationSource: {
400
- new(): FileConfigurationSource;
390
+ export const FileConfigurationSource: (abstract new() => FileConfigurationSource) & {
401
391
  };
402
392
 
403
393
 
@@ -434,8 +424,7 @@ export interface StreamConfigurationProvider$instance extends ConfigurationProvi
434
424
  }
435
425
 
436
426
 
437
- export const StreamConfigurationProvider: {
438
- new(source: StreamConfigurationSource): StreamConfigurationProvider;
427
+ export const StreamConfigurationProvider: (abstract new(source: StreamConfigurationSource) => StreamConfigurationProvider) & {
439
428
  };
440
429
 
441
430
 
@@ -448,13 +437,12 @@ export type StreamConfigurationProvider = StreamConfigurationProvider$instance &
448
437
 
449
438
  export interface StreamConfigurationSource$instance {
450
439
  get Stream(): Stream | undefined;
451
- set Stream(value: Stream);
440
+ set Stream(value: Stream | undefined);
452
441
  Build(builder: IConfigurationBuilder): IConfigurationProvider;
453
442
  }
454
443
 
455
444
 
456
- export const StreamConfigurationSource: {
457
- new(): StreamConfigurationSource;
445
+ export const StreamConfigurationSource: (abstract new() => StreamConfigurationSource) & {
458
446
  };
459
447
 
460
448
 
@@ -40,7 +40,7 @@ export type CommandLineConfigurationProvider = CommandLineConfigurationProvider$
40
40
  export interface CommandLineConfigurationSource$instance {
41
41
  Args: IEnumerable<System_Internal.String>;
42
42
  get SwitchMappings(): IDictionary<System_Internal.String, System_Internal.String> | undefined;
43
- set SwitchMappings(value: IDictionary<System_Internal.String, System_Internal.String>);
43
+ set SwitchMappings(value: IDictionary<System_Internal.String, System_Internal.String> | undefined);
44
44
  Build(builder: IConfigurationBuilder): IConfigurationProvider;
45
45
  }
46
46
 
@@ -41,7 +41,7 @@ export type EnvironmentVariablesConfigurationProvider = EnvironmentVariablesConf
41
41
 
42
42
  export interface EnvironmentVariablesConfigurationSource$instance {
43
43
  get Prefix(): string | undefined;
44
- set Prefix(value: string);
44
+ set Prefix(value: string | undefined);
45
45
  Build(builder: IConfigurationBuilder): IConfigurationProvider;
46
46
  }
47
47
 
@@ -42,7 +42,7 @@ export type KeyPerFileConfigurationProvider = KeyPerFileConfigurationProvider$in
42
42
 
43
43
  export interface KeyPerFileConfigurationSource$instance {
44
44
  get FileProvider(): IFileProvider | undefined;
45
- set FileProvider(value: IFileProvider);
45
+ set FileProvider(value: IFileProvider | undefined);
46
46
  IgnoreCondition: Func<System_Internal.String, System_Internal.Boolean>;
47
47
  IgnorePrefix: string;
48
48
  Optional: boolean;
@@ -44,7 +44,7 @@ export type MemoryConfigurationProvider = MemoryConfigurationProvider$instance &
44
44
 
45
45
  export interface MemoryConfigurationSource$instance {
46
46
  get InitialData(): IEnumerable__System_Collections_Generic<KeyValuePair<System_Internal.String, System_Internal.String>> | undefined;
47
- set InitialData(value: IEnumerable__System_Collections_Generic<KeyValuePair<System_Internal.String, System_Internal.String>>);
47
+ set InitialData(value: IEnumerable__System_Collections_Generic<KeyValuePair<System_Internal.String, System_Internal.String>> | undefined);
48
48
  Build(builder: IConfigurationBuilder): IConfigurationProvider;
49
49
  }
50
50
 
@@ -58,18 +58,13 @@ export interface __XmlConfigurationSource$views {
58
58
  export type XmlConfigurationSource = XmlConfigurationSource$instance & __XmlConfigurationSource$views;
59
59
 
60
60
 
61
- export abstract class XmlDocumentDecryptor$protected {
62
- protected DecryptDocumentAndCreateXmlReader(document: XmlDocument): XmlReader;
63
- }
64
-
65
-
66
- export interface XmlDocumentDecryptor$instance extends XmlDocumentDecryptor$protected {
61
+ export interface XmlDocumentDecryptor$instance {
67
62
  CreateDecryptingXmlReader(input: Stream, settings: XmlReaderSettings): XmlReader;
63
+ DecryptDocumentAndCreateXmlReader(document: XmlDocument): XmlReader;
68
64
  }
69
65
 
70
66
 
71
- export const XmlDocumentDecryptor: {
72
- new(): XmlDocumentDecryptor;
67
+ export const XmlDocumentDecryptor: (abstract new() => XmlDocumentDecryptor) & {
73
68
  readonly Instance: XmlDocumentDecryptor;
74
69
  };
75
70
 
@@ -203,7 +203,7 @@ export type FromKeyedServicesAttribute = FromKeyedServicesAttribute$instance;
203
203
  export interface ServiceCollection$instance extends IServiceCollection {
204
204
  readonly Count: int;
205
205
  readonly IsReadOnly: boolean;
206
- Item: ServiceDescriptor;
206
+ [index: number]: ServiceDescriptor;
207
207
  Clear(): void;
208
208
  Contains(item: ServiceDescriptor): boolean;
209
209
  CopyTo(array: ServiceDescriptor[], arrayIndex: int): void;
@@ -303,7 +303,6 @@ export interface ServiceProvider$instance {
303
303
 
304
304
 
305
305
  export const ServiceProvider: {
306
- new(): ServiceProvider;
307
306
  };
308
307
 
309
308
 
@@ -85,7 +85,7 @@ export interface HealthCheckPublisherOptions$instance {
85
85
  Delay: TimeSpan;
86
86
  Period: TimeSpan;
87
87
  get Predicate(): Func<HealthCheckRegistration, System_Internal.Boolean> | undefined;
88
- set Predicate(value: Func<HealthCheckRegistration, System_Internal.Boolean>);
88
+ set Predicate(value: Func<HealthCheckRegistration, System_Internal.Boolean> | undefined);
89
89
  Timeout: TimeSpan;
90
90
  }
91
91
 
@@ -124,8 +124,7 @@ export interface HealthCheckService$instance {
124
124
  }
125
125
 
126
126
 
127
- export const HealthCheckService: {
128
- new(): HealthCheckService;
127
+ export const HealthCheckService: (abstract new() => HealthCheckService) & {
129
128
  };
130
129
 
131
130
 
@@ -66,19 +66,19 @@ export type InstrumentRule = InstrumentRule$instance;
66
66
 
67
67
  export interface MeasurementHandlers$instance {
68
68
  get ByteHandler(): MeasurementCallback<System_Internal.Byte> | undefined;
69
- set ByteHandler(value: MeasurementCallback<System_Internal.Byte>);
69
+ set ByteHandler(value: MeasurementCallback<System_Internal.Byte> | undefined);
70
70
  get DecimalHandler(): MeasurementCallback<System_Internal.Decimal> | undefined;
71
- set DecimalHandler(value: MeasurementCallback<System_Internal.Decimal>);
71
+ set DecimalHandler(value: MeasurementCallback<System_Internal.Decimal> | undefined);
72
72
  get DoubleHandler(): MeasurementCallback<System_Internal.Double> | undefined;
73
- set DoubleHandler(value: MeasurementCallback<System_Internal.Double>);
73
+ set DoubleHandler(value: MeasurementCallback<System_Internal.Double> | undefined);
74
74
  get FloatHandler(): MeasurementCallback<System_Internal.Single> | undefined;
75
- set FloatHandler(value: MeasurementCallback<System_Internal.Single>);
75
+ set FloatHandler(value: MeasurementCallback<System_Internal.Single> | undefined);
76
76
  get IntHandler(): MeasurementCallback<System_Internal.Int32> | undefined;
77
- set IntHandler(value: MeasurementCallback<System_Internal.Int32>);
77
+ set IntHandler(value: MeasurementCallback<System_Internal.Int32> | undefined);
78
78
  get LongHandler(): MeasurementCallback<System_Internal.Int64> | undefined;
79
- set LongHandler(value: MeasurementCallback<System_Internal.Int64>);
79
+ set LongHandler(value: MeasurementCallback<System_Internal.Int64> | undefined);
80
80
  get ShortHandler(): MeasurementCallback<System_Internal.Int16> | undefined;
81
- set ShortHandler(value: MeasurementCallback<System_Internal.Int16>);
81
+ set ShortHandler(value: MeasurementCallback<System_Internal.Int16> | undefined);
82
82
  }
83
83
 
84
84
 
@@ -171,7 +171,6 @@ export interface NullChangeToken$instance {
171
171
 
172
172
 
173
173
  export const NullChangeToken: {
174
- new(): NullChangeToken;
175
174
  readonly Singleton: NullChangeToken;
176
175
  };
177
176
 
@@ -206,16 +205,12 @@ export interface NullFileProvider$instance extends IFileProvider$instance {}
206
205
  export type NullFileProvider = NullFileProvider$instance & __NullFileProvider$views;
207
206
 
208
207
 
209
- export abstract class PhysicalFileProvider$protected {
210
- protected Dispose(disposing: boolean): void;
211
- }
212
-
213
-
214
- export interface PhysicalFileProvider$instance extends PhysicalFileProvider$protected {
208
+ export interface PhysicalFileProvider$instance {
215
209
  readonly Root: string;
216
210
  UseActivePolling: boolean;
217
211
  UsePollingFileWatcher: boolean;
218
212
  Dispose(): void;
213
+ Dispose(disposing: boolean): void;
219
214
  GetDirectoryContents(subpath: string): IDirectoryContents;
220
215
  GetFileInfo(subpath: string): IFileInfo;
221
216
  Watch(filter: string): IChangeToken;
@@ -79,14 +79,10 @@ export interface PhysicalFileInfo$instance extends Microsoft_Extensions_FileProv
79
79
  export type PhysicalFileInfo = PhysicalFileInfo$instance & __PhysicalFileInfo$views;
80
80
 
81
81
 
82
- export abstract class PhysicalFilesWatcher$protected {
83
- protected Dispose(disposing: boolean): void;
84
- }
85
-
86
-
87
- export interface PhysicalFilesWatcher$instance extends PhysicalFilesWatcher$protected {
82
+ export interface PhysicalFilesWatcher$instance {
88
83
  CreateFileChangeToken(filter: string): IChangeToken;
89
84
  Dispose(): void;
85
+ Dispose(disposing: boolean): void;
90
86
  }
91
87
 
92
88
 
@@ -117,14 +113,10 @@ export interface __PollingFileChangeToken$views {
117
113
  export type PollingFileChangeToken = PollingFileChangeToken$instance & __PollingFileChangeToken$views;
118
114
 
119
115
 
120
- export abstract class PollingWildCardChangeToken$protected {
121
- protected GetLastWriteUtc(path: string): DateTime;
122
- }
123
-
124
-
125
- export interface PollingWildCardChangeToken$instance extends PollingWildCardChangeToken$protected {
116
+ export interface PollingWildCardChangeToken$instance {
126
117
  ActiveChangeCallbacks: boolean;
127
118
  readonly HasChanged: boolean;
119
+ GetLastWriteUtc(path: string): DateTime;
128
120
  }
129
121
 
130
122
 
@@ -18,8 +18,7 @@ export interface DirectoryInfoBase$instance extends FileSystemInfoBase {
18
18
  }
19
19
 
20
20
 
21
- export const DirectoryInfoBase: {
22
- new(): DirectoryInfoBase;
21
+ export const DirectoryInfoBase: (abstract new() => DirectoryInfoBase) & {
23
22
  };
24
23
 
25
24
 
@@ -46,8 +45,7 @@ export interface FileInfoBase$instance extends FileSystemInfoBase {
46
45
  }
47
46
 
48
47
 
49
- export const FileInfoBase: {
50
- new(): FileInfoBase;
48
+ export const FileInfoBase: (abstract new() => FileInfoBase) & {
51
49
  };
52
50
 
53
51
 
@@ -74,8 +72,7 @@ export interface FileSystemInfoBase$instance {
74
72
  }
75
73
 
76
74
 
77
- export const FileSystemInfoBase: {
78
- new(): FileSystemInfoBase;
75
+ export const FileSystemInfoBase: (abstract new() => FileSystemInfoBase) & {
79
76
  };
80
77
 
81
78
 
@@ -63,7 +63,7 @@ export type IRaggedPattern = IRaggedPattern$instance;
63
63
 
64
64
  export interface PatternTestResult$instance {
65
65
  readonly IsSuccessful: boolean;
66
- readonly Stem: string;
66
+ readonly Stem: string | undefined;
67
67
  }
68
68
 
69
69
 
@@ -17,7 +17,7 @@ export interface PatternContextLinear_FrameData$instance {
17
17
  IsNotApplicable: boolean;
18
18
  SegmentIndex: int;
19
19
  InStem: boolean;
20
- readonly Stem: string;
20
+ readonly Stem: string | undefined;
21
21
  readonly StemItems: IList<System_Internal.String>;
22
22
  }
23
23
 
@@ -36,7 +36,7 @@ export interface PatternContextRagged_FrameData$instance {
36
36
  BacktrackAvailable: int;
37
37
  SegmentIndex: int;
38
38
  InStem: boolean;
39
- readonly Stem: string;
39
+ readonly Stem: string | undefined;
40
40
  readonly StemItems: IList<System_Internal.String>;
41
41
  }
42
42
 
@@ -57,8 +57,7 @@ export interface PatternContext_1$instance<TFrame extends unknown> {
57
57
  }
58
58
 
59
59
 
60
- export const PatternContext_1: {
61
- new<TFrame extends unknown>(): PatternContext_1<TFrame>;
60
+ export const PatternContext_1: (abstract new<TFrame extends unknown>() => PatternContext_1<TFrame>) & {
62
61
  };
63
62
 
64
63
 
@@ -78,8 +77,7 @@ export interface PatternContextLinear$instance extends PatternContext_1$instance
78
77
  }
79
78
 
80
79
 
81
- export const PatternContextLinear: {
82
- new(pattern: ILinearPattern): PatternContextLinear;
80
+ export const PatternContextLinear: (abstract new(pattern: ILinearPattern) => PatternContextLinear) & {
83
81
  };
84
82
 
85
83
 
@@ -142,8 +140,7 @@ export interface PatternContextRagged$instance extends PatternContext_1$instance
142
140
  }
143
141
 
144
142
 
145
- export const PatternContextRagged: {
146
- new(pattern: IRaggedPattern): PatternContextRagged;
143
+ export const PatternContextRagged: (abstract new(pattern: IRaggedPattern) => PatternContextRagged) & {
147
144
  };
148
145
 
149
146
 
@@ -122,21 +122,16 @@ export interface IHostLifetime$instance {
122
122
 
123
123
  export type IHostLifetime = IHostLifetime$instance;
124
124
 
125
- export abstract class BackgroundService$protected {
126
- protected abstract ExecuteAsync(stoppingToken: CancellationToken): Task;
127
- }
128
-
129
-
130
- export interface BackgroundService$instance extends BackgroundService$protected {
125
+ export interface BackgroundService$instance {
131
126
  readonly ExecuteTask: Task | undefined;
132
127
  Dispose(): void;
128
+ ExecuteAsync(stoppingToken: CancellationToken): Task;
133
129
  StartAsync(cancellationToken: CancellationToken): Task;
134
130
  StopAsync(cancellationToken: CancellationToken): Task;
135
131
  }
136
132
 
137
133
 
138
- export const BackgroundService: {
139
- new(): BackgroundService;
134
+ export const BackgroundService: (abstract new() => BackgroundService) & {
140
135
  };
141
136
 
142
137
 
@@ -200,12 +195,17 @@ export type HostApplicationBuilder = HostApplicationBuilder$instance & __HostApp
200
195
 
201
196
 
202
197
  export interface HostApplicationBuilderSettings$instance {
203
- ApplicationName: string;
204
- Args: string[];
205
- Configuration: ConfigurationManager;
206
- ContentRootPath: string;
198
+ get ApplicationName(): string | undefined;
199
+ set ApplicationName(value: string | undefined);
200
+ get Args(): string[] | undefined;
201
+ set Args(value: string[] | undefined);
202
+ get Configuration(): ConfigurationManager | undefined;
203
+ set Configuration(value: ConfigurationManager | undefined);
204
+ get ContentRootPath(): string | undefined;
205
+ set ContentRootPath(value: string | undefined);
207
206
  DisableDefaults: boolean;
208
- EnvironmentName: string;
207
+ get EnvironmentName(): string | undefined;
208
+ set EnvironmentName(value: string | undefined);
209
209
  }
210
210
 
211
211
 
@@ -43,15 +43,15 @@ export type HttpClientFactoryOptions = HttpClientFactoryOptions$instance;
43
43
 
44
44
  export interface HttpMessageHandlerBuilder$instance {
45
45
  readonly AdditionalHandlers: IList<DelegatingHandler>;
46
- Name: string;
46
+ get Name(): string | undefined;
47
+ set Name(value: string | undefined);
47
48
  PrimaryHandler: HttpMessageHandler;
48
49
  readonly Services: IServiceProvider;
49
50
  Build(): HttpMessageHandler;
50
51
  }
51
52
 
52
53
 
53
- export const HttpMessageHandlerBuilder: {
54
- new(): HttpMessageHandlerBuilder;
54
+ export const HttpMessageHandlerBuilder: (abstract new() => HttpMessageHandlerBuilder) & {
55
55
  CreateHandlerPipeline(primaryHandler: HttpMessageHandler, additionalHandlers: IEnumerable<DelegatingHandler>): HttpMessageHandler;
56
56
  };
57
57
 
@@ -38,13 +38,9 @@ export interface IHttpClientLogger$instance {
38
38
 
39
39
  export type IHttpClientLogger = IHttpClientLogger$instance;
40
40
 
41
- export abstract class LoggingHttpMessageHandler$protected {
42
- protected Send(request: HttpRequestMessage, cancellationToken: CancellationToken): HttpResponseMessage;
43
- protected SendAsync(request: HttpRequestMessage, cancellationToken: CancellationToken): Task<HttpResponseMessage>;
44
- }
45
-
46
-
47
- export interface LoggingHttpMessageHandler$instance extends LoggingHttpMessageHandler$protected, DelegatingHandler {
41
+ export interface LoggingHttpMessageHandler$instance extends DelegatingHandler {
42
+ Send(request: HttpRequestMessage, cancellationToken: CancellationToken): HttpResponseMessage;
43
+ SendAsync(request: HttpRequestMessage, cancellationToken: CancellationToken): Task<HttpResponseMessage>;
48
44
  }
49
45
 
50
46
 
@@ -56,13 +52,9 @@ export const LoggingHttpMessageHandler: {
56
52
 
57
53
  export type LoggingHttpMessageHandler = LoggingHttpMessageHandler$instance;
58
54
 
59
- export abstract class LoggingScopeHttpMessageHandler$protected {
60
- protected Send(request: HttpRequestMessage, cancellationToken: CancellationToken): HttpResponseMessage;
61
- protected SendAsync(request: HttpRequestMessage, cancellationToken: CancellationToken): Task<HttpResponseMessage>;
62
- }
63
-
64
-
65
- export interface LoggingScopeHttpMessageHandler$instance extends LoggingScopeHttpMessageHandler$protected, DelegatingHandler {
55
+ export interface LoggingScopeHttpMessageHandler$instance extends DelegatingHandler {
56
+ Send(request: HttpRequestMessage, cancellationToken: CancellationToken): HttpResponseMessage;
57
+ SendAsync(request: HttpRequestMessage, cancellationToken: CancellationToken): Task<HttpResponseMessage>;
66
58
  }
67
59
 
68
60