@tsonic/aspnetcore 10.0.2 → 10.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.AspNetCore/internal/index.d.ts +6 -6
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +27 -9
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +250 -112
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +64 -34
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +47 -28
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +28 -11
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +137 -75
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +53 -32
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +221 -139
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +358 -187
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +46 -17
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +220 -89
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +10 -5
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +9 -7
- package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +44 -13
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +16 -8
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +55 -22
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +33 -20
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +105 -37
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +27 -15
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +130 -49
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +64 -20
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +13 -7
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +19 -8
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +55 -29
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +2 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +43 -20
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +28 -16
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +59 -27
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +3 -0
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +32 -19
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +19 -5
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +31 -15
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +58 -32
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +64 -21
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +15 -11
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +89 -47
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +9 -5
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +16 -4
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +31 -13
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +408 -199
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +34 -16
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +21 -16
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +208 -88
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +31 -27
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +378 -171
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +74 -26
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +18 -8
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +23 -11
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +23 -13
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +725 -456
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +23 -3
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +57 -27
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +724 -205
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +27 -13
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +37 -13
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +76 -30
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +244 -125
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +59 -25
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +21 -10
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +51 -24
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +12 -7
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +431 -68
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +140 -44
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +192 -89
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +77 -36
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +162 -66
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +48 -25
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +379 -133
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +217 -128
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +156 -102
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +100 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +105 -56
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +19 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +4 -2
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +81 -42
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +70 -37
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +123 -95
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +57 -25
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +151 -72
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +41 -23
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +94 -48
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +24 -11
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +266 -144
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +7 -5
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +44 -26
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +22 -12
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +28 -10
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +100 -31
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +18 -10
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +64 -29
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +20 -12
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +291 -131
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +191 -79
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +61 -25
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +40 -20
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +25 -9
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +29 -13
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +50 -18
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +12 -4
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +16 -12
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +56 -36
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +17 -3
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +20 -8
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +23 -17
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +29 -18
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +32 -22
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +191 -91
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +63 -25
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +21 -11
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +4 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +38 -22
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +14 -10
- package/Microsoft.AspNetCore.WebSockets.d.ts +3 -0
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +119 -73
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +135 -123
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +10 -8
- package/Microsoft.Extensions.Hosting.d.ts +3 -0
- package/Microsoft.JSInterop/internal/index.d.ts +95 -52
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +40 -26
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +10 -2
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +92 -60
- package/System.Formats.Cbor/internal/index.d.ts +29 -21
- package/System.Security.Claims/internal/index.d.ts +3 -3
- package/System.Security.Claims.d.ts +3 -0
- package/System.Threading.RateLimiting/internal/index.d.ts +84 -29
- package/__internal/extensions/index.d.ts +1776 -1190
- package/package.json +4 -4
|
@@ -7,31 +7,35 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { HttpContext, RequestDelegate } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
10
|
-
import type {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import type {
|
|
14
|
-
import type { HealthCheckRegistration, HealthCheckService, HealthReport, HealthStatus } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Diagnostics.HealthChecks.js";
|
|
15
|
-
import type {
|
|
10
|
+
import type { IDictionary_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Func_2, Func_3, Int32, Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { HealthCheckRegistration, HealthCheckService, HealthReport, HealthStatus } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.js";
|
|
15
|
+
import type { IOptions_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
16
16
|
|
|
17
17
|
export interface HealthCheckMiddleware$instance {
|
|
18
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Diagnostics_HealthChecks_HealthCheckMiddleware: never;
|
|
19
|
+
|
|
18
20
|
InvokeAsync(httpContext: HttpContext): Task;
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
export const HealthCheckMiddleware: {
|
|
23
|
-
new(next: RequestDelegate, healthCheckOptions:
|
|
25
|
+
new(next: RequestDelegate, healthCheckOptions: IOptions_1<HealthCheckOptions>, healthCheckService: HealthCheckService): HealthCheckMiddleware;
|
|
24
26
|
};
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
export type HealthCheckMiddleware = HealthCheckMiddleware$instance;
|
|
28
30
|
|
|
29
31
|
export interface HealthCheckOptions$instance {
|
|
32
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Diagnostics_HealthChecks_HealthCheckOptions: never;
|
|
33
|
+
|
|
30
34
|
AllowCachingResponses: boolean;
|
|
31
|
-
get Predicate():
|
|
32
|
-
set Predicate(value:
|
|
33
|
-
ResponseWriter:
|
|
34
|
-
ResultStatusCodes:
|
|
35
|
+
get Predicate(): Func_2<HealthCheckRegistration, System_Internal.Boolean> | undefined;
|
|
36
|
+
set Predicate(value: Func_2<HealthCheckRegistration, System_Internal.Boolean> | undefined);
|
|
37
|
+
ResponseWriter: Func_3<HttpContext, HealthReport, Task>;
|
|
38
|
+
ResultStatusCodes: IDictionary_2<HealthStatus, System_Internal.Int32>;
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
|
|
@@ -7,27 +7,31 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { HttpContext, RequestDelegate } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
10
|
-
import type {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
10
|
+
import type { IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { ILogger_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
15
|
+
import type { IOptionsMonitor_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
16
16
|
|
|
17
17
|
export interface HostFilteringMiddleware$instance {
|
|
18
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HostFiltering_HostFilteringMiddleware: never;
|
|
19
|
+
|
|
18
20
|
Invoke(context: HttpContext): Task;
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
export const HostFilteringMiddleware: {
|
|
23
|
-
new(next: RequestDelegate, logger:
|
|
25
|
+
new(next: RequestDelegate, logger: ILogger_1<HostFilteringMiddleware>, optionsMonitor: IOptionsMonitor_1<HostFilteringOptions>): HostFilteringMiddleware;
|
|
24
26
|
};
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
export type HostFilteringMiddleware = HostFilteringMiddleware$instance;
|
|
28
30
|
|
|
29
31
|
export interface HostFilteringOptions$instance {
|
|
30
|
-
|
|
32
|
+
readonly __tsonic_type_Microsoft_AspNetCore_HostFiltering_HostFilteringOptions: never;
|
|
33
|
+
|
|
34
|
+
AllowedHosts: IList_1<System_Internal.String>;
|
|
31
35
|
AllowEmptyHosts: boolean;
|
|
32
36
|
IncludeFailureMessage: boolean;
|
|
33
37
|
}
|
|
@@ -15,21 +15,23 @@ import type { HttpsConnectionAdapterOptions, TlsHandshakeCallbackOptions } from
|
|
|
15
15
|
import type { NamedPipeTransportOptions } from "../../Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.js";
|
|
16
16
|
import type { QuicTransportOptions } from "../../Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.js";
|
|
17
17
|
import type { SocketTransportOptions } from "../../Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.js";
|
|
18
|
-
import
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import
|
|
23
|
-
import type {
|
|
24
|
-
import type { IConfiguration, IConfigurationBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Configuration.js";
|
|
25
|
-
import * as Microsoft_Extensions_DependencyInjection_Internal from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
|
|
26
|
-
import type { IServiceCollection,
|
|
27
|
-
import type { IFileProvider } from "@tsonic/microsoft-extensions/Microsoft.Extensions.FileProviders.js";
|
|
28
|
-
import * as Microsoft_Extensions_Hosting_Internal from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting.js";
|
|
29
|
-
import type { IHostEnvironment } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting.js";
|
|
30
|
-
import type { ILoggingBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
18
|
+
import type { ServerOptionsSelectionCallback } from "@tsonic/dotnet/System.Net.Security/internal/index.js";
|
|
19
|
+
import type { StoreLocation, StoreName, X509Certificate2 } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates/internal/index.js";
|
|
20
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
21
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
22
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
23
|
+
import type { Action_1, Action_2, Attribute, Boolean as ClrBoolean, Func_2, IDisposable, IServiceProvider, Object as ClrObject, String as ClrString, TimeSpan, Type, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
24
|
+
import type { IConfiguration, IConfigurationBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Configuration/internal/index.js";
|
|
25
|
+
import * as Microsoft_Extensions_DependencyInjection_Internal from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection/internal/index.js";
|
|
26
|
+
import type { IServiceCollection, IServiceProviderFactory_1, ServiceProviderOptions } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection/internal/index.js";
|
|
27
|
+
import type { IFileProvider } from "@tsonic/microsoft-extensions/Microsoft.Extensions.FileProviders/internal/index.js";
|
|
28
|
+
import * as Microsoft_Extensions_Hosting_Internal from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting/internal/index.js";
|
|
29
|
+
import type { IHostEnvironment } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting/internal/index.js";
|
|
30
|
+
import type { ILoggingBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
31
31
|
|
|
32
32
|
export interface IApplicationLifetime$instance {
|
|
33
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IApplicationLifetime: never;
|
|
34
|
+
|
|
33
35
|
readonly ApplicationStarted: CancellationToken;
|
|
34
36
|
readonly ApplicationStopping: CancellationToken;
|
|
35
37
|
readonly ApplicationStopped: CancellationToken;
|
|
@@ -40,6 +42,8 @@ export interface IApplicationLifetime$instance {
|
|
|
40
42
|
export type IApplicationLifetime = IApplicationLifetime$instance;
|
|
41
43
|
|
|
42
44
|
export interface IHostingEnvironment$instance {
|
|
45
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IHostingEnvironment: never;
|
|
46
|
+
|
|
43
47
|
EnvironmentName: string;
|
|
44
48
|
ApplicationName: string;
|
|
45
49
|
WebRootPath: string;
|
|
@@ -52,6 +56,8 @@ export interface IHostingEnvironment$instance {
|
|
|
52
56
|
export type IHostingEnvironment = IHostingEnvironment$instance;
|
|
53
57
|
|
|
54
58
|
export interface IHostingStartup$instance {
|
|
59
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IHostingStartup: never;
|
|
60
|
+
|
|
55
61
|
Configure(builder: IWebHostBuilder): void;
|
|
56
62
|
}
|
|
57
63
|
|
|
@@ -59,6 +65,8 @@ export interface IHostingStartup$instance {
|
|
|
59
65
|
export type IHostingStartup = IHostingStartup$instance;
|
|
60
66
|
|
|
61
67
|
export interface IStartup$instance {
|
|
68
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IStartup: never;
|
|
69
|
+
|
|
62
70
|
Configure(app: IApplicationBuilder): void;
|
|
63
71
|
ConfigureServices(services: IServiceCollection): IServiceProvider;
|
|
64
72
|
}
|
|
@@ -67,27 +75,35 @@ export interface IStartup$instance {
|
|
|
67
75
|
export type IStartup = IStartup$instance;
|
|
68
76
|
|
|
69
77
|
export interface IStartupConfigureContainerFilter_1$instance<TContainerBuilder> {
|
|
70
|
-
|
|
78
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IStartupConfigureContainerFilter_1: never;
|
|
79
|
+
|
|
80
|
+
ConfigureContainer(container: Action_1<TContainerBuilder>): Action_1<TContainerBuilder>;
|
|
71
81
|
}
|
|
72
82
|
|
|
73
83
|
|
|
74
84
|
export type IStartupConfigureContainerFilter_1<TContainerBuilder> = IStartupConfigureContainerFilter_1$instance<TContainerBuilder>;
|
|
75
85
|
|
|
76
86
|
export interface IStartupConfigureServicesFilter$instance {
|
|
77
|
-
|
|
87
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IStartupConfigureServicesFilter: never;
|
|
88
|
+
|
|
89
|
+
ConfigureServices(next: Action_1<IServiceCollection>): Action_1<IServiceCollection>;
|
|
78
90
|
}
|
|
79
91
|
|
|
80
92
|
|
|
81
93
|
export type IStartupConfigureServicesFilter = IStartupConfigureServicesFilter$instance;
|
|
82
94
|
|
|
83
95
|
export interface IStartupFilter$instance {
|
|
84
|
-
|
|
96
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IStartupFilter: never;
|
|
97
|
+
|
|
98
|
+
Configure(next: Action_1<IApplicationBuilder>): Action_1<IApplicationBuilder>;
|
|
85
99
|
}
|
|
86
100
|
|
|
87
101
|
|
|
88
102
|
export type IStartupFilter = IStartupFilter$instance;
|
|
89
103
|
|
|
90
104
|
export interface IWebHost$instance extends IDisposable {
|
|
105
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IWebHost: never;
|
|
106
|
+
|
|
91
107
|
readonly ServerFeatures: IFeatureCollection;
|
|
92
108
|
readonly Services: IServiceProvider;
|
|
93
109
|
Start(): void;
|
|
@@ -95,12 +111,16 @@ export interface IWebHost$instance extends IDisposable {
|
|
|
95
111
|
}
|
|
96
112
|
|
|
97
113
|
|
|
114
|
+
export interface IWebHost$instance extends System_Internal.IDisposable {}
|
|
115
|
+
|
|
98
116
|
export type IWebHost = IWebHost$instance;
|
|
99
117
|
|
|
100
118
|
export interface IWebHostBuilder$instance {
|
|
119
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IWebHostBuilder: never;
|
|
120
|
+
|
|
101
121
|
Build(): IWebHost;
|
|
102
|
-
ConfigureAppConfiguration(configureDelegate:
|
|
103
|
-
ConfigureServices(configureServices:
|
|
122
|
+
ConfigureAppConfiguration(configureDelegate: Action_2<WebHostBuilderContext, IConfigurationBuilder>): IWebHostBuilder;
|
|
123
|
+
ConfigureServices(configureServices: Action_1<IServiceCollection>): IWebHostBuilder;
|
|
104
124
|
GetSetting(key: string): string | undefined;
|
|
105
125
|
UseSetting(key: string, value: string): IWebHostBuilder;
|
|
106
126
|
}
|
|
@@ -109,14 +129,22 @@ export interface IWebHostBuilder$instance {
|
|
|
109
129
|
export type IWebHostBuilder = IWebHostBuilder$instance;
|
|
110
130
|
|
|
111
131
|
export interface IWebHostEnvironment$instance extends IHostEnvironment {
|
|
132
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IWebHostEnvironment: never;
|
|
133
|
+
|
|
112
134
|
WebRootPath: string;
|
|
113
135
|
WebRootFileProvider: IFileProvider;
|
|
114
136
|
}
|
|
115
137
|
|
|
116
138
|
|
|
139
|
+
export interface IWebHostEnvironment$instance extends Microsoft_Extensions_Hosting_Internal.IHostEnvironment {}
|
|
140
|
+
|
|
117
141
|
export type IWebHostEnvironment = IWebHostEnvironment$instance;
|
|
118
142
|
|
|
119
143
|
export interface DelegateStartup$instance extends StartupBase_1$instance<IServiceCollection> {
|
|
144
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_DelegateStartup: never;
|
|
145
|
+
|
|
146
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IStartup: never;
|
|
147
|
+
|
|
120
148
|
Configure(app: IApplicationBuilder): void;
|
|
121
149
|
ConfigureServices(services: IServiceCollection): IServiceProvider;
|
|
122
150
|
ConfigureServices(services: IServiceCollection): void;
|
|
@@ -124,7 +152,7 @@ export interface DelegateStartup$instance extends StartupBase_1$instance<IServic
|
|
|
124
152
|
|
|
125
153
|
|
|
126
154
|
export const DelegateStartup: {
|
|
127
|
-
new(factory:
|
|
155
|
+
new(factory: IServiceProviderFactory_1<IServiceCollection>, configureApp: Action_1<IApplicationBuilder>): DelegateStartup;
|
|
128
156
|
};
|
|
129
157
|
|
|
130
158
|
|
|
@@ -136,6 +164,8 @@ export type DelegateStartup = DelegateStartup$instance & __DelegateStartup$views
|
|
|
136
164
|
|
|
137
165
|
|
|
138
166
|
export interface HostingStartupAttribute$instance extends Attribute {
|
|
167
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_HostingStartupAttribute: never;
|
|
168
|
+
|
|
139
169
|
readonly HostingStartupType: Type;
|
|
140
170
|
}
|
|
141
171
|
|
|
@@ -148,6 +178,10 @@ export const HostingStartupAttribute: {
|
|
|
148
178
|
export type HostingStartupAttribute = HostingStartupAttribute$instance;
|
|
149
179
|
|
|
150
180
|
export interface StartupBase$instance {
|
|
181
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_StartupBase: never;
|
|
182
|
+
|
|
183
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IStartup: never;
|
|
184
|
+
|
|
151
185
|
Configure(app: IApplicationBuilder): void;
|
|
152
186
|
ConfigureServices(services: IServiceCollection): void;
|
|
153
187
|
CreateServiceProvider(services: IServiceCollection): IServiceProvider;
|
|
@@ -166,6 +200,10 @@ export type StartupBase = StartupBase$instance & __StartupBase$views;
|
|
|
166
200
|
|
|
167
201
|
|
|
168
202
|
export interface StartupBase_1$instance<TBuilder> extends StartupBase$instance {
|
|
203
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_StartupBase_1: never;
|
|
204
|
+
|
|
205
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IStartup: never;
|
|
206
|
+
|
|
169
207
|
Configure(app: IApplicationBuilder): void;
|
|
170
208
|
ConfigureContainer(builder: TBuilder): void;
|
|
171
209
|
ConfigureServices(services: IServiceCollection): void;
|
|
@@ -174,7 +212,7 @@ export interface StartupBase_1$instance<TBuilder> extends StartupBase$instance {
|
|
|
174
212
|
}
|
|
175
213
|
|
|
176
214
|
|
|
177
|
-
export const StartupBase_1: (abstract new<TBuilder>(factory:
|
|
215
|
+
export const StartupBase_1: (abstract new<TBuilder>(factory: IServiceProviderFactory_1<TBuilder>) => StartupBase_1<TBuilder>) & {
|
|
178
216
|
};
|
|
179
217
|
|
|
180
218
|
|
|
@@ -185,11 +223,15 @@ export interface __StartupBase_1$views<TBuilder> {
|
|
|
185
223
|
export type StartupBase_1<TBuilder> = StartupBase_1$instance<TBuilder> & __StartupBase_1$views<TBuilder>;
|
|
186
224
|
|
|
187
225
|
|
|
188
|
-
export interface WebHostBuilder$instance {
|
|
226
|
+
export interface WebHostBuilder$instance extends IWebHostBuilder$instance {
|
|
227
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_WebHostBuilder: never;
|
|
228
|
+
|
|
229
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_IWebHostBuilder: never;
|
|
230
|
+
|
|
189
231
|
Build(): IWebHost;
|
|
190
|
-
ConfigureAppConfiguration(configureDelegate:
|
|
191
|
-
ConfigureServices(configureServices:
|
|
192
|
-
ConfigureServices(configureServices:
|
|
232
|
+
ConfigureAppConfiguration(configureDelegate: Action_2<WebHostBuilderContext, IConfigurationBuilder>): IWebHostBuilder;
|
|
233
|
+
ConfigureServices(configureServices: Action_1<IServiceCollection>): IWebHostBuilder;
|
|
234
|
+
ConfigureServices(configureServices: Action_2<WebHostBuilderContext, IServiceCollection>): IWebHostBuilder;
|
|
193
235
|
GetSetting(key: string): string | undefined;
|
|
194
236
|
UseSetting(key: string, value: string): IWebHostBuilder;
|
|
195
237
|
}
|
|
@@ -204,12 +246,12 @@ export interface __WebHostBuilder$views {
|
|
|
204
246
|
As_IWebHostBuilder(): IWebHostBuilder$instance;
|
|
205
247
|
}
|
|
206
248
|
|
|
207
|
-
export interface WebHostBuilder$instance extends IWebHostBuilder$instance {}
|
|
208
|
-
|
|
209
249
|
export type WebHostBuilder = WebHostBuilder$instance & __WebHostBuilder$views;
|
|
210
250
|
|
|
211
251
|
|
|
212
252
|
export interface WebHostBuilderContext$instance {
|
|
253
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_WebHostBuilderContext: never;
|
|
254
|
+
|
|
213
255
|
Configuration: IConfiguration;
|
|
214
256
|
HostingEnvironment: IWebHostEnvironment;
|
|
215
257
|
}
|
|
@@ -260,7 +302,7 @@ export abstract class HostingEnvironmentExtensions$instance {
|
|
|
260
302
|
export type HostingEnvironmentExtensions = HostingEnvironmentExtensions$instance;
|
|
261
303
|
|
|
262
304
|
export abstract class KestrelServerOptionsSystemdExtensions$instance {
|
|
263
|
-
static UseSystemd(options: KestrelServerOptions, configure:
|
|
305
|
+
static UseSystemd(options: KestrelServerOptions, configure: Action_1<ListenOptions>): KestrelServerOptions;
|
|
264
306
|
static UseSystemd(options: KestrelServerOptions): KestrelServerOptions;
|
|
265
307
|
}
|
|
266
308
|
|
|
@@ -278,16 +320,16 @@ export type ListenOptionsConnectionLoggingExtensions = ListenOptionsConnectionLo
|
|
|
278
320
|
export abstract class ListenOptionsHttpsExtensions$instance {
|
|
279
321
|
static UseHttps(listenOptions: ListenOptions, httpsOptions: HttpsConnectionAdapterOptions): ListenOptions;
|
|
280
322
|
static UseHttps(listenOptions: ListenOptions, callbackOptions: TlsHandshakeCallbackOptions): ListenOptions;
|
|
281
|
-
static UseHttps(listenOptions: ListenOptions, configureOptions:
|
|
323
|
+
static UseHttps(listenOptions: ListenOptions, configureOptions: Action_1<HttpsConnectionAdapterOptions>): ListenOptions;
|
|
282
324
|
static UseHttps(listenOptions: ListenOptions, serverOptionsSelectionCallback: ServerOptionsSelectionCallback, state: unknown, handshakeTimeout: TimeSpan): ListenOptions;
|
|
283
325
|
static UseHttps(listenOptions: ListenOptions, serverOptionsSelectionCallback: ServerOptionsSelectionCallback, state: unknown): ListenOptions;
|
|
284
|
-
static UseHttps(listenOptions: ListenOptions, storeName: StoreName, subject: string, allowInvalid: boolean, location: StoreLocation, configureOptions:
|
|
326
|
+
static UseHttps(listenOptions: ListenOptions, storeName: StoreName, subject: string, allowInvalid: boolean, location: StoreLocation, configureOptions: Action_1<HttpsConnectionAdapterOptions>): ListenOptions;
|
|
285
327
|
static UseHttps(listenOptions: ListenOptions, storeName: StoreName, subject: string, allowInvalid: boolean, location: StoreLocation): ListenOptions;
|
|
286
328
|
static UseHttps(listenOptions: ListenOptions, storeName: StoreName, subject: string, allowInvalid: boolean): ListenOptions;
|
|
287
329
|
static UseHttps(listenOptions: ListenOptions, storeName: StoreName, subject: string): ListenOptions;
|
|
288
|
-
static UseHttps(listenOptions: ListenOptions, serverCertificate: X509Certificate2, configureOptions:
|
|
330
|
+
static UseHttps(listenOptions: ListenOptions, serverCertificate: X509Certificate2, configureOptions: Action_1<HttpsConnectionAdapterOptions>): ListenOptions;
|
|
289
331
|
static UseHttps(listenOptions: ListenOptions, serverCertificate: X509Certificate2): ListenOptions;
|
|
290
|
-
static UseHttps(listenOptions: ListenOptions, fileName: string, password: string, configureOptions:
|
|
332
|
+
static UseHttps(listenOptions: ListenOptions, fileName: string, password: string, configureOptions: Action_1<HttpsConnectionAdapterOptions>): ListenOptions;
|
|
291
333
|
static UseHttps(listenOptions: ListenOptions, fileName: string, password: string): ListenOptions;
|
|
292
334
|
static UseHttps(listenOptions: ListenOptions, fileName: string): ListenOptions;
|
|
293
335
|
static UseHttps(listenOptions: ListenOptions): ListenOptions;
|
|
@@ -297,14 +339,14 @@ export abstract class ListenOptionsHttpsExtensions$instance {
|
|
|
297
339
|
export type ListenOptionsHttpsExtensions = ListenOptionsHttpsExtensions$instance;
|
|
298
340
|
|
|
299
341
|
export abstract class WebHostBuilderExtensions$instance {
|
|
300
|
-
static Configure(hostBuilder: IWebHostBuilder, configureApp:
|
|
301
|
-
static Configure(hostBuilder: IWebHostBuilder, configureApp:
|
|
302
|
-
static ConfigureAppConfiguration(hostBuilder: IWebHostBuilder, configureDelegate:
|
|
303
|
-
static ConfigureLogging(hostBuilder: IWebHostBuilder, configureLogging:
|
|
304
|
-
static ConfigureLogging(hostBuilder: IWebHostBuilder, configureLogging:
|
|
305
|
-
static UseDefaultServiceProvider(hostBuilder: IWebHostBuilder, configure:
|
|
306
|
-
static UseDefaultServiceProvider(hostBuilder: IWebHostBuilder, configure:
|
|
307
|
-
static UseStartup<TStartup>(hostBuilder: IWebHostBuilder, startupFactory:
|
|
342
|
+
static Configure(hostBuilder: IWebHostBuilder, configureApp: Action_1<IApplicationBuilder>): IWebHostBuilder;
|
|
343
|
+
static Configure(hostBuilder: IWebHostBuilder, configureApp: Action_2<WebHostBuilderContext, IApplicationBuilder>): IWebHostBuilder;
|
|
344
|
+
static ConfigureAppConfiguration(hostBuilder: IWebHostBuilder, configureDelegate: Action_1<IConfigurationBuilder>): IWebHostBuilder;
|
|
345
|
+
static ConfigureLogging(hostBuilder: IWebHostBuilder, configureLogging: Action_1<ILoggingBuilder>): IWebHostBuilder;
|
|
346
|
+
static ConfigureLogging(hostBuilder: IWebHostBuilder, configureLogging: Action_2<WebHostBuilderContext, ILoggingBuilder>): IWebHostBuilder;
|
|
347
|
+
static UseDefaultServiceProvider(hostBuilder: IWebHostBuilder, configure: Action_1<ServiceProviderOptions>): IWebHostBuilder;
|
|
348
|
+
static UseDefaultServiceProvider(hostBuilder: IWebHostBuilder, configure: Action_2<WebHostBuilderContext, ServiceProviderOptions>): IWebHostBuilder;
|
|
349
|
+
static UseStartup<TStartup>(hostBuilder: IWebHostBuilder, startupFactory: Func_2<WebHostBuilderContext, TStartup>): IWebHostBuilder;
|
|
308
350
|
static UseStartup(hostBuilder: IWebHostBuilder, startupType: Type): IWebHostBuilder;
|
|
309
351
|
static UseStartup<TStartup>(hostBuilder: IWebHostBuilder): IWebHostBuilder;
|
|
310
352
|
static UseStaticWebAssets(builder: IWebHostBuilder): IWebHostBuilder;
|
|
@@ -314,7 +356,7 @@ export abstract class WebHostBuilderExtensions$instance {
|
|
|
314
356
|
export type WebHostBuilderExtensions = WebHostBuilderExtensions$instance;
|
|
315
357
|
|
|
316
358
|
export abstract class WebHostBuilderHttpSysExtensions$instance {
|
|
317
|
-
static UseHttpSys(hostBuilder: IWebHostBuilder, options:
|
|
359
|
+
static UseHttpSys(hostBuilder: IWebHostBuilder, options: Action_1<HttpSysOptions>): IWebHostBuilder;
|
|
318
360
|
static UseHttpSys(hostBuilder: IWebHostBuilder): IWebHostBuilder;
|
|
319
361
|
}
|
|
320
362
|
|
|
@@ -336,10 +378,10 @@ export abstract class WebHostBuilderIISExtensions2$instance {
|
|
|
336
378
|
export type WebHostBuilderIISExtensions2 = WebHostBuilderIISExtensions2$instance;
|
|
337
379
|
|
|
338
380
|
export abstract class WebHostBuilderKestrelExtensions$instance {
|
|
339
|
-
static ConfigureKestrel(hostBuilder: IWebHostBuilder, options:
|
|
340
|
-
static ConfigureKestrel(hostBuilder: IWebHostBuilder, configureOptions:
|
|
341
|
-
static UseKestrel(hostBuilder: IWebHostBuilder, options:
|
|
342
|
-
static UseKestrel(hostBuilder: IWebHostBuilder, configureOptions:
|
|
381
|
+
static ConfigureKestrel(hostBuilder: IWebHostBuilder, options: Action_1<KestrelServerOptions>): IWebHostBuilder;
|
|
382
|
+
static ConfigureKestrel(hostBuilder: IWebHostBuilder, configureOptions: Action_2<WebHostBuilderContext, KestrelServerOptions>): IWebHostBuilder;
|
|
383
|
+
static UseKestrel(hostBuilder: IWebHostBuilder, options: Action_1<KestrelServerOptions>): IWebHostBuilder;
|
|
384
|
+
static UseKestrel(hostBuilder: IWebHostBuilder, configureOptions: Action_2<WebHostBuilderContext, KestrelServerOptions>): IWebHostBuilder;
|
|
343
385
|
static UseKestrel(hostBuilder: IWebHostBuilder): IWebHostBuilder;
|
|
344
386
|
static UseKestrelCore(hostBuilder: IWebHostBuilder): IWebHostBuilder;
|
|
345
387
|
static UseKestrelHttpsConfiguration(hostBuilder: IWebHostBuilder): IWebHostBuilder;
|
|
@@ -349,7 +391,7 @@ export abstract class WebHostBuilderKestrelExtensions$instance {
|
|
|
349
391
|
export type WebHostBuilderKestrelExtensions = WebHostBuilderKestrelExtensions$instance;
|
|
350
392
|
|
|
351
393
|
export abstract class WebHostBuilderNamedPipeExtensions$instance {
|
|
352
|
-
static UseNamedPipes(hostBuilder: IWebHostBuilder, configureOptions:
|
|
394
|
+
static UseNamedPipes(hostBuilder: IWebHostBuilder, configureOptions: Action_1<NamedPipeTransportOptions>): IWebHostBuilder;
|
|
353
395
|
static UseNamedPipes(hostBuilder: IWebHostBuilder): IWebHostBuilder;
|
|
354
396
|
}
|
|
355
397
|
|
|
@@ -357,7 +399,7 @@ export abstract class WebHostBuilderNamedPipeExtensions$instance {
|
|
|
357
399
|
export type WebHostBuilderNamedPipeExtensions = WebHostBuilderNamedPipeExtensions$instance;
|
|
358
400
|
|
|
359
401
|
export abstract class WebHostBuilderQuicExtensions$instance {
|
|
360
|
-
static UseQuic(hostBuilder: IWebHostBuilder, configureOptions:
|
|
402
|
+
static UseQuic(hostBuilder: IWebHostBuilder, configureOptions: Action_1<QuicTransportOptions>): IWebHostBuilder;
|
|
361
403
|
static UseQuic(hostBuilder: IWebHostBuilder): IWebHostBuilder;
|
|
362
404
|
}
|
|
363
405
|
|
|
@@ -365,7 +407,7 @@ export abstract class WebHostBuilderQuicExtensions$instance {
|
|
|
365
407
|
export type WebHostBuilderQuicExtensions = WebHostBuilderQuicExtensions$instance;
|
|
366
408
|
|
|
367
409
|
export abstract class WebHostBuilderSocketExtensions$instance {
|
|
368
|
-
static UseSockets(hostBuilder: IWebHostBuilder, configureOptions:
|
|
410
|
+
static UseSockets(hostBuilder: IWebHostBuilder, configureOptions: Action_1<SocketTransportOptions>): IWebHostBuilder;
|
|
369
411
|
static UseSockets(hostBuilder: IWebHostBuilder): IWebHostBuilder;
|
|
370
412
|
}
|
|
371
413
|
|
|
@@ -8,17 +8,23 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { IApplicationBuilder } from "../../Microsoft.AspNetCore.Builder/internal/index.js";
|
|
10
10
|
import type { IFeatureCollection } from "../../Microsoft.AspNetCore.Http.Features/internal/index.js";
|
|
11
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
12
|
-
import type { IServiceProvider, Object as ClrObject } from "@tsonic/dotnet/System.js";
|
|
11
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { IServiceProvider, Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
|
|
13
13
|
|
|
14
14
|
export interface IApplicationBuilderFactory$instance {
|
|
15
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Builder_IApplicationBuilderFactory: never;
|
|
16
|
+
|
|
15
17
|
CreateBuilder(serverFeatures: IFeatureCollection): IApplicationBuilder;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
export type IApplicationBuilderFactory = IApplicationBuilderFactory$instance;
|
|
20
22
|
|
|
21
|
-
export interface ApplicationBuilderFactory$instance {
|
|
23
|
+
export interface ApplicationBuilderFactory$instance extends IApplicationBuilderFactory$instance {
|
|
24
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_Builder_ApplicationBuilderFactory: never;
|
|
25
|
+
|
|
26
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Builder_IApplicationBuilderFactory: never;
|
|
27
|
+
|
|
22
28
|
CreateBuilder(serverFeatures: IFeatureCollection): IApplicationBuilder;
|
|
23
29
|
}
|
|
24
30
|
|
|
@@ -32,8 +38,6 @@ export interface __ApplicationBuilderFactory$views {
|
|
|
32
38
|
As_IApplicationBuilderFactory(): IApplicationBuilderFactory$instance;
|
|
33
39
|
}
|
|
34
40
|
|
|
35
|
-
export interface ApplicationBuilderFactory$instance extends IApplicationBuilderFactory$instance {}
|
|
36
|
-
|
|
37
41
|
export type ApplicationBuilderFactory = ApplicationBuilderFactory$instance & __ApplicationBuilderFactory$views;
|
|
38
42
|
|
|
39
43
|
|
|
@@ -10,20 +10,24 @@ import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
|
10
10
|
import type { IApplicationBuilder } from "../../Microsoft.AspNetCore.Builder/internal/index.js";
|
|
11
11
|
import type { IWebHostBuilder, WebHostBuilderContext } from "../../Microsoft.AspNetCore.Hosting/internal/index.js";
|
|
12
12
|
import type { WebHostBuilderOptions } from "../../Microsoft.Extensions.Hosting/internal/index.js";
|
|
13
|
-
import type {
|
|
14
|
-
import type { IHostBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting.js";
|
|
13
|
+
import type { Action_1, Action_2, Func_2, Type } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { IHostBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting/internal/index.js";
|
|
15
15
|
|
|
16
16
|
export interface ISupportsConfigureWebHost$instance {
|
|
17
|
-
|
|
17
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Infrastructure_ISupportsConfigureWebHost: never;
|
|
18
|
+
|
|
19
|
+
ConfigureWebHost(configure: Action_1<IWebHostBuilder>, configureOptions: Action_1<WebHostBuilderOptions>): IHostBuilder;
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
|
|
21
23
|
export type ISupportsConfigureWebHost = ISupportsConfigureWebHost$instance;
|
|
22
24
|
|
|
23
25
|
export interface ISupportsStartup$instance {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Infrastructure_ISupportsStartup: never;
|
|
27
|
+
|
|
28
|
+
Configure(configure: Action_1<IApplicationBuilder>): IWebHostBuilder;
|
|
29
|
+
Configure(configure: Action_2<WebHostBuilderContext, IApplicationBuilder>): IWebHostBuilder;
|
|
30
|
+
UseStartup<TStartup>(startupFactory: Func_2<WebHostBuilderContext, TStartup>): IWebHostBuilder;
|
|
27
31
|
UseStartup(startupType: Type): IWebHostBuilder;
|
|
28
32
|
}
|
|
29
33
|
|
|
@@ -7,12 +7,14 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { IFeatureCollection } from "../../Microsoft.AspNetCore.Http.Features/internal/index.js";
|
|
10
|
-
import
|
|
11
|
-
import type {
|
|
12
|
-
import
|
|
13
|
-
import type {
|
|
10
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
11
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Exception, IDisposable, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export interface IHttpApplication_1$instance<TContext> {
|
|
16
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Server_IHttpApplication_1: never;
|
|
17
|
+
|
|
16
18
|
CreateContext(contextFeatures: IFeatureCollection): TContext;
|
|
17
19
|
DisposeContext(context: TContext, exception: Exception): void;
|
|
18
20
|
ProcessRequestAsync(context: TContext): Task;
|
|
@@ -22,15 +24,21 @@ export interface IHttpApplication_1$instance<TContext> {
|
|
|
22
24
|
export type IHttpApplication_1<TContext> = IHttpApplication_1$instance<TContext>;
|
|
23
25
|
|
|
24
26
|
export interface IServer$instance extends IDisposable {
|
|
27
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Server_IServer: never;
|
|
28
|
+
|
|
25
29
|
readonly Features: IFeatureCollection;
|
|
26
30
|
StartAsync<TContext>(application: IHttpApplication_1<TContext>, cancellationToken: CancellationToken): Task;
|
|
27
31
|
StopAsync(cancellationToken: CancellationToken): Task;
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
|
|
35
|
+
export interface IServer$instance extends System_Internal.IDisposable {}
|
|
36
|
+
|
|
31
37
|
export type IServer = IServer$instance;
|
|
32
38
|
|
|
33
39
|
export interface IServerIntegratedAuth$instance {
|
|
40
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Server_IServerIntegratedAuth: never;
|
|
41
|
+
|
|
34
42
|
readonly IsEnabled: boolean;
|
|
35
43
|
readonly AuthenticationScheme: string;
|
|
36
44
|
}
|
|
@@ -39,6 +47,10 @@ export interface IServerIntegratedAuth$instance {
|
|
|
39
47
|
export type IServerIntegratedAuth = IServerIntegratedAuth$instance;
|
|
40
48
|
|
|
41
49
|
export interface ServerIntegratedAuth$instance {
|
|
50
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_Server_ServerIntegratedAuth: never;
|
|
51
|
+
|
|
52
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Server_IServerIntegratedAuth: never;
|
|
53
|
+
|
|
42
54
|
AuthenticationScheme: string;
|
|
43
55
|
IsEnabled: boolean;
|
|
44
56
|
}
|
|
@@ -9,6 +9,8 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
10
|
|
|
11
11
|
export interface IHostContextContainer_1$instance<TContext> {
|
|
12
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Server_Abstractions_IHostContextContainer_1: never;
|
|
13
|
+
|
|
12
14
|
HostContext: TContext | undefined;
|
|
13
15
|
}
|
|
14
16
|
|
|
@@ -6,20 +6,26 @@
|
|
|
6
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
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import type {
|
|
10
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
11
|
-
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System.js";
|
|
9
|
+
import type { ICollection_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { Boolean as ClrBoolean, Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
12
|
|
|
13
13
|
export interface IServerAddressesFeature$instance {
|
|
14
|
-
readonly
|
|
14
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Server_Features_IServerAddressesFeature: never;
|
|
15
|
+
|
|
16
|
+
readonly Addresses: ICollection_1<System_Internal.String>;
|
|
15
17
|
PreferHostingUrls: boolean;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
export type IServerAddressesFeature = IServerAddressesFeature$instance;
|
|
20
22
|
|
|
21
|
-
export interface ServerAddressesFeature$instance {
|
|
22
|
-
readonly
|
|
23
|
+
export interface ServerAddressesFeature$instance extends IServerAddressesFeature$instance {
|
|
24
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_Server_Features_ServerAddressesFeature: never;
|
|
25
|
+
|
|
26
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Hosting_Server_Features_IServerAddressesFeature: never;
|
|
27
|
+
|
|
28
|
+
readonly Addresses: ICollection_1<System_Internal.String>;
|
|
23
29
|
PreferHostingUrls: boolean;
|
|
24
30
|
}
|
|
25
31
|
|
|
@@ -33,8 +39,6 @@ export interface __ServerAddressesFeature$views {
|
|
|
33
39
|
As_IServerAddressesFeature(): IServerAddressesFeature$instance;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
|
-
export interface ServerAddressesFeature$instance extends IServerAddressesFeature$instance {}
|
|
37
|
-
|
|
38
42
|
export type ServerAddressesFeature = ServerAddressesFeature$instance & __ServerAddressesFeature$views;
|
|
39
43
|
|
|
40
44
|
|
|
@@ -7,11 +7,13 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { IWebHostEnvironment } from "../../Microsoft.AspNetCore.Hosting/internal/index.js";
|
|
10
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
11
|
-
import type { Object as ClrObject, Void } from "@tsonic/dotnet/System.js";
|
|
12
|
-
import type { IConfiguration } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Configuration.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { Object as ClrObject, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { IConfiguration } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Configuration/internal/index.js";
|
|
13
13
|
|
|
14
14
|
export interface StaticWebAssetsLoader$instance {
|
|
15
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Hosting_StaticWebAssets_StaticWebAssetsLoader: never;
|
|
16
|
+
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
|