@tsonic/microsoft-extensions 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/Microsoft.Extensions.Caching.Distributed/bindings.json +1214 -0
- package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +109 -0
- package/Microsoft.Extensions.Caching.Distributed/internal/metadata.json +835 -0
- package/Microsoft.Extensions.Caching.Distributed.d.ts +26 -0
- package/Microsoft.Extensions.Caching.Distributed.js +9 -0
- package/Microsoft.Extensions.Caching.Hybrid/bindings.json +738 -0
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +82 -0
- package/Microsoft.Extensions.Caching.Hybrid/internal/metadata.json +476 -0
- package/Microsoft.Extensions.Caching.Hybrid.d.ts +21 -0
- package/Microsoft.Extensions.Caching.Hybrid.js +9 -0
- package/Microsoft.Extensions.Caching.Memory/bindings.json +2741 -0
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +238 -0
- package/Microsoft.Extensions.Caching.Memory/internal/metadata.json +1740 -0
- package/Microsoft.Extensions.Caching.Memory.d.ts +35 -0
- package/Microsoft.Extensions.Caching.Memory.js +9 -0
- package/Microsoft.Extensions.Configuration/bindings.json +6692 -0
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +616 -0
- package/Microsoft.Extensions.Configuration/internal/metadata.json +4603 -0
- package/Microsoft.Extensions.Configuration.CommandLine/bindings.json +440 -0
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +61 -0
- package/Microsoft.Extensions.Configuration.CommandLine/internal/metadata.json +295 -0
- package/Microsoft.Extensions.Configuration.CommandLine.d.ts +16 -0
- package/Microsoft.Extensions.Configuration.CommandLine.js +9 -0
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/bindings.json +449 -0
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +62 -0
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/metadata.json +301 -0
- package/Microsoft.Extensions.Configuration.EnvironmentVariables.d.ts +16 -0
- package/Microsoft.Extensions.Configuration.EnvironmentVariables.js +9 -0
- package/Microsoft.Extensions.Configuration.Ini/bindings.json +973 -0
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +99 -0
- package/Microsoft.Extensions.Configuration.Ini/internal/metadata.json +568 -0
- package/Microsoft.Extensions.Configuration.Ini.d.ts +20 -0
- package/Microsoft.Extensions.Configuration.Ini.js +9 -0
- package/Microsoft.Extensions.Configuration.Json/bindings.json +949 -0
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +98 -0
- package/Microsoft.Extensions.Configuration.Json/internal/metadata.json +552 -0
- package/Microsoft.Extensions.Configuration.Json.d.ts +20 -0
- package/Microsoft.Extensions.Configuration.Json.js +9 -0
- package/Microsoft.Extensions.Configuration.KeyPerFile/bindings.json +598 -0
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +69 -0
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/metadata.json +402 -0
- package/Microsoft.Extensions.Configuration.KeyPerFile.d.ts +17 -0
- package/Microsoft.Extensions.Configuration.KeyPerFile.js +9 -0
- package/Microsoft.Extensions.Configuration.Memory/bindings.json +464 -0
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +65 -0
- package/Microsoft.Extensions.Configuration.Memory/internal/metadata.json +312 -0
- package/Microsoft.Extensions.Configuration.Memory.d.ts +17 -0
- package/Microsoft.Extensions.Configuration.Memory.js +9 -0
- package/Microsoft.Extensions.Configuration.UserSecrets/bindings.json +127 -0
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +35 -0
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/metadata.json +85 -0
- package/Microsoft.Extensions.Configuration.UserSecrets.d.ts +13 -0
- package/Microsoft.Extensions.Configuration.UserSecrets.js +9 -0
- package/Microsoft.Extensions.Configuration.Xml/bindings.json +1036 -0
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +113 -0
- package/Microsoft.Extensions.Configuration.Xml/internal/metadata.json +611 -0
- package/Microsoft.Extensions.Configuration.Xml.d.ts +22 -0
- package/Microsoft.Extensions.Configuration.Xml.js +9 -0
- package/Microsoft.Extensions.Configuration.d.ts +63 -0
- package/Microsoft.Extensions.Configuration.js +9 -0
- package/Microsoft.Extensions.DependencyInjection/bindings.json +7129 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +626 -0
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +4903 -0
- package/Microsoft.Extensions.DependencyInjection.Extensions/bindings.json +1052 -0
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +62 -0
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/metadata.json +713 -0
- package/Microsoft.Extensions.DependencyInjection.Extensions.d.ts +17 -0
- package/Microsoft.Extensions.DependencyInjection.Extensions.js +9 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +91 -0
- package/Microsoft.Extensions.DependencyInjection.js +9 -0
- package/Microsoft.Extensions.Diagnostics.HealthChecks/bindings.json +1298 -0
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +159 -0
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/metadata.json +802 -0
- package/Microsoft.Extensions.Diagnostics.HealthChecks.d.ts +25 -0
- package/Microsoft.Extensions.Diagnostics.HealthChecks.js +9 -0
- package/Microsoft.Extensions.Diagnostics.Metrics/bindings.json +1145 -0
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +141 -0
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/metadata.json +785 -0
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/bindings.json +44 -0
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +19 -0
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/metadata.json +41 -0
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration.d.ts +13 -0
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration.js +9 -0
- package/Microsoft.Extensions.Diagnostics.Metrics.d.ts +29 -0
- package/Microsoft.Extensions.Diagnostics.Metrics.js +9 -0
- package/Microsoft.Extensions.FileProviders/bindings.json +2187 -0
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +234 -0
- package/Microsoft.Extensions.FileProviders/internal/metadata.json +1423 -0
- package/Microsoft.Extensions.FileProviders.Composite/bindings.json +117 -0
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +37 -0
- package/Microsoft.Extensions.FileProviders.Composite/internal/metadata.json +79 -0
- package/Microsoft.Extensions.FileProviders.Composite.d.ts +15 -0
- package/Microsoft.Extensions.FileProviders.Composite.js +9 -0
- package/Microsoft.Extensions.FileProviders.Embedded/bindings.json +381 -0
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +40 -0
- package/Microsoft.Extensions.FileProviders.Embedded/internal/metadata.json +251 -0
- package/Microsoft.Extensions.FileProviders.Embedded.d.ts +15 -0
- package/Microsoft.Extensions.FileProviders.Embedded.js +9 -0
- package/Microsoft.Extensions.FileProviders.Internal/bindings.json +136 -0
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +39 -0
- package/Microsoft.Extensions.FileProviders.Internal/internal/metadata.json +84 -0
- package/Microsoft.Extensions.FileProviders.Internal.d.ts +16 -0
- package/Microsoft.Extensions.FileProviders.Internal.js +9 -0
- package/Microsoft.Extensions.FileProviders.Physical/bindings.json +1394 -0
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +136 -0
- package/Microsoft.Extensions.FileProviders.Physical/internal/metadata.json +879 -0
- package/Microsoft.Extensions.FileProviders.Physical.d.ts +22 -0
- package/Microsoft.Extensions.FileProviders.Physical.js +9 -0
- package/Microsoft.Extensions.FileProviders.d.ts +28 -0
- package/Microsoft.Extensions.FileProviders.js +9 -0
- package/Microsoft.Extensions.FileSystemGlobbing/bindings.json +807 -0
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +90 -0
- package/Microsoft.Extensions.FileSystemGlobbing/internal/metadata.json +511 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/bindings.json +572 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +80 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/metadata.json +352 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions.d.ts +18 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions.js +9 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/bindings.json +624 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +90 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/metadata.json +443 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/bindings.json +853 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +121 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/metadata.json +550 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.d.ts +18 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments.js +9 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +2291 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +198 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/metadata.json +1527 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +23 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.js +9 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/bindings.json +112 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +26 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/metadata.json +68 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns.d.ts +13 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns.js +9 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.d.ts +21 -0
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.js +9 -0
- package/Microsoft.Extensions.FileSystemGlobbing.d.ts +21 -0
- package/Microsoft.Extensions.FileSystemGlobbing.js +9 -0
- package/Microsoft.Extensions.Hosting/bindings.json +3856 -0
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +369 -0
- package/Microsoft.Extensions.Hosting/internal/metadata.json +2577 -0
- package/Microsoft.Extensions.Hosting.Internal/bindings.json +858 -0
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +88 -0
- package/Microsoft.Extensions.Hosting.Internal/internal/metadata.json +559 -0
- package/Microsoft.Extensions.Hosting.Internal.d.ts +20 -0
- package/Microsoft.Extensions.Hosting.Internal.js +9 -0
- package/Microsoft.Extensions.Hosting.d.ts +51 -0
- package/Microsoft.Extensions.Hosting.js +9 -0
- package/Microsoft.Extensions.Http/bindings.json +378 -0
- package/Microsoft.Extensions.Http/internal/index.d.ts +58 -0
- package/Microsoft.Extensions.Http/internal/metadata.json +266 -0
- package/Microsoft.Extensions.Http.Logging/bindings.json +357 -0
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +64 -0
- package/Microsoft.Extensions.Http.Logging/internal/metadata.json +240 -0
- package/Microsoft.Extensions.Http.Logging.d.ts +20 -0
- package/Microsoft.Extensions.Http.Logging.js +9 -0
- package/Microsoft.Extensions.Http.d.ts +17 -0
- package/Microsoft.Extensions.Http.js +9 -0
- package/Microsoft.Extensions.Internal/bindings.json +129 -0
- package/Microsoft.Extensions.Internal/internal/index.d.ts +37 -0
- package/Microsoft.Extensions.Internal/internal/metadata.json +94 -0
- package/Microsoft.Extensions.Internal.d.ts +13 -0
- package/Microsoft.Extensions.Internal.js +9 -0
- package/Microsoft.Extensions.Localization/bindings.json +1233 -0
- package/Microsoft.Extensions.Localization/internal/index.d.ts +194 -0
- package/Microsoft.Extensions.Localization/internal/metadata.json +831 -0
- package/Microsoft.Extensions.Localization.d.ts +43 -0
- package/Microsoft.Extensions.Localization.js +9 -0
- package/Microsoft.Extensions.Logging/bindings.json +4881 -0
- package/Microsoft.Extensions.Logging/internal/index.d.ts +438 -0
- package/Microsoft.Extensions.Logging/internal/metadata.json +3222 -0
- package/Microsoft.Extensions.Logging.Abstractions/bindings.json +1166 -0
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +144 -0
- package/Microsoft.Extensions.Logging.Abstractions/internal/metadata.json +782 -0
- package/Microsoft.Extensions.Logging.Abstractions.d.ts +33 -0
- package/Microsoft.Extensions.Logging.Abstractions.js +9 -0
- package/Microsoft.Extensions.Logging.Configuration/bindings.json +273 -0
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +62 -0
- package/Microsoft.Extensions.Logging.Configuration/internal/metadata.json +212 -0
- package/Microsoft.Extensions.Logging.Configuration.d.ts +24 -0
- package/Microsoft.Extensions.Logging.Configuration.js +9 -0
- package/Microsoft.Extensions.Logging.Console/bindings.json +1810 -0
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +203 -0
- package/Microsoft.Extensions.Logging.Console/internal/metadata.json +1119 -0
- package/Microsoft.Extensions.Logging.Console.d.ts +32 -0
- package/Microsoft.Extensions.Logging.Console.js +9 -0
- package/Microsoft.Extensions.Logging.Debug/bindings.json +114 -0
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +33 -0
- package/Microsoft.Extensions.Logging.Debug/internal/metadata.json +80 -0
- package/Microsoft.Extensions.Logging.Debug.d.ts +13 -0
- package/Microsoft.Extensions.Logging.Debug.js +9 -0
- package/Microsoft.Extensions.Logging.EventLog/bindings.json +333 -0
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +57 -0
- package/Microsoft.Extensions.Logging.EventLog/internal/metadata.json +206 -0
- package/Microsoft.Extensions.Logging.EventLog.d.ts +15 -0
- package/Microsoft.Extensions.Logging.EventLog.js +9 -0
- package/Microsoft.Extensions.Logging.EventSource/bindings.json +225 -0
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +56 -0
- package/Microsoft.Extensions.Logging.EventSource/internal/metadata.json +149 -0
- package/Microsoft.Extensions.Logging.EventSource.d.ts +16 -0
- package/Microsoft.Extensions.Logging.EventSource.js +9 -0
- package/Microsoft.Extensions.Logging.TraceSource/bindings.json +133 -0
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +35 -0
- package/Microsoft.Extensions.Logging.TraceSource/internal/metadata.json +85 -0
- package/Microsoft.Extensions.Logging.TraceSource.d.ts +14 -0
- package/Microsoft.Extensions.Logging.TraceSource.js +9 -0
- package/Microsoft.Extensions.Logging.d.ts +62 -0
- package/Microsoft.Extensions.Logging.js +9 -0
- package/Microsoft.Extensions.ObjectPool/bindings.json +1265 -0
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +176 -0
- package/Microsoft.Extensions.ObjectPool/internal/metadata.json +867 -0
- package/Microsoft.Extensions.ObjectPool.d.ts +40 -0
- package/Microsoft.Extensions.ObjectPool.js +9 -0
- package/Microsoft.Extensions.Options/bindings.json +7654 -0
- package/Microsoft.Extensions.Options/internal/index.d.ts +872 -0
- package/Microsoft.Extensions.Options/internal/metadata.json +4965 -0
- package/Microsoft.Extensions.Options.d.ts +102 -0
- package/Microsoft.Extensions.Options.js +9 -0
- package/Microsoft.Extensions.Primitives/bindings.json +2797 -0
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +245 -0
- package/Microsoft.Extensions.Primitives/internal/metadata.json +1830 -0
- package/Microsoft.Extensions.Primitives.d.ts +27 -0
- package/Microsoft.Extensions.Primitives.js +9 -0
- package/Microsoft.Extensions.Validation/bindings.json +815 -0
- package/Microsoft.Extensions.Validation/internal/index.d.ts +158 -0
- package/Microsoft.Extensions.Validation/internal/metadata.json +577 -0
- package/Microsoft.Extensions.Validation.d.ts +26 -0
- package/Microsoft.Extensions.Validation.js +9 -0
- package/Microsoft.Extensions.WebEncoders/bindings.json +66 -0
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +25 -0
- package/Microsoft.Extensions.WebEncoders/internal/metadata.json +46 -0
- package/Microsoft.Extensions.WebEncoders.Testing/bindings.json +647 -0
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +71 -0
- package/Microsoft.Extensions.WebEncoders.Testing/internal/metadata.json +431 -0
- package/Microsoft.Extensions.WebEncoders.Testing.d.ts +16 -0
- package/Microsoft.Extensions.WebEncoders.Testing.js +9 -0
- package/Microsoft.Extensions.WebEncoders.d.ts +13 -0
- package/Microsoft.Extensions.WebEncoders.js +9 -0
- package/README.md +5 -0
- package/System.Diagnostics/bindings.json +2729 -0
- package/System.Diagnostics/internal/index.d.ts +208 -0
- package/System.Diagnostics/internal/metadata.json +1694 -0
- package/System.Diagnostics.Eventing.Reader/bindings.json +6318 -0
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +553 -0
- package/System.Diagnostics.Eventing.Reader/internal/metadata.json +3706 -0
- package/System.Diagnostics.Eventing.Reader.d.ts +51 -0
- package/System.Diagnostics.Eventing.Reader.js +9 -0
- package/System.Diagnostics.d.ts +25 -0
- package/System.Diagnostics.js +9 -0
- package/System.Net.Http/bindings.json +161 -0
- package/System.Net.Http/internal/index.d.ts +40 -0
- package/System.Net.Http/internal/metadata.json +141 -0
- package/System.Net.Http.d.ts +19 -0
- package/System.Net.Http.js +9 -0
- package/System.Security.Cryptography/bindings.json +474 -0
- package/System.Security.Cryptography/internal/index.d.ts +63 -0
- package/System.Security.Cryptography/internal/metadata.json +302 -0
- package/System.Security.Cryptography.Pkcs/bindings.json +8554 -0
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +763 -0
- package/System.Security.Cryptography.Pkcs/internal/metadata.json +5125 -0
- package/System.Security.Cryptography.Pkcs.d.ts +61 -0
- package/System.Security.Cryptography.Pkcs.js +9 -0
- package/System.Security.Cryptography.Xml/bindings.json +10485 -0
- package/System.Security.Cryptography.Xml/internal/index.d.ts +855 -0
- package/System.Security.Cryptography.Xml/internal/metadata.json +5727 -0
- package/System.Security.Cryptography.Xml.d.ts +62 -0
- package/System.Security.Cryptography.Xml.js +9 -0
- package/System.Security.Cryptography.d.ts +16 -0
- package/System.Security.Cryptography.js +9 -0
- package/__build/scripts/generate.sh +120 -0
- package/__internal/extensions/index.d.ts +699 -0
- package/families.json +58 -0
- package/package.json +28 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: Microsoft.Extensions.DependencyInjection
|
|
3
|
+
// Assembly: Microsoft.Extensions.Caching.Memory, Microsoft.Extensions.DependencyInjection, Microsoft.Extensions.DependencyInjection.Abstractions, Microsoft.Extensions.Diagnostics, Microsoft.Extensions.Diagnostics.HealthChecks, Microsoft.Extensions.Hosting.Abstractions, Microsoft.Extensions.Http, Microsoft.Extensions.Localization, Microsoft.Extensions.Logging, Microsoft.Extensions.Options, Microsoft.Extensions.Options.ConfigurationExtensions, Microsoft.Extensions.Options.DataAnnotations, Microsoft.Extensions.Validation, Microsoft.Extensions.WebEncoders
|
|
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';
|
|
7
|
+
|
|
8
|
+
// Import types from other namespaces
|
|
9
|
+
import type { MemoryCacheOptions, MemoryDistributedCacheOptions } from "../../Microsoft.Extensions.Caching.Memory/internal/index.js";
|
|
10
|
+
import type { BinderOptions, IConfiguration } from "../../Microsoft.Extensions.Configuration/internal/index.js";
|
|
11
|
+
import type { HealthCheckRegistration, HealthCheckResult, HealthStatus, IHealthCheck } from "../../Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.js";
|
|
12
|
+
import type { IMetricsBuilder } from "../../Microsoft.Extensions.Diagnostics.Metrics/internal/index.js";
|
|
13
|
+
import type { IHostedService } from "../../Microsoft.Extensions.Hosting/internal/index.js";
|
|
14
|
+
import type { IHttpClientLogger } from "../../Microsoft.Extensions.Http.Logging/internal/index.js";
|
|
15
|
+
import type { HttpMessageHandlerBuilder } from "../../Microsoft.Extensions.Http/internal/index.js";
|
|
16
|
+
import type { LocalizationOptions } from "../../Microsoft.Extensions.Localization/internal/index.js";
|
|
17
|
+
import type { ILoggingBuilder } from "../../Microsoft.Extensions.Logging/internal/index.js";
|
|
18
|
+
import type { OptionsBuilder_1 } from "../../Microsoft.Extensions.Options/internal/index.js";
|
|
19
|
+
import type { ValidationOptions } from "../../Microsoft.Extensions.Validation/internal/index.js";
|
|
20
|
+
import type { WebEncoderOptions } from "../../Microsoft.Extensions.WebEncoders/internal/index.js";
|
|
21
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
22
|
+
import type { ICollection, IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator, IList } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
23
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
24
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
25
|
+
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
26
|
+
import type { Action, AsyncCallback, Attribute, Boolean as ClrBoolean, Enum, Func, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormattable, Int32, IntPtr, IServiceProvider, ISpanFormattable, MulticastDelegate, Nullable, Object as ClrObject, String as ClrString, TimeSpan, Type, ValueType, Void } from "@tsonic/dotnet/System.js";
|
|
27
|
+
import type { DelegatingHandler, HttpClient, HttpMessageHandler, SocketsHttpHandler } from "@tsonic/dotnet/System.Net.Http.js";
|
|
28
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
29
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
30
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
31
|
+
import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
32
|
+
|
|
33
|
+
export enum ServiceKeyLookupMode {
|
|
34
|
+
inheritKey = 0,
|
|
35
|
+
nullKey = 1,
|
|
36
|
+
explicitKey = 2
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
export enum ServiceLifetime {
|
|
41
|
+
singleton = 0,
|
|
42
|
+
scoped = 1,
|
|
43
|
+
transient = 2
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
export type ObjectFactory = (serviceProvider: IServiceProvider, arguments: unknown[]) => unknown;
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
export type ObjectFactory_1<T> = (serviceProvider: IServiceProvider, arguments: unknown[]) => T;
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
export interface IHealthChecksBuilder$instance {
|
|
54
|
+
readonly services: IServiceCollection;
|
|
55
|
+
add(registration: HealthCheckRegistration): IHealthChecksBuilder;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export type IHealthChecksBuilder = IHealthChecksBuilder$instance;
|
|
60
|
+
|
|
61
|
+
export interface IHttpClientBuilder$instance {
|
|
62
|
+
readonly name: string;
|
|
63
|
+
readonly services: IServiceCollection;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
export type IHttpClientBuilder = IHttpClientBuilder$instance;
|
|
68
|
+
|
|
69
|
+
export interface IKeyedServiceProvider$instance extends IServiceProvider {
|
|
70
|
+
getKeyedService(serviceType: Type, serviceKey: unknown): unknown | undefined;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
export type IKeyedServiceProvider = IKeyedServiceProvider$instance;
|
|
75
|
+
|
|
76
|
+
export interface IServiceCollection$instance extends IList<ServiceDescriptor>, ICollection<ServiceDescriptor>, IEnumerable__System_Collections_Generic<ServiceDescriptor>, IEnumerable {
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
export type IServiceCollection = IServiceCollection$instance;
|
|
81
|
+
|
|
82
|
+
export interface IServiceProviderFactory_1$instance<TContainerBuilder> {
|
|
83
|
+
createBuilder(services: IServiceCollection): TContainerBuilder;
|
|
84
|
+
createServiceProvider(containerBuilder: TContainerBuilder): IServiceProvider;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
export type IServiceProviderFactory_1<TContainerBuilder> = IServiceProviderFactory_1$instance<TContainerBuilder>;
|
|
89
|
+
|
|
90
|
+
export interface IServiceProviderIsKeyedService$instance extends IServiceProviderIsService {
|
|
91
|
+
isKeyedService(serviceType: Type, serviceKey: unknown): boolean;
|
|
92
|
+
isService(serviceType: Type): boolean;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
export interface IServiceProviderIsKeyedService$instance extends IServiceProviderIsService$instance {}
|
|
97
|
+
|
|
98
|
+
export type IServiceProviderIsKeyedService = IServiceProviderIsKeyedService$instance;
|
|
99
|
+
|
|
100
|
+
export interface IServiceProviderIsService$instance {
|
|
101
|
+
isService(serviceType: Type): boolean;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
export type IServiceProviderIsService = IServiceProviderIsService$instance;
|
|
106
|
+
|
|
107
|
+
export interface IServiceScope$instance extends IDisposable {
|
|
108
|
+
readonly serviceProvider: IServiceProvider;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
export type IServiceScope = IServiceScope$instance;
|
|
113
|
+
|
|
114
|
+
export interface IServiceScopeFactory$instance {
|
|
115
|
+
createScope(): IServiceScope;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
export type IServiceScopeFactory = IServiceScopeFactory$instance;
|
|
120
|
+
|
|
121
|
+
export interface ISocketsHttpHandlerBuilder$instance {
|
|
122
|
+
readonly name: string;
|
|
123
|
+
readonly services: IServiceCollection;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
export type ISocketsHttpHandlerBuilder = ISocketsHttpHandlerBuilder$instance;
|
|
128
|
+
|
|
129
|
+
export interface ISupportRequiredService$instance {
|
|
130
|
+
getRequiredService(serviceType: Type): unknown;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
export type ISupportRequiredService = ISupportRequiredService$instance;
|
|
135
|
+
|
|
136
|
+
export interface AsyncServiceScope$instance {
|
|
137
|
+
readonly serviceProvider: IServiceProvider;
|
|
138
|
+
dispose(): void;
|
|
139
|
+
disposeAsync(): ValueTask;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
export const AsyncServiceScope: {
|
|
144
|
+
new(serviceScope: IServiceScope): AsyncServiceScope;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
export interface __AsyncServiceScope$views {
|
|
149
|
+
As_IServiceScope(): IServiceScope$instance;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface AsyncServiceScope$instance extends IServiceScope$instance {}
|
|
153
|
+
|
|
154
|
+
export type AsyncServiceScope = AsyncServiceScope$instance & __AsyncServiceScope$views;
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
export interface ActivatorUtilitiesConstructorAttribute$instance extends Attribute {
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
export const ActivatorUtilitiesConstructorAttribute: {
|
|
162
|
+
new(): ActivatorUtilitiesConstructorAttribute;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
export type ActivatorUtilitiesConstructorAttribute = ActivatorUtilitiesConstructorAttribute$instance;
|
|
167
|
+
|
|
168
|
+
export interface DefaultServiceProviderFactory$instance {
|
|
169
|
+
createBuilder(services: IServiceCollection): IServiceCollection;
|
|
170
|
+
createServiceProvider(containerBuilder: IServiceCollection): IServiceProvider;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
export const DefaultServiceProviderFactory: {
|
|
175
|
+
new(): DefaultServiceProviderFactory;
|
|
176
|
+
new(options: ServiceProviderOptions): DefaultServiceProviderFactory;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
export interface __DefaultServiceProviderFactory$views {
|
|
181
|
+
As_IServiceProviderFactory_1(): IServiceProviderFactory_1$instance<IServiceCollection>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface DefaultServiceProviderFactory$instance extends IServiceProviderFactory_1$instance<IServiceCollection> {}
|
|
185
|
+
|
|
186
|
+
export type DefaultServiceProviderFactory = DefaultServiceProviderFactory$instance & __DefaultServiceProviderFactory$views;
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
export interface FromKeyedServicesAttribute$instance extends Attribute {
|
|
190
|
+
readonly key: unknown | undefined;
|
|
191
|
+
readonly lookupMode: ServiceKeyLookupMode;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
export const FromKeyedServicesAttribute: {
|
|
196
|
+
new(key: unknown): FromKeyedServicesAttribute;
|
|
197
|
+
new(): FromKeyedServicesAttribute;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
export type FromKeyedServicesAttribute = FromKeyedServicesAttribute$instance;
|
|
202
|
+
|
|
203
|
+
export interface ServiceCollection$instance extends IServiceCollection {
|
|
204
|
+
readonly count: int;
|
|
205
|
+
readonly isReadOnly: boolean;
|
|
206
|
+
item: ServiceDescriptor;
|
|
207
|
+
clear(): void;
|
|
208
|
+
contains(item: ServiceDescriptor): boolean;
|
|
209
|
+
copyTo(array: ServiceDescriptor[], arrayIndex: int): void;
|
|
210
|
+
getEnumerator(): IEnumerator<ServiceDescriptor>;
|
|
211
|
+
indexOf(item: ServiceDescriptor): int;
|
|
212
|
+
insert(index: int, item: ServiceDescriptor): void;
|
|
213
|
+
makeReadOnly(): void;
|
|
214
|
+
remove(item: ServiceDescriptor): boolean;
|
|
215
|
+
removeAt(index: int): void;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
export const ServiceCollection: {
|
|
220
|
+
new(): ServiceCollection;
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
export type ServiceCollection = ServiceCollection$instance;
|
|
225
|
+
|
|
226
|
+
export interface ServiceDescriptor$instance {
|
|
227
|
+
readonly implementationFactory: Func<IServiceProvider, unknown> | undefined;
|
|
228
|
+
readonly implementationInstance: unknown | undefined;
|
|
229
|
+
readonly implementationType: Type | undefined;
|
|
230
|
+
readonly isKeyedService: boolean;
|
|
231
|
+
readonly keyedImplementationFactory: Func<IServiceProvider, unknown | undefined, unknown> | undefined;
|
|
232
|
+
readonly keyedImplementationInstance: unknown | undefined;
|
|
233
|
+
readonly keyedImplementationType: Type | undefined;
|
|
234
|
+
readonly lifetime: ServiceLifetime;
|
|
235
|
+
readonly serviceKey: unknown | undefined;
|
|
236
|
+
readonly serviceType: Type;
|
|
237
|
+
toString(): string;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
export const ServiceDescriptor: {
|
|
242
|
+
new(serviceType: Type, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
243
|
+
new(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
244
|
+
new(serviceType: Type, instance: unknown): ServiceDescriptor;
|
|
245
|
+
new(serviceType: Type, serviceKey: unknown, instance: unknown): ServiceDescriptor;
|
|
246
|
+
new(serviceType: Type, factory: Func<IServiceProvider, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
247
|
+
new(serviceType: Type, serviceKey: unknown, factory: Func<IServiceProvider, unknown, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
248
|
+
describe(serviceType: Type, implementationFactory: Func<IServiceProvider, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
249
|
+
describe(serviceType: Type, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
250
|
+
describeKeyed(serviceType: Type, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
251
|
+
describeKeyed(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
|
|
252
|
+
keyedScoped<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
253
|
+
keyedScoped<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
254
|
+
keyedScoped(service: Type, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
255
|
+
keyedScoped(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
256
|
+
keyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
257
|
+
keyedSingleton<TService>(serviceKey: unknown, implementationInstance: TService): ServiceDescriptor;
|
|
258
|
+
keyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
259
|
+
keyedSingleton(serviceType: Type, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
260
|
+
keyedSingleton(serviceType: Type, serviceKey: unknown, implementationInstance: unknown): ServiceDescriptor;
|
|
261
|
+
keyedSingleton(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
262
|
+
keyedTransient<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
|
|
263
|
+
keyedTransient<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
|
|
264
|
+
keyedTransient(service: Type, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, unknown>): ServiceDescriptor;
|
|
265
|
+
keyedTransient(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
|
|
266
|
+
scoped<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
267
|
+
scoped<TService, TImplementation extends TService>(implementationFactory: Func<IServiceProvider, TImplementation>): ServiceDescriptor;
|
|
268
|
+
scoped(service: Type, implementationFactory: Func<IServiceProvider, unknown>): ServiceDescriptor;
|
|
269
|
+
scoped(service: Type, implementationType: Type): ServiceDescriptor;
|
|
270
|
+
singleton<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
271
|
+
singleton<TService, TImplementation extends TService>(implementationFactory: Func<IServiceProvider, TImplementation>): ServiceDescriptor;
|
|
272
|
+
singleton(serviceType: Type, implementationFactory: Func<IServiceProvider, unknown>): ServiceDescriptor;
|
|
273
|
+
singleton(serviceType: Type, implementationInstance: unknown): ServiceDescriptor;
|
|
274
|
+
singleton(service: Type, implementationType: Type): ServiceDescriptor;
|
|
275
|
+
singleton<TService>(implementationInstance: TService): ServiceDescriptor;
|
|
276
|
+
transient<TService, TImplementation extends TService>(): ServiceDescriptor;
|
|
277
|
+
transient<TService, TImplementation extends TService>(implementationFactory: Func<IServiceProvider, TImplementation>): ServiceDescriptor;
|
|
278
|
+
transient(service: Type, implementationFactory: Func<IServiceProvider, unknown>): ServiceDescriptor;
|
|
279
|
+
transient(service: Type, implementationType: Type): ServiceDescriptor;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
export type ServiceDescriptor = ServiceDescriptor$instance;
|
|
284
|
+
|
|
285
|
+
export interface ServiceKeyAttribute$instance extends Attribute {
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
export const ServiceKeyAttribute: {
|
|
290
|
+
new(): ServiceKeyAttribute;
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
export type ServiceKeyAttribute = ServiceKeyAttribute$instance;
|
|
295
|
+
|
|
296
|
+
export interface ServiceProvider$instance {
|
|
297
|
+
dispose(): void;
|
|
298
|
+
disposeAsync(): ValueTask;
|
|
299
|
+
getKeyedService(serviceType: Type, serviceKey: unknown): unknown | undefined;
|
|
300
|
+
getRequiredKeyedService(serviceType: Type, serviceKey: unknown): unknown;
|
|
301
|
+
getService(serviceType: Type): unknown | undefined;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
export const ServiceProvider: {
|
|
306
|
+
new(): ServiceProvider;
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
export interface __ServiceProvider$views {
|
|
311
|
+
As_IKeyedServiceProvider(): IKeyedServiceProvider$instance;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface ServiceProvider$instance extends IKeyedServiceProvider$instance {}
|
|
315
|
+
|
|
316
|
+
export type ServiceProvider = ServiceProvider$instance & __ServiceProvider$views;
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
export interface ServiceProviderOptions$instance {
|
|
320
|
+
validateOnBuild: boolean;
|
|
321
|
+
validateScopes: boolean;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
export const ServiceProviderOptions: {
|
|
326
|
+
new(): ServiceProviderOptions;
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
export type ServiceProviderOptions = ServiceProviderOptions$instance;
|
|
331
|
+
|
|
332
|
+
export abstract class ActivatorUtilities$instance {
|
|
333
|
+
static createFactory(instanceType: Type, argumentTypes: Type[]): ObjectFactory;
|
|
334
|
+
static createFactory<T>(argumentTypes: Type[]): ObjectFactory_1<T>;
|
|
335
|
+
static createInstance<T>(provider: IServiceProvider, ...parameters: unknown[]): T;
|
|
336
|
+
static createInstance(provider: IServiceProvider, instanceType: Type, ...parameters: unknown[]): unknown;
|
|
337
|
+
static getServiceOrCreateInstance(provider: IServiceProvider, type_: Type): unknown;
|
|
338
|
+
static getServiceOrCreateInstance<T>(provider: IServiceProvider): T;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
export type ActivatorUtilities = ActivatorUtilities$instance;
|
|
343
|
+
|
|
344
|
+
export abstract class EncoderServiceCollectionExtensions$instance {
|
|
345
|
+
static addWebEncoders(services: IServiceCollection, setupAction: Action<WebEncoderOptions>): IServiceCollection;
|
|
346
|
+
static addWebEncoders(services: IServiceCollection): IServiceCollection;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
export type EncoderServiceCollectionExtensions = EncoderServiceCollectionExtensions$instance;
|
|
351
|
+
|
|
352
|
+
export abstract class HealthChecksBuilderAddCheckExtensions$instance {
|
|
353
|
+
static addCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus?: Nullable<HealthStatus>, tags?: IEnumerable__System_Collections_Generic<System_Internal.String>, timeout?: Nullable<TimeSpan>): IHealthChecksBuilder;
|
|
354
|
+
static addCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus: Nullable<HealthStatus>, tags: IEnumerable__System_Collections_Generic<System_Internal.String>): IHealthChecksBuilder;
|
|
355
|
+
static addCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus?: Nullable<HealthStatus>, tags?: IEnumerable__System_Collections_Generic<System_Internal.String>, timeout?: Nullable<TimeSpan>): IHealthChecksBuilder;
|
|
356
|
+
static addCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable<HealthStatus>, tags: IEnumerable__System_Collections_Generic<System_Internal.String>): IHealthChecksBuilder;
|
|
357
|
+
static addTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable<HealthStatus>, tags: IEnumerable__System_Collections_Generic<System_Internal.String>, ...args: unknown[]): IHealthChecksBuilder;
|
|
358
|
+
static addTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable<HealthStatus>, tags: IEnumerable__System_Collections_Generic<System_Internal.String>, timeout: TimeSpan, ...args: unknown[]): IHealthChecksBuilder;
|
|
359
|
+
static addTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable<HealthStatus>, ...args: unknown[]): IHealthChecksBuilder;
|
|
360
|
+
static addTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, ...args: unknown[]): IHealthChecksBuilder;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
export type HealthChecksBuilderAddCheckExtensions = HealthChecksBuilderAddCheckExtensions$instance;
|
|
365
|
+
|
|
366
|
+
export abstract class HealthChecksBuilderDelegateExtensions$instance {
|
|
367
|
+
static addAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func<Task<HealthCheckResult>>, tags?: IEnumerable__System_Collections_Generic<System_Internal.String>, timeout?: Nullable<TimeSpan>): IHealthChecksBuilder;
|
|
368
|
+
static addAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func<Task<HealthCheckResult>>, tags: IEnumerable__System_Collections_Generic<System_Internal.String>): IHealthChecksBuilder;
|
|
369
|
+
static addAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func<CancellationToken, Task<HealthCheckResult>>, tags?: IEnumerable__System_Collections_Generic<System_Internal.String>, timeout?: Nullable<TimeSpan>): IHealthChecksBuilder;
|
|
370
|
+
static addAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func<CancellationToken, Task<HealthCheckResult>>, tags: IEnumerable__System_Collections_Generic<System_Internal.String>): IHealthChecksBuilder;
|
|
371
|
+
static addCheck(builder: IHealthChecksBuilder, name: string, check: Func<HealthCheckResult>, tags?: IEnumerable__System_Collections_Generic<System_Internal.String>, timeout?: Nullable<TimeSpan>): IHealthChecksBuilder;
|
|
372
|
+
static addCheck(builder: IHealthChecksBuilder, name: string, check: Func<HealthCheckResult>, tags: IEnumerable__System_Collections_Generic<System_Internal.String>): IHealthChecksBuilder;
|
|
373
|
+
static addCheck(builder: IHealthChecksBuilder, name: string, check: Func<CancellationToken, HealthCheckResult>, tags?: IEnumerable__System_Collections_Generic<System_Internal.String>, timeout?: Nullable<TimeSpan>): IHealthChecksBuilder;
|
|
374
|
+
static addCheck(builder: IHealthChecksBuilder, name: string, check: Func<CancellationToken, HealthCheckResult>, tags: IEnumerable__System_Collections_Generic<System_Internal.String>): IHealthChecksBuilder;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
export type HealthChecksBuilderDelegateExtensions = HealthChecksBuilderDelegateExtensions$instance;
|
|
379
|
+
|
|
380
|
+
export abstract class HealthCheckServiceCollectionExtensions$instance {
|
|
381
|
+
static addHealthChecks(services: IServiceCollection): IHealthChecksBuilder;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
export type HealthCheckServiceCollectionExtensions = HealthCheckServiceCollectionExtensions$instance;
|
|
386
|
+
|
|
387
|
+
export abstract class HttpClientBuilderExtensions$instance {
|
|
388
|
+
static addAsKeyed(builder: IHttpClientBuilder, lifetime?: ServiceLifetime): IHttpClientBuilder;
|
|
389
|
+
static addDefaultLogger(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
390
|
+
static addHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func<DelegatingHandler>): IHttpClientBuilder;
|
|
391
|
+
static addHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func<IServiceProvider, DelegatingHandler>): IHttpClientBuilder;
|
|
392
|
+
static addHttpMessageHandler<THandler extends DelegatingHandler>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
393
|
+
static addLogger<TLogger extends IHttpClientLogger>(builder: IHttpClientBuilder, wrapHandlersPipeline?: boolean): IHttpClientBuilder;
|
|
394
|
+
static addLogger(builder: IHttpClientBuilder, httpClientLoggerFactory: Func<IServiceProvider, IHttpClientLogger>, wrapHandlersPipeline?: boolean): IHttpClientBuilder;
|
|
395
|
+
static addTypedClient<TClient>(builder: IHttpClientBuilder, factory: Func<HttpClient, TClient>): IHttpClientBuilder;
|
|
396
|
+
static addTypedClient<TClient>(builder: IHttpClientBuilder, factory: Func<HttpClient, IServiceProvider, TClient>): IHttpClientBuilder;
|
|
397
|
+
static addTypedClient<TClient>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
398
|
+
static configureAdditionalHttpMessageHandlers(builder: IHttpClientBuilder, configureAdditionalHandlers: Action<IList<DelegatingHandler>, IServiceProvider>): IHttpClientBuilder;
|
|
399
|
+
static configureHttpClient(builder: IHttpClientBuilder, configureClient: Action<HttpClient>): IHttpClientBuilder;
|
|
400
|
+
static configureHttpClient(builder: IHttpClientBuilder, configureClient: Action<IServiceProvider, HttpClient>): IHttpClientBuilder;
|
|
401
|
+
static configureHttpMessageHandlerBuilder(builder: IHttpClientBuilder, configureBuilder: Action<HttpMessageHandlerBuilder>): IHttpClientBuilder;
|
|
402
|
+
static configurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Action<HttpMessageHandler, IServiceProvider>): IHttpClientBuilder;
|
|
403
|
+
static configurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func<HttpMessageHandler>): IHttpClientBuilder;
|
|
404
|
+
static configurePrimaryHttpMessageHandler(builder: IHttpClientBuilder, configureHandler: Func<IServiceProvider, HttpMessageHandler>): IHttpClientBuilder;
|
|
405
|
+
static configurePrimaryHttpMessageHandler<THandler extends HttpMessageHandler>(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
406
|
+
static redactLoggedHeaders(builder: IHttpClientBuilder, redactedLoggedHeaderNames: IEnumerable__System_Collections_Generic<System_Internal.String>): IHttpClientBuilder;
|
|
407
|
+
static redactLoggedHeaders(builder: IHttpClientBuilder, shouldRedactHeaderValue: Func<System_Internal.String, System_Internal.Boolean>): IHttpClientBuilder;
|
|
408
|
+
static removeAllLoggers(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
409
|
+
static removeAsKeyed(builder: IHttpClientBuilder): IHttpClientBuilder;
|
|
410
|
+
static setHandlerLifetime(builder: IHttpClientBuilder, handlerLifetime: TimeSpan): IHttpClientBuilder;
|
|
411
|
+
static useSocketsHttpHandler(builder: IHttpClientBuilder, configureBuilder: Action<ISocketsHttpHandlerBuilder>): IHttpClientBuilder;
|
|
412
|
+
static useSocketsHttpHandler(builder: IHttpClientBuilder, configureHandler?: Action<SocketsHttpHandler, IServiceProvider>): IHttpClientBuilder;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
export type HttpClientBuilderExtensions = HttpClientBuilderExtensions$instance;
|
|
417
|
+
|
|
418
|
+
export abstract class HttpClientFactoryServiceCollectionExtensions$instance {
|
|
419
|
+
static addHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory: Func<HttpClient, TImplementation>): IHttpClientBuilder;
|
|
420
|
+
static addHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, factory: Func<HttpClient, IServiceProvider, TImplementation>): IHttpClientBuilder;
|
|
421
|
+
static addHttpClient<TClient>(services: IServiceCollection, configureClient: Action<HttpClient>): IHttpClientBuilder;
|
|
422
|
+
static addHttpClient<TClient>(services: IServiceCollection, configureClient: Action<IServiceProvider, HttpClient>): IHttpClientBuilder;
|
|
423
|
+
static addHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory: Func<HttpClient, TImplementation>): IHttpClientBuilder;
|
|
424
|
+
static addHttpClient<TClient, TImplementation extends TClient>(services: IServiceCollection, name: string, factory: Func<HttpClient, IServiceProvider, TImplementation>): IHttpClientBuilder;
|
|
425
|
+
static addHttpClient(services: IServiceCollection, name: string, configureClient: Action<HttpClient>): IHttpClientBuilder;
|
|
426
|
+
static addHttpClient(services: IServiceCollection, name: string, configureClient: Action<IServiceProvider, HttpClient>): IHttpClientBuilder;
|
|
427
|
+
static addHttpClient(services: IServiceCollection, name: string): IHttpClientBuilder;
|
|
428
|
+
static addHttpClient<TClient>(services: IServiceCollection): IHttpClientBuilder;
|
|
429
|
+
static addHttpClient(services: IServiceCollection): IServiceCollection;
|
|
430
|
+
static configureHttpClientDefaults(services: IServiceCollection, configure: Action<IHttpClientBuilder>): IServiceCollection;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
export type HttpClientFactoryServiceCollectionExtensions = HttpClientFactoryServiceCollectionExtensions$instance;
|
|
435
|
+
|
|
436
|
+
export abstract class KeyedService$instance {
|
|
437
|
+
static readonly anyKey: unknown;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
export type KeyedService = KeyedService$instance;
|
|
442
|
+
|
|
443
|
+
export abstract class LocalizationServiceCollectionExtensions$instance {
|
|
444
|
+
static addLocalization(services: IServiceCollection, setupAction: Action<LocalizationOptions>): IServiceCollection;
|
|
445
|
+
static addLocalization(services: IServiceCollection): IServiceCollection;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
export type LocalizationServiceCollectionExtensions = LocalizationServiceCollectionExtensions$instance;
|
|
450
|
+
|
|
451
|
+
export abstract class LoggingServiceCollectionExtensions$instance {
|
|
452
|
+
static addLogging(services: IServiceCollection, configure: Action<ILoggingBuilder>): IServiceCollection;
|
|
453
|
+
static addLogging(services: IServiceCollection): IServiceCollection;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
export type LoggingServiceCollectionExtensions = LoggingServiceCollectionExtensions$instance;
|
|
458
|
+
|
|
459
|
+
export abstract class MemoryCacheServiceCollectionExtensions$instance {
|
|
460
|
+
static addDistributedMemoryCache(services: IServiceCollection, setupAction: Action<MemoryDistributedCacheOptions>): IServiceCollection;
|
|
461
|
+
static addDistributedMemoryCache(services: IServiceCollection): IServiceCollection;
|
|
462
|
+
static addMemoryCache(services: IServiceCollection, setupAction: Action<MemoryCacheOptions>): IServiceCollection;
|
|
463
|
+
static addMemoryCache(services: IServiceCollection): IServiceCollection;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
export type MemoryCacheServiceCollectionExtensions = MemoryCacheServiceCollectionExtensions$instance;
|
|
468
|
+
|
|
469
|
+
export abstract class MetricsServiceExtensions$instance {
|
|
470
|
+
static addMetrics(services: IServiceCollection, configure: Action<IMetricsBuilder>): IServiceCollection;
|
|
471
|
+
static addMetrics(services: IServiceCollection): IServiceCollection;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
export type MetricsServiceExtensions = MetricsServiceExtensions$instance;
|
|
476
|
+
|
|
477
|
+
export abstract class OptionsBuilderConfigurationExtensions$instance {
|
|
478
|
+
static bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration, configureBinder: Action<BinderOptions>): OptionsBuilder_1<TOptions>;
|
|
479
|
+
static bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration): OptionsBuilder_1<TOptions>;
|
|
480
|
+
static bindConfiguration<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, configSectionPath: string, configureBinder?: Action<BinderOptions>): OptionsBuilder_1<TOptions>;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
export type OptionsBuilderConfigurationExtensions = OptionsBuilderConfigurationExtensions$instance;
|
|
485
|
+
|
|
486
|
+
export abstract class OptionsBuilderDataAnnotationsExtensions$instance {
|
|
487
|
+
static validateDataAnnotations<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>): OptionsBuilder_1<TOptions>;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
export type OptionsBuilderDataAnnotationsExtensions = OptionsBuilderDataAnnotationsExtensions$instance;
|
|
492
|
+
|
|
493
|
+
export abstract class OptionsBuilderExtensions$instance {
|
|
494
|
+
static validateOnStart<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>): OptionsBuilder_1<TOptions>;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
export type OptionsBuilderExtensions = OptionsBuilderExtensions$instance;
|
|
499
|
+
|
|
500
|
+
export abstract class OptionsConfigurationServiceCollectionExtensions$instance {
|
|
501
|
+
static configure<TOptions>(services: IServiceCollection, config: IConfiguration, configureBinder: Action<BinderOptions>): IServiceCollection;
|
|
502
|
+
static configure<TOptions>(services: IServiceCollection, config: IConfiguration): IServiceCollection;
|
|
503
|
+
static configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration, configureBinder: Action<BinderOptions>): IServiceCollection;
|
|
504
|
+
static configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration): IServiceCollection;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
export type OptionsConfigurationServiceCollectionExtensions = OptionsConfigurationServiceCollectionExtensions$instance;
|
|
509
|
+
|
|
510
|
+
export abstract class OptionsServiceCollectionExtensions$instance {
|
|
511
|
+
static addOptions<TOptions>(services: IServiceCollection, name: string): OptionsBuilder_1<TOptions>;
|
|
512
|
+
static addOptions(services: IServiceCollection): IServiceCollection;
|
|
513
|
+
static addOptions<TOptions>(services: IServiceCollection): OptionsBuilder_1<TOptions>;
|
|
514
|
+
static addOptionsWithValidateOnStart<TOptions>(services: IServiceCollection, name?: string): OptionsBuilder_1<TOptions>;
|
|
515
|
+
static configure<TOptions>(services: IServiceCollection, configureOptions: Action<TOptions>): IServiceCollection;
|
|
516
|
+
static configure<TOptions>(services: IServiceCollection, name: string, configureOptions: Action<TOptions>): IServiceCollection;
|
|
517
|
+
static configureAll<TOptions>(services: IServiceCollection, configureOptions: Action<TOptions>): IServiceCollection;
|
|
518
|
+
static configureOptions(services: IServiceCollection, configureInstance: unknown): IServiceCollection;
|
|
519
|
+
static configureOptions(services: IServiceCollection, configureType: Type): IServiceCollection;
|
|
520
|
+
static configureOptions<TConfigureOptions>(services: IServiceCollection): IServiceCollection;
|
|
521
|
+
static postConfigure<TOptions>(services: IServiceCollection, configureOptions: Action<TOptions>): IServiceCollection;
|
|
522
|
+
static postConfigure<TOptions>(services: IServiceCollection, name: string, configureOptions: Action<TOptions>): IServiceCollection;
|
|
523
|
+
static postConfigureAll<TOptions>(services: IServiceCollection, configureOptions: Action<TOptions>): IServiceCollection;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
export type OptionsServiceCollectionExtensions = OptionsServiceCollectionExtensions$instance;
|
|
528
|
+
|
|
529
|
+
export abstract class ServiceCollectionContainerBuilderExtensions$instance {
|
|
530
|
+
static buildServiceProvider(services: IServiceCollection, options: ServiceProviderOptions): ServiceProvider;
|
|
531
|
+
static buildServiceProvider(services: IServiceCollection, validateScopes: boolean): ServiceProvider;
|
|
532
|
+
static buildServiceProvider(services: IServiceCollection): ServiceProvider;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
export type ServiceCollectionContainerBuilderExtensions = ServiceCollectionContainerBuilderExtensions$instance;
|
|
537
|
+
|
|
538
|
+
export abstract class ServiceCollectionHostedServiceExtensions$instance {
|
|
539
|
+
static addHostedService<THostedService extends IHostedService>(services: IServiceCollection, implementationFactory: Func<IServiceProvider, THostedService>): IServiceCollection;
|
|
540
|
+
static addHostedService<THostedService extends IHostedService>(services: IServiceCollection): IServiceCollection;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
export type ServiceCollectionHostedServiceExtensions = ServiceCollectionHostedServiceExtensions$instance;
|
|
545
|
+
|
|
546
|
+
export abstract class ServiceCollectionServiceExtensions$instance {
|
|
547
|
+
static addKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
548
|
+
static addKeyedScoped<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
549
|
+
static addKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, unknown>): IServiceCollection;
|
|
550
|
+
static addKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
551
|
+
static addKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
552
|
+
static addKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
553
|
+
static addKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationInstance: TService): IServiceCollection;
|
|
554
|
+
static addKeyedSingleton<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
555
|
+
static addKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, unknown>): IServiceCollection;
|
|
556
|
+
static addKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationInstance: unknown): IServiceCollection;
|
|
557
|
+
static addKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
558
|
+
static addKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
559
|
+
static addKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, TService>): IServiceCollection;
|
|
560
|
+
static addKeyedTransient<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
|
|
561
|
+
static addKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func<IServiceProvider, unknown, unknown>): IServiceCollection;
|
|
562
|
+
static addKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
|
|
563
|
+
static addKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
|
|
564
|
+
static addScoped<TService>(services: IServiceCollection, implementationFactory: Func<IServiceProvider, TService>): IServiceCollection;
|
|
565
|
+
static addScoped(services: IServiceCollection, serviceType: Type, implementationFactory: Func<IServiceProvider, unknown>): IServiceCollection;
|
|
566
|
+
static addScoped(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
567
|
+
static addScoped(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
568
|
+
static addScoped<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
569
|
+
static addSingleton<TService>(services: IServiceCollection, implementationFactory: Func<IServiceProvider, TService>): IServiceCollection;
|
|
570
|
+
static addSingleton(services: IServiceCollection, serviceType: Type, implementationFactory: Func<IServiceProvider, unknown>): IServiceCollection;
|
|
571
|
+
static addSingleton(services: IServiceCollection, serviceType: Type, implementationInstance: unknown): IServiceCollection;
|
|
572
|
+
static addSingleton(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
573
|
+
static addSingleton(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
574
|
+
static addSingleton<TService>(services: IServiceCollection, implementationInstance: TService): IServiceCollection;
|
|
575
|
+
static addSingleton<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
576
|
+
static addTransient<TService>(services: IServiceCollection, implementationFactory: Func<IServiceProvider, TService>): IServiceCollection;
|
|
577
|
+
static addTransient(services: IServiceCollection, serviceType: Type, implementationFactory: Func<IServiceProvider, unknown>): IServiceCollection;
|
|
578
|
+
static addTransient(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
|
|
579
|
+
static addTransient(services: IServiceCollection, serviceType: Type): IServiceCollection;
|
|
580
|
+
static addTransient<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
export type ServiceCollectionServiceExtensions = ServiceCollectionServiceExtensions$instance;
|
|
585
|
+
|
|
586
|
+
export abstract class ServiceProviderKeyedServiceExtensions$instance {
|
|
587
|
+
static getKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T | undefined;
|
|
588
|
+
static getKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): unknown | undefined;
|
|
589
|
+
static getKeyedServices<T>(provider: IServiceProvider, serviceKey: unknown): IEnumerable__System_Collections_Generic<T>;
|
|
590
|
+
static getKeyedServices(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): IEnumerable__System_Collections_Generic<unknown | undefined>;
|
|
591
|
+
static getRequiredKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T;
|
|
592
|
+
static getRequiredKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): unknown;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
export type ServiceProviderKeyedServiceExtensions = ServiceProviderKeyedServiceExtensions$instance;
|
|
597
|
+
|
|
598
|
+
export abstract class ServiceProviderServiceExtensions$instance {
|
|
599
|
+
static createAsyncScope(serviceScopeFactory: IServiceScopeFactory): AsyncServiceScope;
|
|
600
|
+
static createAsyncScope(provider: IServiceProvider): AsyncServiceScope;
|
|
601
|
+
static createScope(provider: IServiceProvider): IServiceScope;
|
|
602
|
+
static getRequiredService(provider: IServiceProvider, serviceType: Type): unknown;
|
|
603
|
+
static getRequiredService<T>(provider: IServiceProvider): T;
|
|
604
|
+
static getService<T>(provider: IServiceProvider): T | undefined;
|
|
605
|
+
static getServices(provider: IServiceProvider, serviceType: Type): IEnumerable__System_Collections_Generic<unknown | undefined>;
|
|
606
|
+
static getServices<T>(provider: IServiceProvider): IEnumerable__System_Collections_Generic<T>;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
export type ServiceProviderServiceExtensions = ServiceProviderServiceExtensions$instance;
|
|
611
|
+
|
|
612
|
+
export abstract class SocketsHttpHandlerBuilderExtensions$instance {
|
|
613
|
+
static configure(builder: ISocketsHttpHandlerBuilder, configuration: IConfiguration): ISocketsHttpHandlerBuilder;
|
|
614
|
+
static configure(builder: ISocketsHttpHandlerBuilder, configure: Action<SocketsHttpHandler, IServiceProvider>): ISocketsHttpHandlerBuilder;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
export type SocketsHttpHandlerBuilderExtensions = SocketsHttpHandlerBuilderExtensions$instance;
|
|
619
|
+
|
|
620
|
+
export abstract class ValidationServiceCollectionExtensions$instance {
|
|
621
|
+
static addValidation(services: IServiceCollection, configureOptions?: Action<ValidationOptions>): IServiceCollection;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
export type ValidationServiceCollectionExtensions = ValidationServiceCollectionExtensions$instance;
|
|
626
|
+
|