@tsonic/aspnetcore 10.0.39 → 10.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +175 -172
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authentication.d.ts +2 -0
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +78 -77
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components/bindings.json +4 -1
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +226 -228
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +73 -75
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +20 -19
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Components.d.ts +1 -1
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +31 -30
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +5 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +33 -32
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Http/bindings.json +470 -530
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +313 -318
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +54 -56
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +63 -62
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Http.d.ts +4 -4
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +249 -248
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +394 -393
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +72 -71
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +99 -119
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +91 -91
- package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +1 -1
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +59 -58
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +27 -26
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +50 -33
- package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +1 -0
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +18 -17
- package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +261 -263
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +58 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +2 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +7 -7
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +140 -139
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +137 -136
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +45 -44
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +4 -6
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +181 -183
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +1 -1
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +135 -137
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +13 -15
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +32 -31
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Routing.d.ts +1 -1
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +9 -11
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.SignalR/bindings.json +131 -131
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +104 -106
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
- package/Microsoft.AspNetCore.SignalR.d.ts +1 -1
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.WebUtilities.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +30 -29
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.JSInterop/internal/index.d.ts +46 -48
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +8 -10
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
- package/README.md +58 -15
- package/System.Formats.Cbor/internal/index.d.ts +4 -6
- package/System.Security.Claims/internal/index.d.ts +4 -3
- package/System.Threading.RateLimiting/internal/index.d.ts +13 -15
- package/__internal/extensions/index.d.ts +417 -419
- package/package.json +4 -4
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Http
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Hosting, Microsoft.AspNetCore.Http, Microsoft.AspNetCore.Http.Abstractions, Microsoft.AspNetCore.Http.Extensions, Microsoft.AspNetCore.Http.Features, Microsoft.AspNetCore.Http.Results, Microsoft.AspNetCore.Routing
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { AuthenticationProperties } from "../../Microsoft.AspNetCore.Authentication/internal/index.js";
|
|
@@ -64,7 +62,7 @@ export enum SameSiteMode {
|
|
|
64
62
|
}
|
|
65
63
|
|
|
66
64
|
|
|
67
|
-
export type EndpointFilterDelegate = (context: EndpointFilterInvocationContext) => ValueTask_1<
|
|
65
|
+
export type EndpointFilterDelegate = (context: EndpointFilterInvocationContext) => ValueTask_1<JsValue>;
|
|
68
66
|
|
|
69
67
|
|
|
70
68
|
export type RequestDelegate = (context: HttpContext) => Task;
|
|
@@ -90,7 +88,7 @@ export type IContentTypeHttpResult = IContentTypeHttpResult$instance;
|
|
|
90
88
|
export interface IEndpointFilter$instance {
|
|
91
89
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IEndpointFilter: never;
|
|
92
90
|
|
|
93
|
-
InvokeAsync(context: EndpointFilterInvocationContext, next: EndpointFilterDelegate): ValueTask_1<
|
|
91
|
+
InvokeAsync(context: EndpointFilterInvocationContext, next: EndpointFilterDelegate): ValueTask_1<JsValue>;
|
|
94
92
|
}
|
|
95
93
|
|
|
96
94
|
|
|
@@ -100,7 +98,7 @@ export interface IFileHttpResult$instance {
|
|
|
100
98
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IFileHttpResult: never;
|
|
101
99
|
|
|
102
100
|
readonly ContentType: string;
|
|
103
|
-
readonly FileDownloadName: string |
|
|
101
|
+
readonly FileDownloadName: string | null;
|
|
104
102
|
}
|
|
105
103
|
|
|
106
104
|
|
|
@@ -141,14 +139,14 @@ export type IFormFile = IFormFile$instance;
|
|
|
141
139
|
export interface IFormFileCollection$instance extends IReadOnlyList_1<IFormFile>, IEnumerable_1<IFormFile>, IEnumerable, IReadOnlyCollection_1<IFormFile> {
|
|
142
140
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IFormFileCollection: never;
|
|
143
141
|
|
|
144
|
-
GetFile(name: string): IFormFile |
|
|
142
|
+
GetFile(name: string): IFormFile | null;
|
|
145
143
|
GetFiles(name: string): IReadOnlyList_1<IFormFile>;
|
|
146
144
|
}
|
|
147
145
|
|
|
148
146
|
|
|
149
147
|
export interface IFormFileCollection$instance extends System_Collections_Generic_Internal.IEnumerable_1<IFormFile>, System_Collections_Generic_Internal.IReadOnlyCollection_1<IFormFile>, System_Collections_Generic_Internal.IReadOnlyList_1<IFormFile> {}
|
|
150
148
|
|
|
151
|
-
export type IFormFileCollection = IFormFileCollection$instance & { readonly [name: string]: IFormFile |
|
|
149
|
+
export type IFormFileCollection = IFormFileCollection$instance & { readonly [name: string]: IFormFile | null; };
|
|
152
150
|
|
|
153
151
|
export interface IHeaderDictionary$instance extends IDictionary_2<System_Internal.String, StringValues>, ICollection_1<KeyValuePair_2<System_Internal.String, StringValues>>, IEnumerable_1<KeyValuePair_2<System_Internal.String, StringValues>>, IEnumerable {
|
|
154
152
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IHeaderDictionary: never;
|
|
@@ -254,8 +252,8 @@ export type IHeaderDictionary = IHeaderDictionary$instance & { [key: string]: St
|
|
|
254
252
|
export interface IHttpContextAccessor$instance {
|
|
255
253
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IHttpContextAccessor: never;
|
|
256
254
|
|
|
257
|
-
get HttpContext(): HttpContext |
|
|
258
|
-
set HttpContext(value: HttpContext |
|
|
255
|
+
get HttpContext(): HttpContext | null;
|
|
256
|
+
set HttpContext(value: HttpContext | null);
|
|
259
257
|
}
|
|
260
258
|
|
|
261
259
|
|
|
@@ -283,7 +281,7 @@ export type IMiddleware = IMiddleware$instance;
|
|
|
283
281
|
export interface IMiddlewareFactory$instance {
|
|
284
282
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IMiddlewareFactory: never;
|
|
285
283
|
|
|
286
|
-
Create(middlewareType: Type): IMiddleware |
|
|
284
|
+
Create(middlewareType: Type): IMiddleware | null;
|
|
287
285
|
Release(middleware: IMiddleware): void;
|
|
288
286
|
}
|
|
289
287
|
|
|
@@ -339,13 +337,13 @@ export interface IRequestCookieCollection$instance extends IEnumerable_1<KeyValu
|
|
|
339
337
|
readonly Count: int;
|
|
340
338
|
readonly Keys: ICollection_1<System_Internal.String>;
|
|
341
339
|
ContainsKey(key: string): boolean;
|
|
342
|
-
TryGetValue(key: string, value: string): boolean;
|
|
340
|
+
TryGetValue(key: string, value: string | null): boolean;
|
|
343
341
|
}
|
|
344
342
|
|
|
345
343
|
|
|
346
344
|
export interface IRequestCookieCollection$instance extends System_Collections_Generic_Internal.IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> {}
|
|
347
345
|
|
|
348
|
-
export type IRequestCookieCollection = IRequestCookieCollection$instance & { readonly [key: string]: string |
|
|
346
|
+
export type IRequestCookieCollection = IRequestCookieCollection$instance & { readonly [key: string]: string | null; };
|
|
349
347
|
|
|
350
348
|
export interface IResponseCookies$instance {
|
|
351
349
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IResponseCookies: never;
|
|
@@ -387,7 +385,7 @@ export interface ISession$instance {
|
|
|
387
385
|
LoadAsync(cancellationToken?: CancellationToken): Task;
|
|
388
386
|
Remove(key: string): void;
|
|
389
387
|
Set(key: string, value: byte[]): void;
|
|
390
|
-
TryGetValue(key: string, value: byte[]): boolean;
|
|
388
|
+
TryGetValue(key: string, value: byte[] | null): boolean;
|
|
391
389
|
}
|
|
392
390
|
|
|
393
391
|
|
|
@@ -405,7 +403,7 @@ export type IStatusCodeHttpResult = IStatusCodeHttpResult$instance;
|
|
|
405
403
|
export interface IValueHttpResult$instance {
|
|
406
404
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IValueHttpResult: never;
|
|
407
405
|
|
|
408
|
-
readonly Value:
|
|
406
|
+
readonly Value: JsValue | null;
|
|
409
407
|
}
|
|
410
408
|
|
|
411
409
|
|
|
@@ -414,54 +412,12 @@ export type IValueHttpResult = IValueHttpResult$instance;
|
|
|
414
412
|
export interface IValueHttpResult_1$instance<TValue> {
|
|
415
413
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IValueHttpResult_1: never;
|
|
416
414
|
|
|
417
|
-
readonly Value: TValue |
|
|
415
|
+
readonly Value: TValue | null;
|
|
418
416
|
}
|
|
419
417
|
|
|
420
418
|
|
|
421
419
|
export type IValueHttpResult_1<TValue> = IValueHttpResult_1$instance<TValue>;
|
|
422
420
|
|
|
423
|
-
export interface EndpointMetadataCollection_Enumerator$instance {
|
|
424
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Http_EndpointMetadataCollection_Enumerator: never;
|
|
425
|
-
|
|
426
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
427
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
428
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
429
|
-
|
|
430
|
-
readonly Current: unknown;
|
|
431
|
-
Dispose(): void;
|
|
432
|
-
MoveNext(): boolean;
|
|
433
|
-
Reset(): void;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
export const EndpointMetadataCollection_Enumerator: {
|
|
438
|
-
new(): EndpointMetadataCollection_Enumerator;
|
|
439
|
-
};
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
export type EndpointMetadataCollection_Enumerator = EndpointMetadataCollection_Enumerator$instance;
|
|
443
|
-
|
|
444
|
-
export interface FormCollection_Enumerator$instance {
|
|
445
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Http_FormCollection_Enumerator: never;
|
|
446
|
-
|
|
447
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
448
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
449
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
450
|
-
|
|
451
|
-
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
452
|
-
Dispose(): void;
|
|
453
|
-
MoveNext(): boolean;
|
|
454
|
-
Reset(): void;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
export const FormCollection_Enumerator: {
|
|
459
|
-
new(): FormCollection_Enumerator;
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
export type FormCollection_Enumerator = FormCollection_Enumerator$instance;
|
|
464
|
-
|
|
465
421
|
export interface FragmentString$instance {
|
|
466
422
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_FragmentString: never;
|
|
467
423
|
|
|
@@ -470,7 +426,7 @@ export interface FragmentString$instance {
|
|
|
470
426
|
readonly HasValue: boolean;
|
|
471
427
|
readonly Value: string;
|
|
472
428
|
Equals(other: FragmentString): boolean;
|
|
473
|
-
Equals(obj:
|
|
429
|
+
Equals(obj: JsValue | null): boolean;
|
|
474
430
|
GetHashCode(): int;
|
|
475
431
|
ToString(): string;
|
|
476
432
|
ToUriComponent(): string;
|
|
@@ -487,27 +443,6 @@ export const FragmentString: {
|
|
|
487
443
|
|
|
488
444
|
export type FragmentString = FragmentString$instance;
|
|
489
445
|
|
|
490
|
-
export interface HeaderDictionary_Enumerator$instance {
|
|
491
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Http_HeaderDictionary_Enumerator: never;
|
|
492
|
-
|
|
493
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
494
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
495
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
496
|
-
|
|
497
|
-
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
498
|
-
Dispose(): void;
|
|
499
|
-
MoveNext(): boolean;
|
|
500
|
-
Reset(): void;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
export const HeaderDictionary_Enumerator: {
|
|
505
|
-
new(): HeaderDictionary_Enumerator;
|
|
506
|
-
};
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
export type HeaderDictionary_Enumerator = HeaderDictionary_Enumerator$instance;
|
|
510
|
-
|
|
511
446
|
export interface HostString$instance {
|
|
512
447
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_HostString: never;
|
|
513
448
|
|
|
@@ -516,9 +451,9 @@ export interface HostString$instance {
|
|
|
516
451
|
readonly HasValue: boolean;
|
|
517
452
|
readonly Host: string;
|
|
518
453
|
readonly Port: Nullable_1<System_Internal.Int32>;
|
|
519
|
-
readonly Value: string |
|
|
454
|
+
readonly Value: string | null;
|
|
520
455
|
Equals(other: HostString): boolean;
|
|
521
|
-
Equals(obj:
|
|
456
|
+
Equals(obj: JsValue | null): boolean;
|
|
522
457
|
GetHashCode(): int;
|
|
523
458
|
ToString(): string;
|
|
524
459
|
ToUriComponent(): string;
|
|
@@ -526,7 +461,7 @@ export interface HostString$instance {
|
|
|
526
461
|
|
|
527
462
|
|
|
528
463
|
export const HostString: {
|
|
529
|
-
new(value: string): HostString;
|
|
464
|
+
new(value: string | null): HostString;
|
|
530
465
|
new(host: string, port: int): HostString;
|
|
531
466
|
FromUriComponent(uriComponent: string): HostString;
|
|
532
467
|
FromUriComponent(uri: Uri): HostString;
|
|
@@ -542,12 +477,12 @@ export interface PathString$instance {
|
|
|
542
477
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
543
478
|
|
|
544
479
|
readonly HasValue: boolean;
|
|
545
|
-
readonly Value: string |
|
|
480
|
+
readonly Value: string | null;
|
|
546
481
|
Add(other: PathString): PathString;
|
|
547
482
|
Add(other: QueryString): string;
|
|
548
483
|
Equals(other: PathString): boolean;
|
|
549
484
|
Equals(other: PathString, comparisonType: StringComparison): boolean;
|
|
550
|
-
Equals(obj:
|
|
485
|
+
Equals(obj: JsValue | null): boolean;
|
|
551
486
|
GetHashCode(): int;
|
|
552
487
|
StartsWithSegments(other: PathString): boolean;
|
|
553
488
|
StartsWithSegments(other: PathString, comparisonType: StringComparison): boolean;
|
|
@@ -561,7 +496,7 @@ export interface PathString$instance {
|
|
|
561
496
|
|
|
562
497
|
|
|
563
498
|
export const PathString: {
|
|
564
|
-
new(value: string): PathString;
|
|
499
|
+
new(value: string | null): PathString;
|
|
565
500
|
readonly Empty: PathString;
|
|
566
501
|
FromUriComponent(uriComponent: string): PathString;
|
|
567
502
|
FromUriComponent(uri: Uri): PathString;
|
|
@@ -570,38 +505,17 @@ export const PathString: {
|
|
|
570
505
|
|
|
571
506
|
export type PathString = PathString$instance;
|
|
572
507
|
|
|
573
|
-
export interface QueryCollection_Enumerator$instance {
|
|
574
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Http_QueryCollection_Enumerator: never;
|
|
575
|
-
|
|
576
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
577
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
578
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
579
|
-
|
|
580
|
-
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
581
|
-
Dispose(): void;
|
|
582
|
-
MoveNext(): boolean;
|
|
583
|
-
Reset(): void;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
export const QueryCollection_Enumerator: {
|
|
588
|
-
new(): QueryCollection_Enumerator;
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
export type QueryCollection_Enumerator = QueryCollection_Enumerator$instance;
|
|
593
|
-
|
|
594
508
|
export interface QueryString$instance {
|
|
595
509
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_QueryString: never;
|
|
596
510
|
|
|
597
511
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
598
512
|
|
|
599
513
|
readonly HasValue: boolean;
|
|
600
|
-
readonly Value: string |
|
|
514
|
+
readonly Value: string | null;
|
|
601
515
|
Add(other: QueryString): QueryString;
|
|
602
516
|
Add(name: string, value: string): QueryString;
|
|
603
517
|
Equals(other: QueryString): boolean;
|
|
604
|
-
Equals(obj:
|
|
518
|
+
Equals(obj: JsValue | null): boolean;
|
|
605
519
|
GetHashCode(): int;
|
|
606
520
|
ToString(): string;
|
|
607
521
|
ToUriComponent(): string;
|
|
@@ -609,7 +523,7 @@ export interface QueryString$instance {
|
|
|
609
523
|
|
|
610
524
|
|
|
611
525
|
export const QueryString: {
|
|
612
|
-
new(value: string): QueryString;
|
|
526
|
+
new(value: string | null): QueryString;
|
|
613
527
|
readonly Empty: QueryString;
|
|
614
528
|
Create(parameters: IEnumerable_1<KeyValuePair_2<System_Internal.String, StringValues>>): QueryString;
|
|
615
529
|
Create(parameters: IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>): QueryString;
|
|
@@ -679,7 +593,7 @@ export interface BindingAddress$instance {
|
|
|
679
593
|
readonly Port: int;
|
|
680
594
|
readonly Scheme: string;
|
|
681
595
|
readonly UnixPipePath: string;
|
|
682
|
-
Equals(obj:
|
|
596
|
+
Equals(obj: JsValue | null): boolean;
|
|
683
597
|
GetHashCode(): int;
|
|
684
598
|
ToString(): string;
|
|
685
599
|
}
|
|
@@ -696,16 +610,16 @@ export type BindingAddress = BindingAddress$instance;
|
|
|
696
610
|
export interface ConnectionInfo$instance {
|
|
697
611
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_ConnectionInfo: never;
|
|
698
612
|
|
|
699
|
-
get ClientCertificate(): X509Certificate2 |
|
|
700
|
-
set ClientCertificate(value: X509Certificate2 |
|
|
613
|
+
get ClientCertificate(): X509Certificate2 | null;
|
|
614
|
+
set ClientCertificate(value: X509Certificate2 | null);
|
|
701
615
|
Id: string;
|
|
702
|
-
get LocalIpAddress(): IPAddress |
|
|
703
|
-
set LocalIpAddress(value: IPAddress |
|
|
616
|
+
get LocalIpAddress(): IPAddress | null;
|
|
617
|
+
set LocalIpAddress(value: IPAddress | null);
|
|
704
618
|
LocalPort: int;
|
|
705
|
-
get RemoteIpAddress(): IPAddress |
|
|
706
|
-
set RemoteIpAddress(value: IPAddress |
|
|
619
|
+
get RemoteIpAddress(): IPAddress | null;
|
|
620
|
+
set RemoteIpAddress(value: IPAddress | null);
|
|
707
621
|
RemotePort: int;
|
|
708
|
-
GetClientCertificateAsync(cancellationToken?: CancellationToken): Task_1<X509Certificate2 |
|
|
622
|
+
GetClientCertificateAsync(cancellationToken?: CancellationToken): Task_1<X509Certificate2 | null>;
|
|
709
623
|
RequestClose(): void;
|
|
710
624
|
}
|
|
711
625
|
|
|
@@ -719,8 +633,8 @@ export type ConnectionInfo = ConnectionInfo$instance;
|
|
|
719
633
|
export interface CookieBuilder$instance {
|
|
720
634
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_CookieBuilder: never;
|
|
721
635
|
|
|
722
|
-
get Domain(): string |
|
|
723
|
-
set Domain(value: string |
|
|
636
|
+
get Domain(): string | null;
|
|
637
|
+
set Domain(value: string | null);
|
|
724
638
|
get Expiration(): Nullable_1<TimeSpan>;
|
|
725
639
|
set Expiration(value: Nullable_1<TimeSpan> | TimeSpan);
|
|
726
640
|
readonly Extensions: IList_1<System_Internal.String>;
|
|
@@ -728,10 +642,10 @@ export interface CookieBuilder$instance {
|
|
|
728
642
|
IsEssential: boolean;
|
|
729
643
|
get MaxAge(): Nullable_1<TimeSpan>;
|
|
730
644
|
set MaxAge(value: Nullable_1<TimeSpan> | TimeSpan);
|
|
731
|
-
get Name(): string |
|
|
732
|
-
set Name(value: string |
|
|
733
|
-
get Path(): string |
|
|
734
|
-
set Path(value: string |
|
|
645
|
+
get Name(): string | null;
|
|
646
|
+
set Name(value: string | null);
|
|
647
|
+
get Path(): string | null;
|
|
648
|
+
set Path(value: string | null);
|
|
735
649
|
SameSite: SameSiteMode;
|
|
736
650
|
SecurePolicy: CookieSecurePolicy;
|
|
737
651
|
Build(context: HttpContext): CookieOptions;
|
|
@@ -749,8 +663,8 @@ export type CookieBuilder = CookieBuilder$instance;
|
|
|
749
663
|
export interface CookieOptions$instance {
|
|
750
664
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_CookieOptions: never;
|
|
751
665
|
|
|
752
|
-
get Domain(): string |
|
|
753
|
-
set Domain(value: string |
|
|
666
|
+
get Domain(): string | null;
|
|
667
|
+
set Domain(value: string | null);
|
|
754
668
|
get Expires(): Nullable_1<DateTimeOffset>;
|
|
755
669
|
set Expires(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
756
670
|
readonly Extensions: IList_1<System_Internal.String>;
|
|
@@ -758,8 +672,8 @@ export interface CookieOptions$instance {
|
|
|
758
672
|
IsEssential: boolean;
|
|
759
673
|
get MaxAge(): Nullable_1<TimeSpan>;
|
|
760
674
|
set MaxAge(value: Nullable_1<TimeSpan> | TimeSpan);
|
|
761
|
-
get Path(): string |
|
|
762
|
-
set Path(value: string |
|
|
675
|
+
get Path(): string | null;
|
|
676
|
+
set Path(value: string | null);
|
|
763
677
|
SameSite: SameSiteMode;
|
|
764
678
|
Secure: boolean;
|
|
765
679
|
CreateCookieHeader(name: string, value: string): SetCookieHeaderValue;
|
|
@@ -777,14 +691,14 @@ export type CookieOptions = CookieOptions$instance;
|
|
|
777
691
|
export interface DefaultEndpointFilterInvocationContext$instance extends EndpointFilterInvocationContext {
|
|
778
692
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_DefaultEndpointFilterInvocationContext: never;
|
|
779
693
|
|
|
780
|
-
readonly Arguments: IList_1<
|
|
694
|
+
readonly Arguments: IList_1<JsValue | null>;
|
|
781
695
|
readonly HttpContext: HttpContext;
|
|
782
696
|
GetArgument<T>(index: int): T;
|
|
783
697
|
}
|
|
784
698
|
|
|
785
699
|
|
|
786
700
|
export const DefaultEndpointFilterInvocationContext: {
|
|
787
|
-
new(httpContext: HttpContext, arguments:
|
|
701
|
+
new(httpContext: HttpContext, arguments: (JsValue | null)[]): DefaultEndpointFilterInvocationContext;
|
|
788
702
|
};
|
|
789
703
|
|
|
790
704
|
|
|
@@ -797,7 +711,7 @@ export interface DefaultHttpContext$instance extends HttpContext {
|
|
|
797
711
|
readonly Features: IFeatureCollection;
|
|
798
712
|
FormOptions: FormOptions;
|
|
799
713
|
readonly HttpContext: HttpContext;
|
|
800
|
-
Items: IDictionary_2<
|
|
714
|
+
Items: IDictionary_2<JsValue, JsValue | null>;
|
|
801
715
|
readonly Request: HttpRequest;
|
|
802
716
|
RequestAborted: CancellationToken;
|
|
803
717
|
RequestServices: IServiceProvider;
|
|
@@ -862,15 +776,15 @@ export type DisableHttpMetricsAttribute = DisableHttpMetricsAttribute$instance;
|
|
|
862
776
|
export interface Endpoint$instance {
|
|
863
777
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_Endpoint: never;
|
|
864
778
|
|
|
865
|
-
readonly DisplayName: string |
|
|
779
|
+
readonly DisplayName: string | null;
|
|
866
780
|
readonly Metadata: EndpointMetadataCollection;
|
|
867
|
-
readonly RequestDelegate: RequestDelegate |
|
|
868
|
-
ToString(): string |
|
|
781
|
+
readonly RequestDelegate: RequestDelegate | null;
|
|
782
|
+
ToString(): string | null;
|
|
869
783
|
}
|
|
870
784
|
|
|
871
785
|
|
|
872
786
|
export const Endpoint: {
|
|
873
|
-
new(requestDelegate: RequestDelegate, metadata: EndpointMetadataCollection, displayName: string): Endpoint;
|
|
787
|
+
new(requestDelegate: RequestDelegate | null, metadata: EndpointMetadataCollection | null, displayName: string | null): Endpoint;
|
|
874
788
|
};
|
|
875
789
|
|
|
876
790
|
|
|
@@ -916,7 +830,7 @@ export type EndpointFilterFactoryContext = EndpointFilterFactoryContext$instance
|
|
|
916
830
|
export interface EndpointFilterInvocationContext$instance {
|
|
917
831
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_EndpointFilterInvocationContext: never;
|
|
918
832
|
|
|
919
|
-
readonly Arguments: IList_1<
|
|
833
|
+
readonly Arguments: IList_1<JsValue | null>;
|
|
920
834
|
readonly HttpContext: HttpContext;
|
|
921
835
|
GetArgument<T>(index: int): T;
|
|
922
836
|
}
|
|
@@ -947,20 +861,41 @@ export interface EndpointMetadataCollection$instance {
|
|
|
947
861
|
|
|
948
862
|
readonly Count: int;
|
|
949
863
|
GetEnumerator(): EndpointMetadataCollection_Enumerator;
|
|
950
|
-
GetMetadata<T>(): T |
|
|
864
|
+
GetMetadata<T>(): T | null;
|
|
951
865
|
GetOrderedMetadata<T>(): IReadOnlyList_1<T>;
|
|
952
866
|
GetRequiredMetadata<T>(): T;
|
|
953
867
|
}
|
|
954
868
|
|
|
955
869
|
|
|
956
870
|
export const EndpointMetadataCollection: {
|
|
957
|
-
new(items: IEnumerable_1<
|
|
958
|
-
new(items:
|
|
871
|
+
new(items: IEnumerable_1<JsValue>): EndpointMetadataCollection;
|
|
872
|
+
new(items: JsValue[]): EndpointMetadataCollection;
|
|
959
873
|
readonly Empty: EndpointMetadataCollection;
|
|
960
874
|
};
|
|
961
875
|
|
|
962
876
|
|
|
963
|
-
export type EndpointMetadataCollection = EndpointMetadataCollection$instance & { readonly [index: number]:
|
|
877
|
+
export type EndpointMetadataCollection = EndpointMetadataCollection$instance & { readonly [index: number]: JsValue; };
|
|
878
|
+
|
|
879
|
+
export interface EndpointMetadataCollection_Enumerator$instance {
|
|
880
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_EndpointMetadataCollection_Enumerator: never;
|
|
881
|
+
|
|
882
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
883
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
884
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
885
|
+
|
|
886
|
+
readonly Current: JsValue;
|
|
887
|
+
Dispose(): void;
|
|
888
|
+
MoveNext(): boolean;
|
|
889
|
+
Reset(): void;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
export const EndpointMetadataCollection_Enumerator: {
|
|
894
|
+
new(): EndpointMetadataCollection_Enumerator;
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
export type EndpointMetadataCollection_Enumerator = EndpointMetadataCollection_Enumerator$instance;
|
|
964
899
|
|
|
965
900
|
export interface EndpointSummaryAttribute$instance extends Attribute, Microsoft_AspNetCore_Http_Metadata_Internal.IEndpointSummaryMetadata$instance {
|
|
966
901
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_EndpointSummaryAttribute: never;
|
|
@@ -1001,7 +936,7 @@ export interface FormCollection$instance {
|
|
|
1001
936
|
|
|
1002
937
|
|
|
1003
938
|
export const FormCollection: {
|
|
1004
|
-
new(fields: Dictionary_2<System_Internal.String, StringValues
|
|
939
|
+
new(fields: Dictionary_2<System_Internal.String, StringValues> | null, files: IFormFileCollection | null): FormCollection;
|
|
1005
940
|
readonly Empty: FormCollection;
|
|
1006
941
|
};
|
|
1007
942
|
|
|
@@ -1013,6 +948,26 @@ export interface __FormCollection$views {
|
|
|
1013
948
|
export type FormCollection = FormCollection$instance & __FormCollection$views & { readonly [key: string]: StringValues; };
|
|
1014
949
|
|
|
1015
950
|
|
|
951
|
+
export interface FormCollection_Enumerator$instance {
|
|
952
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_FormCollection_Enumerator: never;
|
|
953
|
+
|
|
954
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
955
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
956
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
957
|
+
|
|
958
|
+
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
959
|
+
Dispose(): void;
|
|
960
|
+
MoveNext(): boolean;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
export const FormCollection_Enumerator: {
|
|
965
|
+
new(): FormCollection_Enumerator;
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
export type FormCollection_Enumerator = FormCollection_Enumerator$instance;
|
|
970
|
+
|
|
1016
971
|
export interface FormFile$instance {
|
|
1017
972
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_FormFile: never;
|
|
1018
973
|
|
|
@@ -1055,7 +1010,7 @@ export interface FormFileCollection$instance extends List_1<IFormFile>, IFormFil
|
|
|
1055
1010
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1056
1011
|
readonly __tsonic_iface_System_Collections_IList: never;
|
|
1057
1012
|
|
|
1058
|
-
GetFile(name: string): IFormFile |
|
|
1013
|
+
GetFile(name: string): IFormFile | null;
|
|
1059
1014
|
GetFiles(name: string): IReadOnlyList_1<IFormFile>;
|
|
1060
1015
|
}
|
|
1061
1016
|
|
|
@@ -1069,7 +1024,7 @@ export interface __FormFileCollection$views {
|
|
|
1069
1024
|
As_IFormFileCollection(): IFormFileCollection$instance;
|
|
1070
1025
|
}
|
|
1071
1026
|
|
|
1072
|
-
export type FormFileCollection = FormFileCollection$instance & __FormFileCollection$views & { readonly [name: string]: IFormFile |
|
|
1027
|
+
export type FormFileCollection = FormFileCollection$instance & __FormFileCollection$views & { readonly [name: string]: IFormFile | null; };
|
|
1073
1028
|
|
|
1074
1029
|
|
|
1075
1030
|
export interface HeaderDictionary$instance extends IHeaderDictionary$instance {
|
|
@@ -1102,7 +1057,7 @@ export interface HeaderDictionary$instance extends IHeaderDictionary$instance {
|
|
|
1102
1057
|
|
|
1103
1058
|
export const HeaderDictionary: {
|
|
1104
1059
|
new(): HeaderDictionary;
|
|
1105
|
-
new(store: Dictionary_2<System_Internal.String, StringValues>): HeaderDictionary;
|
|
1060
|
+
new(store: Dictionary_2<System_Internal.String, StringValues> | null): HeaderDictionary;
|
|
1106
1061
|
new(capacity: int): HeaderDictionary;
|
|
1107
1062
|
};
|
|
1108
1063
|
|
|
@@ -1114,12 +1069,32 @@ export interface __HeaderDictionary$views {
|
|
|
1114
1069
|
export type HeaderDictionary = HeaderDictionary$instance & __HeaderDictionary$views & { [key: string]: StringValues; };
|
|
1115
1070
|
|
|
1116
1071
|
|
|
1072
|
+
export interface HeaderDictionary_Enumerator$instance {
|
|
1073
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_HeaderDictionary_Enumerator: never;
|
|
1074
|
+
|
|
1075
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
1076
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
1077
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1078
|
+
|
|
1079
|
+
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
1080
|
+
Dispose(): void;
|
|
1081
|
+
MoveNext(): boolean;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
export const HeaderDictionary_Enumerator: {
|
|
1086
|
+
new(): HeaderDictionary_Enumerator;
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
export type HeaderDictionary_Enumerator = HeaderDictionary_Enumerator$instance;
|
|
1091
|
+
|
|
1117
1092
|
export interface HttpContext$instance {
|
|
1118
1093
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_HttpContext: never;
|
|
1119
1094
|
|
|
1120
1095
|
readonly Connection: ConnectionInfo;
|
|
1121
1096
|
readonly Features: IFeatureCollection;
|
|
1122
|
-
Items: IDictionary_2<
|
|
1097
|
+
Items: IDictionary_2<JsValue, JsValue | null>;
|
|
1123
1098
|
readonly Request: HttpRequest;
|
|
1124
1099
|
RequestAborted: CancellationToken;
|
|
1125
1100
|
RequestServices: IServiceProvider;
|
|
@@ -1143,8 +1118,8 @@ export interface HttpContextAccessor$instance extends IHttpContextAccessor$insta
|
|
|
1143
1118
|
|
|
1144
1119
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IHttpContextAccessor: never;
|
|
1145
1120
|
|
|
1146
|
-
get HttpContext(): HttpContext |
|
|
1147
|
-
set HttpContext(value: HttpContext |
|
|
1121
|
+
get HttpContext(): HttpContext | null;
|
|
1122
|
+
set HttpContext(value: HttpContext | null);
|
|
1148
1123
|
}
|
|
1149
1124
|
|
|
1150
1125
|
|
|
@@ -1167,8 +1142,8 @@ export interface HttpRequest$instance {
|
|
|
1167
1142
|
readonly BodyReader: PipeReader;
|
|
1168
1143
|
get ContentLength(): Nullable_1<System_Internal.Int64>;
|
|
1169
1144
|
set ContentLength(value: Nullable_1<System_Internal.Int64> | long);
|
|
1170
|
-
get ContentType(): string |
|
|
1171
|
-
set ContentType(value: string |
|
|
1145
|
+
get ContentType(): string | null;
|
|
1146
|
+
set ContentType(value: string | null);
|
|
1172
1147
|
Cookies: IRequestCookieCollection;
|
|
1173
1148
|
Form: IFormCollection;
|
|
1174
1149
|
readonly HasFormContentType: boolean;
|
|
@@ -1201,17 +1176,17 @@ export interface HttpResponse$instance {
|
|
|
1201
1176
|
readonly BodyWriter: PipeWriter;
|
|
1202
1177
|
get ContentLength(): Nullable_1<System_Internal.Int64>;
|
|
1203
1178
|
set ContentLength(value: Nullable_1<System_Internal.Int64> | long);
|
|
1204
|
-
get ContentType(): string |
|
|
1205
|
-
set ContentType(value: string |
|
|
1179
|
+
get ContentType(): string | null;
|
|
1180
|
+
set ContentType(value: string | null);
|
|
1206
1181
|
readonly Cookies: IResponseCookies;
|
|
1207
1182
|
readonly HasStarted: boolean;
|
|
1208
1183
|
readonly Headers: IHeaderDictionary;
|
|
1209
1184
|
readonly HttpContext: HttpContext;
|
|
1210
1185
|
StatusCode: int;
|
|
1211
1186
|
CompleteAsync(): Task;
|
|
1212
|
-
OnCompleted(callback: Func_2<
|
|
1187
|
+
OnCompleted(callback: Func_2<JsValue, Task>, state: JsValue): void;
|
|
1213
1188
|
OnCompleted(callback: Func_1<Task>): void;
|
|
1214
|
-
OnStarting(callback: Func_2<
|
|
1189
|
+
OnStarting(callback: Func_2<JsValue, Task>, state: JsValue): void;
|
|
1215
1190
|
OnStarting(callback: Func_1<Task>): void;
|
|
1216
1191
|
Redirect(location: string): void;
|
|
1217
1192
|
Redirect(location: string, permanent: boolean): void;
|
|
@@ -1248,7 +1223,7 @@ export interface MiddlewareFactory$instance extends IMiddlewareFactory$instance
|
|
|
1248
1223
|
|
|
1249
1224
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IMiddlewareFactory: never;
|
|
1250
1225
|
|
|
1251
|
-
Create(middlewareType: Type): IMiddleware |
|
|
1226
|
+
Create(middlewareType: Type): IMiddleware | null;
|
|
1252
1227
|
Release(middleware: IMiddleware): void;
|
|
1253
1228
|
}
|
|
1254
1229
|
|
|
@@ -1268,10 +1243,10 @@ export type MiddlewareFactory = MiddlewareFactory$instance & __MiddlewareFactory
|
|
|
1268
1243
|
export interface ProblemDetailsContext$instance {
|
|
1269
1244
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_ProblemDetailsContext: never;
|
|
1270
1245
|
|
|
1271
|
-
get AdditionalMetadata(): EndpointMetadataCollection |
|
|
1272
|
-
set AdditionalMetadata(value: EndpointMetadataCollection |
|
|
1273
|
-
get Exception(): Exception |
|
|
1274
|
-
set Exception(value: Exception |
|
|
1246
|
+
get AdditionalMetadata(): EndpointMetadataCollection | null;
|
|
1247
|
+
set AdditionalMetadata(value: EndpointMetadataCollection | null);
|
|
1248
|
+
get Exception(): Exception | null;
|
|
1249
|
+
set Exception(value: Exception | null);
|
|
1275
1250
|
HttpContext: HttpContext;
|
|
1276
1251
|
ProblemDetails: ProblemDetails;
|
|
1277
1252
|
}
|
|
@@ -1287,8 +1262,8 @@ export type ProblemDetailsContext = ProblemDetailsContext$instance;
|
|
|
1287
1262
|
export interface ProblemDetailsOptions$instance {
|
|
1288
1263
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_ProblemDetailsOptions: never;
|
|
1289
1264
|
|
|
1290
|
-
get CustomizeProblemDetails(): Action_1<ProblemDetailsContext> |
|
|
1291
|
-
set CustomizeProblemDetails(value: Action_1<ProblemDetailsContext> |
|
|
1265
|
+
get CustomizeProblemDetails(): Action_1<ProblemDetailsContext> | null;
|
|
1266
|
+
set CustomizeProblemDetails(value: Action_1<ProblemDetailsContext> | null);
|
|
1292
1267
|
}
|
|
1293
1268
|
|
|
1294
1269
|
|
|
@@ -1305,17 +1280,17 @@ export interface ProducesResponseTypeMetadata$instance {
|
|
|
1305
1280
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IProducesResponseTypeMetadata: never;
|
|
1306
1281
|
|
|
1307
1282
|
ContentTypes: IEnumerable_1<System_Internal.String>;
|
|
1308
|
-
get Description(): string |
|
|
1309
|
-
set Description(value: string |
|
|
1283
|
+
get Description(): string | null;
|
|
1284
|
+
set Description(value: string | null);
|
|
1310
1285
|
StatusCode: int;
|
|
1311
|
-
get Type(): Type |
|
|
1312
|
-
set Type(value: Type |
|
|
1286
|
+
get Type(): Type | null;
|
|
1287
|
+
set Type(value: Type | null);
|
|
1313
1288
|
ToString(): string;
|
|
1314
1289
|
}
|
|
1315
1290
|
|
|
1316
1291
|
|
|
1317
1292
|
export const ProducesResponseTypeMetadata: {
|
|
1318
|
-
new(statusCode: int, type: Type, contentTypes: string[]): ProducesResponseTypeMetadata;
|
|
1293
|
+
new(statusCode: int, type: Type | null, contentTypes: string[] | null): ProducesResponseTypeMetadata;
|
|
1319
1294
|
};
|
|
1320
1295
|
|
|
1321
1296
|
|
|
@@ -1357,16 +1332,36 @@ export interface __QueryCollection$views {
|
|
|
1357
1332
|
export type QueryCollection = QueryCollection$instance & __QueryCollection$views & { readonly [key: string]: StringValues; };
|
|
1358
1333
|
|
|
1359
1334
|
|
|
1335
|
+
export interface QueryCollection_Enumerator$instance {
|
|
1336
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_QueryCollection_Enumerator: never;
|
|
1337
|
+
|
|
1338
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
1339
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
1340
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1341
|
+
|
|
1342
|
+
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
1343
|
+
Dispose(): void;
|
|
1344
|
+
MoveNext(): boolean;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
export const QueryCollection_Enumerator: {
|
|
1349
|
+
new(): QueryCollection_Enumerator;
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
export type QueryCollection_Enumerator = QueryCollection_Enumerator$instance;
|
|
1354
|
+
|
|
1360
1355
|
export interface RequestDelegateFactoryOptions$instance {
|
|
1361
1356
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_RequestDelegateFactoryOptions: never;
|
|
1362
1357
|
|
|
1363
1358
|
DisableInferBodyFromParameters: boolean;
|
|
1364
|
-
get EndpointBuilder(): EndpointBuilder |
|
|
1365
|
-
set EndpointBuilder(value: EndpointBuilder |
|
|
1366
|
-
get RouteParameterNames(): IEnumerable_1<System_Internal.String> |
|
|
1367
|
-
set RouteParameterNames(value: IEnumerable_1<System_Internal.String> |
|
|
1368
|
-
get ServiceProvider(): IServiceProvider |
|
|
1369
|
-
set ServiceProvider(value: IServiceProvider |
|
|
1359
|
+
get EndpointBuilder(): EndpointBuilder | null;
|
|
1360
|
+
set EndpointBuilder(value: EndpointBuilder | null);
|
|
1361
|
+
get RouteParameterNames(): IEnumerable_1<System_Internal.String> | null;
|
|
1362
|
+
set RouteParameterNames(value: IEnumerable_1<System_Internal.String> | null);
|
|
1363
|
+
get ServiceProvider(): IServiceProvider | null;
|
|
1364
|
+
set ServiceProvider(value: IServiceProvider | null);
|
|
1370
1365
|
ThrowOnBadRequest: boolean;
|
|
1371
1366
|
}
|
|
1372
1367
|
|
|
@@ -1381,7 +1376,7 @@ export type RequestDelegateFactoryOptions = RequestDelegateFactoryOptions$instan
|
|
|
1381
1376
|
export interface RequestDelegateMetadataResult$instance {
|
|
1382
1377
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_RequestDelegateMetadataResult: never;
|
|
1383
1378
|
|
|
1384
|
-
EndpointMetadata: IReadOnlyList_1<
|
|
1379
|
+
EndpointMetadata: IReadOnlyList_1<JsValue>;
|
|
1385
1380
|
}
|
|
1386
1381
|
|
|
1387
1382
|
|
|
@@ -1395,13 +1390,13 @@ export type RequestDelegateMetadataResult = RequestDelegateMetadataResult$instan
|
|
|
1395
1390
|
export interface RequestDelegateResult$instance {
|
|
1396
1391
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_RequestDelegateResult: never;
|
|
1397
1392
|
|
|
1398
|
-
readonly EndpointMetadata: IReadOnlyList_1<
|
|
1393
|
+
readonly EndpointMetadata: IReadOnlyList_1<JsValue>;
|
|
1399
1394
|
readonly RequestDelegate: RequestDelegate;
|
|
1400
1395
|
}
|
|
1401
1396
|
|
|
1402
1397
|
|
|
1403
1398
|
export const RequestDelegateResult: {
|
|
1404
|
-
new(requestDelegate: RequestDelegate, metadata: IReadOnlyList_1<
|
|
1399
|
+
new(requestDelegate: RequestDelegate, metadata: IReadOnlyList_1<JsValue>): RequestDelegateResult;
|
|
1405
1400
|
};
|
|
1406
1401
|
|
|
1407
1402
|
|
|
@@ -1412,7 +1407,7 @@ export interface StreamResponseBodyFeature$instance {
|
|
|
1412
1407
|
|
|
1413
1408
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IHttpResponseBodyFeature: never;
|
|
1414
1409
|
|
|
1415
|
-
readonly PriorFeature: IHttpResponseBodyFeature |
|
|
1410
|
+
readonly PriorFeature: IHttpResponseBodyFeature | null;
|
|
1416
1411
|
readonly Stream: Stream;
|
|
1417
1412
|
readonly Writer: PipeWriter;
|
|
1418
1413
|
CompleteAsync(): Task;
|
|
@@ -1425,7 +1420,7 @@ export interface StreamResponseBodyFeature$instance {
|
|
|
1425
1420
|
|
|
1426
1421
|
export const StreamResponseBodyFeature: {
|
|
1427
1422
|
new(stream: Stream): StreamResponseBodyFeature;
|
|
1428
|
-
new(stream: Stream, priorFeature: IHttpResponseBodyFeature): StreamResponseBodyFeature;
|
|
1423
|
+
new(stream: Stream, priorFeature: IHttpResponseBodyFeature | null): StreamResponseBodyFeature;
|
|
1429
1424
|
};
|
|
1430
1425
|
|
|
1431
1426
|
|
|
@@ -1468,8 +1463,8 @@ export interface WebSocketAcceptContext$instance {
|
|
|
1468
1463
|
get KeepAliveTimeout(): Nullable_1<TimeSpan>;
|
|
1469
1464
|
set KeepAliveTimeout(value: Nullable_1<TimeSpan> | TimeSpan);
|
|
1470
1465
|
ServerMaxWindowBits: int;
|
|
1471
|
-
get SubProtocol(): string |
|
|
1472
|
-
set SubProtocol(value: string |
|
|
1466
|
+
get SubProtocol(): string | null;
|
|
1467
|
+
set SubProtocol(value: string | null);
|
|
1473
1468
|
}
|
|
1474
1469
|
|
|
1475
1470
|
|
|
@@ -1486,7 +1481,7 @@ export interface WebSocketManager$instance {
|
|
|
1486
1481
|
readonly IsWebSocketRequest: boolean;
|
|
1487
1482
|
readonly WebSocketRequestedProtocols: IList_1<System_Internal.String>;
|
|
1488
1483
|
AcceptWebSocketAsync(): Task_1<WebSocket>;
|
|
1489
|
-
AcceptWebSocketAsync(subProtocol: string): Task_1<WebSocket>;
|
|
1484
|
+
AcceptWebSocketAsync(subProtocol: string | null): Task_1<WebSocket>;
|
|
1490
1485
|
AcceptWebSocketAsync(acceptContext: WebSocketAcceptContext): Task_1<WebSocket>;
|
|
1491
1486
|
}
|
|
1492
1487
|
|
|
@@ -1501,7 +1496,7 @@ export abstract class EndpointFilterExtensions$instance {
|
|
|
1501
1496
|
static AddEndpointFilter<TFilterType extends IEndpointFilter>(builder: RouteHandlerBuilder): RouteHandlerBuilder;
|
|
1502
1497
|
static AddEndpointFilter<TFilterType extends IEndpointFilter>(builder: RouteGroupBuilder): RouteGroupBuilder;
|
|
1503
1498
|
static AddEndpointFilter<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, filter: IEndpointFilter): TBuilder;
|
|
1504
|
-
static AddEndpointFilter<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, routeHandlerFilter: Func_3<EndpointFilterInvocationContext, EndpointFilterDelegate, ValueTask_1<
|
|
1499
|
+
static AddEndpointFilter<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, routeHandlerFilter: Func_3<EndpointFilterInvocationContext, EndpointFilterDelegate, ValueTask_1<JsValue>>): TBuilder;
|
|
1505
1500
|
static AddEndpointFilter<TBuilder extends IEndpointConventionBuilder, TFilterType extends IEndpointFilter>(builder: TBuilder): TBuilder;
|
|
1506
1501
|
static AddEndpointFilterFactory<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, filterFactory: Func_3<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate>): TBuilder;
|
|
1507
1502
|
}
|
|
@@ -1510,8 +1505,8 @@ export abstract class EndpointFilterExtensions$instance {
|
|
|
1510
1505
|
export type EndpointFilterExtensions = EndpointFilterExtensions$instance;
|
|
1511
1506
|
|
|
1512
1507
|
export abstract class EndpointHttpContextExtensions$instance {
|
|
1513
|
-
static GetEndpoint(context: HttpContext): Endpoint |
|
|
1514
|
-
static SetEndpoint(context: HttpContext, endpoint: Endpoint): void;
|
|
1508
|
+
static GetEndpoint(context: HttpContext): Endpoint | null;
|
|
1509
|
+
static SetEndpoint(context: HttpContext, endpoint: Endpoint | null): void;
|
|
1515
1510
|
}
|
|
1516
1511
|
|
|
1517
1512
|
|
|
@@ -1537,7 +1532,7 @@ export abstract class HeaderDictionaryTypeExtensions$instance {
|
|
|
1537
1532
|
export type HeaderDictionaryTypeExtensions = HeaderDictionaryTypeExtensions$instance;
|
|
1538
1533
|
|
|
1539
1534
|
export abstract class HttpContextServerVariableExtensions$instance {
|
|
1540
|
-
static GetServerVariable(context: HttpContext, variableName: string): string |
|
|
1535
|
+
static GetServerVariable(context: HttpContext, variableName: string): string | null;
|
|
1541
1536
|
}
|
|
1542
1537
|
|
|
1543
1538
|
|
|
@@ -1591,12 +1586,12 @@ export type HttpProtocol = HttpProtocol$instance;
|
|
|
1591
1586
|
export abstract class HttpRequestJsonExtensions$instance {
|
|
1592
1587
|
static HasJsonContentType(request: HttpRequest): boolean;
|
|
1593
1588
|
static ReadFromJsonAsync<TValue>(request: HttpRequest, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1594
|
-
static ReadFromJsonAsync<TValue>(request: HttpRequest, options: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1595
|
-
static ReadFromJsonAsync(request: HttpRequest, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<
|
|
1589
|
+
static ReadFromJsonAsync<TValue>(request: HttpRequest, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1590
|
+
static ReadFromJsonAsync(request: HttpRequest, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
1596
1591
|
static ReadFromJsonAsync<TValue>(request: HttpRequest, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1597
|
-
static ReadFromJsonAsync(request: HttpRequest, type: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<
|
|
1598
|
-
static ReadFromJsonAsync(request: HttpRequest, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<
|
|
1599
|
-
static ReadFromJsonAsync(request: HttpRequest, type: Type, cancellationToken?: CancellationToken): ValueTask_1<
|
|
1592
|
+
static ReadFromJsonAsync(request: HttpRequest, type: Type, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
1593
|
+
static ReadFromJsonAsync(request: HttpRequest, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
1594
|
+
static ReadFromJsonAsync(request: HttpRequest, type: Type, cancellationToken?: CancellationToken): ValueTask_1<JsValue>;
|
|
1600
1595
|
}
|
|
1601
1596
|
|
|
1602
1597
|
|
|
@@ -1613,14 +1608,14 @@ export abstract class HttpRequestRewindExtensions$instance {
|
|
|
1613
1608
|
export type HttpRequestRewindExtensions = HttpRequestRewindExtensions$instance;
|
|
1614
1609
|
|
|
1615
1610
|
export abstract class HttpResponseJsonExtensions$instance {
|
|
1616
|
-
static WriteAsJsonAsync(response: HttpResponse, value:
|
|
1617
|
-
static WriteAsJsonAsync(response: HttpResponse, value:
|
|
1618
|
-
static WriteAsJsonAsync(response: HttpResponse, value:
|
|
1619
|
-
static WriteAsJsonAsync(response: HttpResponse, value:
|
|
1620
|
-
static WriteAsJsonAsync(response: HttpResponse, value:
|
|
1621
|
-
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string, cancellationToken?: CancellationToken): Task;
|
|
1622
|
-
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, options: JsonSerializerOptions, contentType: string, cancellationToken?: CancellationToken): Task;
|
|
1623
|
-
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
|
|
1611
|
+
static WriteAsJsonAsync(response: HttpResponse, value: JsValue | null, jsonTypeInfo: JsonTypeInfo, contentType?: string | null, cancellationToken?: CancellationToken): Task;
|
|
1612
|
+
static WriteAsJsonAsync(response: HttpResponse, value: JsValue | null, type: Type, options: JsonSerializerOptions | null, contentType: string | null, cancellationToken?: CancellationToken): Task;
|
|
1613
|
+
static WriteAsJsonAsync(response: HttpResponse, value: JsValue | null, type: Type, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task;
|
|
1614
|
+
static WriteAsJsonAsync(response: HttpResponse, value: JsValue | null, type: Type, context: JsonSerializerContext, contentType?: string | null, cancellationToken?: CancellationToken): Task;
|
|
1615
|
+
static WriteAsJsonAsync(response: HttpResponse, value: JsValue | null, type: Type, cancellationToken?: CancellationToken): Task;
|
|
1616
|
+
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string | null, cancellationToken?: CancellationToken): Task;
|
|
1617
|
+
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, options: JsonSerializerOptions | null, contentType: string | null, cancellationToken?: CancellationToken): Task;
|
|
1618
|
+
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task;
|
|
1624
1619
|
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, cancellationToken?: CancellationToken): Task;
|
|
1625
1620
|
}
|
|
1626
1621
|
|
|
@@ -1642,12 +1637,12 @@ export abstract class OpenApiRouteHandlerBuilderExtensions$instance {
|
|
|
1642
1637
|
static Accepts(builder: RouteHandlerBuilder, requestType: Type, contentType: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1643
1638
|
static ExcludeFromDescription(builder: RouteHandlerBuilder): RouteHandlerBuilder;
|
|
1644
1639
|
static ExcludeFromDescription<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder): TBuilder;
|
|
1645
|
-
static Produces<TResponse>(builder: RouteHandlerBuilder, statusCode?: int, contentType?: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1646
|
-
static Produces(builder: RouteHandlerBuilder, statusCode: int, responseType?: Type, contentType?: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1647
|
-
static ProducesProblem(builder: RouteHandlerBuilder, statusCode: int, contentType?: string): RouteHandlerBuilder;
|
|
1648
|
-
static ProducesProblem<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, statusCode: int, contentType?: string): TBuilder;
|
|
1649
|
-
static ProducesValidationProblem(builder: RouteHandlerBuilder, statusCode?: int, contentType?: string): RouteHandlerBuilder;
|
|
1650
|
-
static ProducesValidationProblem<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, statusCode?: int, contentType?: string): TBuilder;
|
|
1640
|
+
static Produces<TResponse>(builder: RouteHandlerBuilder, statusCode?: int, contentType?: string | null, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1641
|
+
static Produces(builder: RouteHandlerBuilder, statusCode: int, responseType?: Type | null, contentType?: string | null, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1642
|
+
static ProducesProblem(builder: RouteHandlerBuilder, statusCode: int, contentType?: string | null): RouteHandlerBuilder;
|
|
1643
|
+
static ProducesProblem<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, statusCode: int, contentType?: string | null): TBuilder;
|
|
1644
|
+
static ProducesValidationProblem(builder: RouteHandlerBuilder, statusCode?: int, contentType?: string | null): RouteHandlerBuilder;
|
|
1645
|
+
static ProducesValidationProblem<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, statusCode?: int, contentType?: string | null): TBuilder;
|
|
1651
1646
|
static WithDescription<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, description: string): TBuilder;
|
|
1652
1647
|
static WithSummary<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, summary: string): TBuilder;
|
|
1653
1648
|
static WithTags(builder: RouteHandlerBuilder, ...tags: string[]): RouteHandlerBuilder;
|
|
@@ -1658,11 +1653,11 @@ export abstract class OpenApiRouteHandlerBuilderExtensions$instance {
|
|
|
1658
1653
|
export type OpenApiRouteHandlerBuilderExtensions = OpenApiRouteHandlerBuilderExtensions$instance;
|
|
1659
1654
|
|
|
1660
1655
|
export abstract class RequestDelegateFactory$instance {
|
|
1661
|
-
static Create(handler: Function, options?: RequestDelegateFactoryOptions, metadataResult?: RequestDelegateMetadataResult): RequestDelegateResult;
|
|
1662
|
-
static Create(handler: Function, options: RequestDelegateFactoryOptions): RequestDelegateResult;
|
|
1663
|
-
static Create(methodInfo: MethodInfo, targetFactory?: Func_2<HttpContext,
|
|
1664
|
-
static Create(methodInfo: MethodInfo, targetFactory: Func_2<HttpContext,
|
|
1665
|
-
static InferMetadata(methodInfo: MethodInfo, options?: RequestDelegateFactoryOptions): RequestDelegateMetadataResult;
|
|
1656
|
+
static Create(handler: Function, options?: RequestDelegateFactoryOptions | null, metadataResult?: RequestDelegateMetadataResult | null): RequestDelegateResult;
|
|
1657
|
+
static Create(handler: Function, options: RequestDelegateFactoryOptions | null): RequestDelegateResult;
|
|
1658
|
+
static Create(methodInfo: MethodInfo, targetFactory?: Func_2<HttpContext, JsValue> | null, options?: RequestDelegateFactoryOptions | null, metadataResult?: RequestDelegateMetadataResult | null): RequestDelegateResult;
|
|
1659
|
+
static Create(methodInfo: MethodInfo, targetFactory: Func_2<HttpContext, JsValue> | null, options: RequestDelegateFactoryOptions | null): RequestDelegateResult;
|
|
1660
|
+
static InferMetadata(methodInfo: MethodInfo, options?: RequestDelegateFactoryOptions | null): RequestDelegateMetadataResult;
|
|
1666
1661
|
}
|
|
1667
1662
|
|
|
1668
1663
|
|
|
@@ -1705,72 +1700,72 @@ export type ResponseTrailerExtensions = ResponseTrailerExtensions$instance;
|
|
|
1705
1700
|
export abstract class Results$instance {
|
|
1706
1701
|
static readonly Empty: IResult;
|
|
1707
1702
|
static readonly Extensions: IResultExtensions;
|
|
1708
|
-
static Accepted(uri?: string, value?:
|
|
1709
|
-
static Accepted<TValue>(uri?: string, value?: TValue): IResult;
|
|
1710
|
-
static AcceptedAtRoute(routeName: string, routeValues: RouteValueDictionary, value?:
|
|
1711
|
-
static AcceptedAtRoute<TValue>(routeName: string, routeValues: RouteValueDictionary, value?: TValue): IResult;
|
|
1712
|
-
static AcceptedAtRoute(routeName?: string, routeValues?:
|
|
1713
|
-
static AcceptedAtRoute<TValue>(routeName?: string, routeValues?:
|
|
1714
|
-
static BadRequest(error?:
|
|
1715
|
-
static BadRequest<TValue>(error: TValue): IResult;
|
|
1716
|
-
static Bytes(contents: byte[], contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): IResult;
|
|
1717
|
-
static Bytes(contents: ReadOnlyMemory_1<System_Internal.Byte>, contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): IResult;
|
|
1718
|
-
static Challenge(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): IResult;
|
|
1719
|
-
static Conflict(error?:
|
|
1720
|
-
static Conflict<TValue>(error: TValue): IResult;
|
|
1721
|
-
static Content(content: string, contentType: MediaTypeHeaderValue): IResult;
|
|
1722
|
-
static Content(content: string, contentType?: string, contentEncoding?: Encoding, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1723
|
-
static Content(content: string, contentType: string, contentEncoding: Encoding): IResult;
|
|
1703
|
+
static Accepted(uri?: string | null, value?: JsValue | null): IResult;
|
|
1704
|
+
static Accepted<TValue>(uri?: string | null, value?: TValue | null): IResult;
|
|
1705
|
+
static AcceptedAtRoute(routeName: string | null, routeValues: RouteValueDictionary | null, value?: JsValue | null): IResult;
|
|
1706
|
+
static AcceptedAtRoute<TValue>(routeName: string | null, routeValues: RouteValueDictionary | null, value?: TValue | null): IResult;
|
|
1707
|
+
static AcceptedAtRoute(routeName?: string | null, routeValues?: JsValue | null, value?: JsValue | null): IResult;
|
|
1708
|
+
static AcceptedAtRoute<TValue>(routeName?: string | null, routeValues?: JsValue | null, value?: TValue | null): IResult;
|
|
1709
|
+
static BadRequest(error?: JsValue | null): IResult;
|
|
1710
|
+
static BadRequest<TValue>(error: TValue | null): IResult;
|
|
1711
|
+
static Bytes(contents: byte[], contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): IResult;
|
|
1712
|
+
static Bytes(contents: ReadOnlyMemory_1<System_Internal.Byte>, contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): IResult;
|
|
1713
|
+
static Challenge(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): IResult;
|
|
1714
|
+
static Conflict(error?: JsValue | null): IResult;
|
|
1715
|
+
static Conflict<TValue>(error: TValue | null): IResult;
|
|
1716
|
+
static Content(content: string | null, contentType: MediaTypeHeaderValue): IResult;
|
|
1717
|
+
static Content(content: string | null, contentType?: string | null, contentEncoding?: Encoding | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1718
|
+
static Content(content: string | null, contentType: string | null, contentEncoding: Encoding | null): IResult;
|
|
1724
1719
|
static Created(): IResult;
|
|
1725
|
-
static Created(uri: string, value:
|
|
1726
|
-
static Created<TValue>(uri: string, value: TValue): IResult;
|
|
1727
|
-
static Created(uri: Uri, value:
|
|
1728
|
-
static Created<TValue>(uri: Uri, value: TValue): IResult;
|
|
1729
|
-
static CreatedAtRoute(routeName: string, routeValues: RouteValueDictionary, value?:
|
|
1730
|
-
static CreatedAtRoute<TValue>(routeName: string, routeValues: RouteValueDictionary, value?: TValue): IResult;
|
|
1731
|
-
static CreatedAtRoute(routeName?: string, routeValues?:
|
|
1732
|
-
static CreatedAtRoute<TValue>(routeName?: string, routeValues?:
|
|
1733
|
-
static File(fileContents: byte[], contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): IResult;
|
|
1734
|
-
static File(fileStream: Stream, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): IResult;
|
|
1735
|
-
static File(path: string, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): IResult;
|
|
1736
|
-
static Forbid(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): IResult;
|
|
1720
|
+
static Created(uri: string | null, value: JsValue | null): IResult;
|
|
1721
|
+
static Created<TValue>(uri: string | null, value: TValue | null): IResult;
|
|
1722
|
+
static Created(uri: Uri | null, value: JsValue | null): IResult;
|
|
1723
|
+
static Created<TValue>(uri: Uri | null, value: TValue | null): IResult;
|
|
1724
|
+
static CreatedAtRoute(routeName: string | null, routeValues: RouteValueDictionary | null, value?: JsValue | null): IResult;
|
|
1725
|
+
static CreatedAtRoute<TValue>(routeName: string | null, routeValues: RouteValueDictionary | null, value?: TValue | null): IResult;
|
|
1726
|
+
static CreatedAtRoute(routeName?: string | null, routeValues?: JsValue | null, value?: JsValue | null): IResult;
|
|
1727
|
+
static CreatedAtRoute<TValue>(routeName?: string | null, routeValues?: JsValue | null, value?: TValue | null): IResult;
|
|
1728
|
+
static File(fileContents: byte[], contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): IResult;
|
|
1729
|
+
static File(fileStream: Stream, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): IResult;
|
|
1730
|
+
static File(path: string, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): IResult;
|
|
1731
|
+
static Forbid(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): IResult;
|
|
1737
1732
|
static InternalServerError(): IResult;
|
|
1738
|
-
static InternalServerError<TValue>(error: TValue): IResult;
|
|
1739
|
-
static Json(data:
|
|
1740
|
-
static Json(data:
|
|
1741
|
-
static Json(data:
|
|
1742
|
-
static Json<TValue>(data: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1743
|
-
static Json<TValue>(data: TValue, options?: JsonSerializerOptions, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1744
|
-
static Json<TValue>(data: TValue, context: JsonSerializerContext, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1733
|
+
static InternalServerError<TValue>(error: TValue | null): IResult;
|
|
1734
|
+
static Json(data: JsValue | null, options?: JsonSerializerOptions | null, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1735
|
+
static Json(data: JsValue | null, jsonTypeInfo: JsonTypeInfo, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1736
|
+
static Json(data: JsValue | null, type: Type, context: JsonSerializerContext, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1737
|
+
static Json<TValue>(data: TValue | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1738
|
+
static Json<TValue>(data: TValue | null, options?: JsonSerializerOptions | null, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1739
|
+
static Json<TValue>(data: TValue | null, context: JsonSerializerContext, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1745
1740
|
static LocalRedirect(localUrl: string, permanent?: boolean, preserveMethod?: boolean): IResult;
|
|
1746
1741
|
static NoContent(): IResult;
|
|
1747
|
-
static NotFound(value?:
|
|
1748
|
-
static NotFound<TValue>(value: TValue): IResult;
|
|
1749
|
-
static Ok(value?:
|
|
1750
|
-
static Ok<TValue>(value: TValue): IResult;
|
|
1742
|
+
static NotFound(value?: JsValue | null): IResult;
|
|
1743
|
+
static NotFound<TValue>(value: TValue | null): IResult;
|
|
1744
|
+
static Ok(value?: JsValue | null): IResult;
|
|
1745
|
+
static Ok<TValue>(value: TValue | null): IResult;
|
|
1751
1746
|
static Problem(problemDetails: ProblemDetails): IResult;
|
|
1752
|
-
static Problem(detail: string, instance: string, statusCode: Nullable_1<System_Internal.Int32>, title: string, type: string, extensions: IDictionary_2<System_Internal.String,
|
|
1753
|
-
static Problem(detail?: string, instance?: string, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String,
|
|
1747
|
+
static Problem(detail: string | null, instance: string | null, statusCode: Nullable_1<System_Internal.Int32>, title: string | null, type: string | null, extensions: IDictionary_2<System_Internal.String, JsValue | null> | null): IResult;
|
|
1748
|
+
static Problem(detail?: string | null, instance?: string | null, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null): IResult;
|
|
1754
1749
|
static Redirect(url: string, permanent?: boolean, preserveMethod?: boolean): IResult;
|
|
1755
|
-
static RedirectToRoute(routeName: string, routeValues: RouteValueDictionary, permanent?: boolean, preserveMethod?: boolean, fragment?: string): IResult;
|
|
1756
|
-
static RedirectToRoute(routeName?: string, routeValues?:
|
|
1757
|
-
static ServerSentEvents<T>(values: IAsyncEnumerable_1<T>, eventType?: string): IResult;
|
|
1750
|
+
static RedirectToRoute(routeName: string | null, routeValues: RouteValueDictionary | null, permanent?: boolean, preserveMethod?: boolean, fragment?: string | null): IResult;
|
|
1751
|
+
static RedirectToRoute(routeName?: string | null, routeValues?: JsValue | null, permanent?: boolean, preserveMethod?: boolean, fragment?: string | null): IResult;
|
|
1752
|
+
static ServerSentEvents<T>(values: IAsyncEnumerable_1<T>, eventType?: string | null): IResult;
|
|
1758
1753
|
static ServerSentEvents<T>(values: IAsyncEnumerable_1<SseItem_1<T>>): IResult;
|
|
1759
|
-
static ServerSentEvents(values: IAsyncEnumerable_1<System_Internal.String>, eventType?: string): IResult;
|
|
1760
|
-
static SignIn(principal: ClaimsPrincipal, properties?: AuthenticationProperties, authenticationScheme?: string): IResult;
|
|
1761
|
-
static SignOut(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): IResult;
|
|
1754
|
+
static ServerSentEvents(values: IAsyncEnumerable_1<System_Internal.String>, eventType?: string | null): IResult;
|
|
1755
|
+
static SignIn(principal: ClaimsPrincipal, properties?: AuthenticationProperties | null, authenticationScheme?: string | null): IResult;
|
|
1756
|
+
static SignOut(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): IResult;
|
|
1762
1757
|
static StatusCode(statusCode: int): IResult;
|
|
1763
|
-
static Stream(streamWriterCallback: Func_2<Stream, Task>, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): IResult;
|
|
1764
|
-
static Stream(pipeReader: PipeReader, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): IResult;
|
|
1765
|
-
static Stream(stream: Stream, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): IResult;
|
|
1766
|
-
static Text(utf8Content: ReadOnlySpan_1<System_Internal.Byte>, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1767
|
-
static Text(content: string, contentType?: string, contentEncoding?: Encoding, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1768
|
-
static Text(content: string, contentType: string, contentEncoding: Encoding): IResult;
|
|
1758
|
+
static Stream(streamWriterCallback: Func_2<Stream, Task>, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): IResult;
|
|
1759
|
+
static Stream(pipeReader: PipeReader, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): IResult;
|
|
1760
|
+
static Stream(stream: Stream, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): IResult;
|
|
1761
|
+
static Text(utf8Content: ReadOnlySpan_1<System_Internal.Byte>, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1762
|
+
static Text(content: string | null, contentType?: string | null, contentEncoding?: Encoding | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1763
|
+
static Text(content: string | null, contentType: string | null, contentEncoding: Encoding | null): IResult;
|
|
1769
1764
|
static Unauthorized(): IResult;
|
|
1770
|
-
static UnprocessableEntity(error?:
|
|
1771
|
-
static UnprocessableEntity<TValue>(error: TValue): IResult;
|
|
1772
|
-
static ValidationProblem(errors: IDictionary_2<System_Internal.String, string[]>, detail: string, instance: string, statusCode: Nullable_1<System_Internal.Int32>, title: string, type: string, extensions: IDictionary_2<System_Internal.String,
|
|
1773
|
-
static ValidationProblem(errors: IEnumerable_1<KeyValuePair_2<System_Internal.String, string[]>>, detail?: string, instance?: string, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String,
|
|
1765
|
+
static UnprocessableEntity(error?: JsValue | null): IResult;
|
|
1766
|
+
static UnprocessableEntity<TValue>(error: TValue | null): IResult;
|
|
1767
|
+
static ValidationProblem(errors: IDictionary_2<System_Internal.String, string[]>, detail: string | null, instance: string | null, statusCode: Nullable_1<System_Internal.Int32>, title: string | null, type: string | null, extensions: IDictionary_2<System_Internal.String, JsValue | null> | null): IResult;
|
|
1768
|
+
static ValidationProblem(errors: IEnumerable_1<KeyValuePair_2<System_Internal.String, string[]>>, detail?: string | null, instance?: string | null, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null): IResult;
|
|
1774
1769
|
}
|
|
1775
1770
|
|
|
1776
1771
|
|
|
@@ -1794,9 +1789,9 @@ export abstract class SendFileResponseExtensions$instance {
|
|
|
1794
1789
|
export type SendFileResponseExtensions = SendFileResponseExtensions$instance;
|
|
1795
1790
|
|
|
1796
1791
|
export abstract class SessionExtensions$instance {
|
|
1797
|
-
static Get(session: ISession, key: string): byte[] |
|
|
1792
|
+
static Get(session: ISession, key: string): byte[] | null;
|
|
1798
1793
|
static GetInt32(session: ISession, key: string): Nullable_1<System_Internal.Int32>;
|
|
1799
|
-
static GetString(session: ISession, key: string): string |
|
|
1794
|
+
static GetString(session: ISession, key: string): string | null;
|
|
1800
1795
|
static SetInt32(session: ISession, key: string, value: int): void;
|
|
1801
1796
|
static SetString(session: ISession, key: string, value: string): void;
|
|
1802
1797
|
}
|
|
@@ -1879,72 +1874,72 @@ export type StatusCodes = StatusCodes$instance;
|
|
|
1879
1874
|
export abstract class TypedResults$instance {
|
|
1880
1875
|
static readonly Empty: EmptyHttpResult;
|
|
1881
1876
|
static readonly Extensions: IResultExtensions;
|
|
1882
|
-
static Accepted<TValue>(uri: string, value: TValue): Accepted_1<TValue>;
|
|
1883
|
-
static Accepted(uri: string): Accepted;
|
|
1884
|
-
static Accepted<TValue>(uri: Uri, value: TValue): Accepted_1<TValue>;
|
|
1877
|
+
static Accepted<TValue>(uri: string | null, value: TValue | null): Accepted_1<TValue>;
|
|
1878
|
+
static Accepted(uri: string | null): Accepted;
|
|
1879
|
+
static Accepted<TValue>(uri: Uri, value: TValue | null): Accepted_1<TValue>;
|
|
1885
1880
|
static Accepted(uri: Uri): Accepted;
|
|
1886
|
-
static AcceptedAtRoute(routeName: string, routeValues: RouteValueDictionary): AcceptedAtRoute;
|
|
1887
|
-
static AcceptedAtRoute(routeName?: string, routeValues?:
|
|
1888
|
-
static AcceptedAtRoute<TValue>(value: TValue, routeName: string, routeValues: RouteValueDictionary): AcceptedAtRoute_1<TValue>;
|
|
1889
|
-
static AcceptedAtRoute<TValue>(value: TValue, routeName?: string, routeValues?:
|
|
1881
|
+
static AcceptedAtRoute(routeName: string | null, routeValues: RouteValueDictionary | null): AcceptedAtRoute;
|
|
1882
|
+
static AcceptedAtRoute(routeName?: string | null, routeValues?: JsValue | null): AcceptedAtRoute;
|
|
1883
|
+
static AcceptedAtRoute<TValue>(value: TValue | null, routeName: string | null, routeValues: RouteValueDictionary | null): AcceptedAtRoute_1<TValue>;
|
|
1884
|
+
static AcceptedAtRoute<TValue>(value: TValue | null, routeName?: string | null, routeValues?: JsValue | null): AcceptedAtRoute_1<TValue>;
|
|
1890
1885
|
static BadRequest(): BadRequest;
|
|
1891
|
-
static BadRequest<TValue>(error: TValue): BadRequest_1<TValue>;
|
|
1892
|
-
static Bytes(contents: byte[], contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): FileContentHttpResult;
|
|
1893
|
-
static Bytes(contents: ReadOnlyMemory_1<System_Internal.Byte>, contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): FileContentHttpResult;
|
|
1894
|
-
static Challenge(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): ChallengeHttpResult;
|
|
1886
|
+
static BadRequest<TValue>(error: TValue | null): BadRequest_1<TValue>;
|
|
1887
|
+
static Bytes(contents: byte[], contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): FileContentHttpResult;
|
|
1888
|
+
static Bytes(contents: ReadOnlyMemory_1<System_Internal.Byte>, contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): FileContentHttpResult;
|
|
1889
|
+
static Challenge(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): ChallengeHttpResult;
|
|
1895
1890
|
static Conflict(): Conflict;
|
|
1896
|
-
static Conflict<TValue>(error: TValue): Conflict_1<TValue>;
|
|
1897
|
-
static Content(content: string, contentType: MediaTypeHeaderValue): ContentHttpResult;
|
|
1898
|
-
static Content(content: string, contentType?: string, contentEncoding?: Encoding, statusCode?: Nullable_1<System_Internal.Int32>): ContentHttpResult;
|
|
1899
|
-
static Content(content: string, contentType: string, contentEncoding: Encoding): ContentHttpResult;
|
|
1891
|
+
static Conflict<TValue>(error: TValue | null): Conflict_1<TValue>;
|
|
1892
|
+
static Content(content: string | null, contentType: MediaTypeHeaderValue): ContentHttpResult;
|
|
1893
|
+
static Content(content: string | null, contentType?: string | null, contentEncoding?: Encoding | null, statusCode?: Nullable_1<System_Internal.Int32>): ContentHttpResult;
|
|
1894
|
+
static Content(content: string | null, contentType: string | null, contentEncoding: Encoding | null): ContentHttpResult;
|
|
1900
1895
|
static Created(): Created;
|
|
1901
|
-
static Created<TValue>(uri: string, value: TValue): Created_1<TValue>;
|
|
1902
|
-
static Created(uri: string): Created;
|
|
1903
|
-
static Created<TValue>(uri: Uri, value: TValue): Created_1<TValue>;
|
|
1904
|
-
static Created(uri: Uri): Created;
|
|
1905
|
-
static CreatedAtRoute(routeName: string, routeValues: RouteValueDictionary): CreatedAtRoute;
|
|
1906
|
-
static CreatedAtRoute(routeName?: string, routeValues?:
|
|
1907
|
-
static CreatedAtRoute<TValue>(value: TValue, routeName: string, routeValues: RouteValueDictionary): CreatedAtRoute_1<TValue>;
|
|
1908
|
-
static CreatedAtRoute<TValue>(value: TValue, routeName?: string, routeValues?:
|
|
1909
|
-
static File(fileContents: byte[], contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): FileContentHttpResult;
|
|
1910
|
-
static File(fileStream: Stream, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1911
|
-
static Forbid(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): ForbidHttpResult;
|
|
1896
|
+
static Created<TValue>(uri: string | null, value: TValue | null): Created_1<TValue>;
|
|
1897
|
+
static Created(uri: string | null): Created;
|
|
1898
|
+
static Created<TValue>(uri: Uri | null, value: TValue | null): Created_1<TValue>;
|
|
1899
|
+
static Created(uri: Uri | null): Created;
|
|
1900
|
+
static CreatedAtRoute(routeName: string | null, routeValues: RouteValueDictionary | null): CreatedAtRoute;
|
|
1901
|
+
static CreatedAtRoute(routeName?: string | null, routeValues?: JsValue | null): CreatedAtRoute;
|
|
1902
|
+
static CreatedAtRoute<TValue>(value: TValue | null, routeName: string | null, routeValues: RouteValueDictionary | null): CreatedAtRoute_1<TValue>;
|
|
1903
|
+
static CreatedAtRoute<TValue>(value: TValue | null, routeName?: string | null, routeValues?: JsValue | null): CreatedAtRoute_1<TValue>;
|
|
1904
|
+
static File(fileContents: byte[], contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): FileContentHttpResult;
|
|
1905
|
+
static File(fileStream: Stream, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1906
|
+
static Forbid(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): ForbidHttpResult;
|
|
1912
1907
|
static InternalServerError(): InternalServerError;
|
|
1913
|
-
static InternalServerError<TValue>(error: TValue): InternalServerError_1<TValue>;
|
|
1914
|
-
static Json<TValue>(data: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1915
|
-
static Json<TValue>(data: TValue, options?: JsonSerializerOptions, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1916
|
-
static Json<TValue>(data: TValue, context: JsonSerializerContext, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1908
|
+
static InternalServerError<TValue>(error: TValue | null): InternalServerError_1<TValue>;
|
|
1909
|
+
static Json<TValue>(data: TValue | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1910
|
+
static Json<TValue>(data: TValue | null, options?: JsonSerializerOptions | null, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1911
|
+
static Json<TValue>(data: TValue | null, context: JsonSerializerContext, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1917
1912
|
static LocalRedirect(localUrl: string, permanent?: boolean, preserveMethod?: boolean): RedirectHttpResult;
|
|
1918
1913
|
static NoContent(): NoContent;
|
|
1919
1914
|
static NotFound(): NotFound;
|
|
1920
|
-
static NotFound<TValue>(value: TValue): NotFound_1<TValue>;
|
|
1915
|
+
static NotFound<TValue>(value: TValue | null): NotFound_1<TValue>;
|
|
1921
1916
|
static Ok(): Ok;
|
|
1922
|
-
static Ok<TValue>(value: TValue): Ok_1<TValue>;
|
|
1923
|
-
static PhysicalFile(path: string, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): PhysicalFileHttpResult;
|
|
1917
|
+
static Ok<TValue>(value: TValue | null): Ok_1<TValue>;
|
|
1918
|
+
static PhysicalFile(path: string, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): PhysicalFileHttpResult;
|
|
1924
1919
|
static Problem(problemDetails: ProblemDetails): ProblemHttpResult;
|
|
1925
|
-
static Problem(detail: string, instance: string, statusCode: Nullable_1<System_Internal.Int32>, title: string, type: string, extensions: IDictionary_2<System_Internal.String,
|
|
1926
|
-
static Problem(detail?: string, instance?: string, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String,
|
|
1920
|
+
static Problem(detail: string | null, instance: string | null, statusCode: Nullable_1<System_Internal.Int32>, title: string | null, type: string | null, extensions: IDictionary_2<System_Internal.String, JsValue | null> | null): ProblemHttpResult;
|
|
1921
|
+
static Problem(detail?: string | null, instance?: string | null, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null): ProblemHttpResult;
|
|
1927
1922
|
static Redirect(url: string, permanent?: boolean, preserveMethod?: boolean): RedirectHttpResult;
|
|
1928
|
-
static RedirectToRoute(routeName: string, routeValues: RouteValueDictionary, permanent?: boolean, preserveMethod?: boolean, fragment?: string): RedirectToRouteHttpResult;
|
|
1929
|
-
static RedirectToRoute(routeName?: string, routeValues?:
|
|
1930
|
-
static ServerSentEvents<T>(values: IAsyncEnumerable_1<T>, eventType?: string): ServerSentEventsResult_1<T>;
|
|
1923
|
+
static RedirectToRoute(routeName: string | null, routeValues: RouteValueDictionary | null, permanent?: boolean, preserveMethod?: boolean, fragment?: string | null): RedirectToRouteHttpResult;
|
|
1924
|
+
static RedirectToRoute(routeName?: string | null, routeValues?: JsValue | null, permanent?: boolean, preserveMethod?: boolean, fragment?: string | null): RedirectToRouteHttpResult;
|
|
1925
|
+
static ServerSentEvents<T>(values: IAsyncEnumerable_1<T>, eventType?: string | null): ServerSentEventsResult_1<T>;
|
|
1931
1926
|
static ServerSentEvents<T>(values: IAsyncEnumerable_1<SseItem_1<T>>): ServerSentEventsResult_1<T>;
|
|
1932
|
-
static ServerSentEvents(values: IAsyncEnumerable_1<System_Internal.String>, eventType?: string): ServerSentEventsResult_1<System_Internal.String>;
|
|
1933
|
-
static SignIn(principal: ClaimsPrincipal, properties?: AuthenticationProperties, authenticationScheme?: string): SignInHttpResult;
|
|
1934
|
-
static SignOut(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): SignOutHttpResult;
|
|
1927
|
+
static ServerSentEvents(values: IAsyncEnumerable_1<System_Internal.String>, eventType?: string | null): ServerSentEventsResult_1<System_Internal.String>;
|
|
1928
|
+
static SignIn(principal: ClaimsPrincipal, properties?: AuthenticationProperties | null, authenticationScheme?: string | null): SignInHttpResult;
|
|
1929
|
+
static SignOut(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): SignOutHttpResult;
|
|
1935
1930
|
static StatusCode(statusCode: int): StatusCodeHttpResult;
|
|
1936
|
-
static Stream(streamWriterCallback: Func_2<Stream, Task>, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): PushStreamHttpResult;
|
|
1937
|
-
static Stream(pipeReader: PipeReader, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1938
|
-
static Stream(stream: Stream, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1939
|
-
static Text(utf8Content: ReadOnlySpan_1<System_Internal.Byte>, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): Utf8ContentHttpResult;
|
|
1940
|
-
static Text(content: string, contentType?: string, contentEncoding?: Encoding, statusCode?: Nullable_1<System_Internal.Int32>): ContentHttpResult;
|
|
1941
|
-
static Text(content: string, contentType: string, contentEncoding: Encoding): ContentHttpResult;
|
|
1931
|
+
static Stream(streamWriterCallback: Func_2<Stream, Task>, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): PushStreamHttpResult;
|
|
1932
|
+
static Stream(pipeReader: PipeReader, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1933
|
+
static Stream(stream: Stream, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1934
|
+
static Text(utf8Content: ReadOnlySpan_1<System_Internal.Byte>, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): Utf8ContentHttpResult;
|
|
1935
|
+
static Text(content: string | null, contentType?: string | null, contentEncoding?: Encoding | null, statusCode?: Nullable_1<System_Internal.Int32>): ContentHttpResult;
|
|
1936
|
+
static Text(content: string | null, contentType: string | null, contentEncoding: Encoding | null): ContentHttpResult;
|
|
1942
1937
|
static Unauthorized(): UnauthorizedHttpResult;
|
|
1943
1938
|
static UnprocessableEntity(): UnprocessableEntity;
|
|
1944
|
-
static UnprocessableEntity<TValue>(error: TValue): UnprocessableEntity_1<TValue>;
|
|
1945
|
-
static ValidationProblem(errors: IDictionary_2<System_Internal.String, string[]>, detail: string, instance: string, title: string, type: string, extensions: IDictionary_2<System_Internal.String,
|
|
1946
|
-
static ValidationProblem(errors: IEnumerable_1<KeyValuePair_2<System_Internal.String, string[]>>, detail?: string, instance?: string, title?: string, type?: string, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String,
|
|
1947
|
-
static VirtualFile(path: string, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): VirtualFileHttpResult;
|
|
1939
|
+
static UnprocessableEntity<TValue>(error: TValue | null): UnprocessableEntity_1<TValue>;
|
|
1940
|
+
static ValidationProblem(errors: IDictionary_2<System_Internal.String, string[]>, detail: string | null, instance: string | null, title: string | null, type: string | null, extensions: IDictionary_2<System_Internal.String, JsValue | null> | null): ValidationProblem;
|
|
1941
|
+
static ValidationProblem(errors: IEnumerable_1<KeyValuePair_2<System_Internal.String, string[]>>, detail?: string | null, instance?: string | null, title?: string | null, type?: string | null, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsValue>> | null): ValidationProblem;
|
|
1942
|
+
static VirtualFile(path: string, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): VirtualFileHttpResult;
|
|
1948
1943
|
}
|
|
1949
1944
|
|
|
1950
1945
|
|