@tsonic/aspnetcore 10.0.40 → 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.Mvc.ModelBinding
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Mvc.Abstractions, Microsoft.AspNetCore.Mvc.Core, Microsoft.AspNetCore.Mvc.ViewFeatures
|
|
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 { HttpContext, IFormCollection, IFormFileCollection, IQueryCollection } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
@@ -62,7 +60,7 @@ export enum ModelValidationState {
|
|
|
62
60
|
export interface IBinderTypeProviderMetadata$instance extends IBindingSourceMetadata {
|
|
63
61
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IBinderTypeProviderMetadata: never;
|
|
64
62
|
|
|
65
|
-
readonly BinderType: Type |
|
|
63
|
+
readonly BinderType: Type | null;
|
|
66
64
|
readonly BindingSource: BindingSource;
|
|
67
65
|
}
|
|
68
66
|
|
|
@@ -84,7 +82,7 @@ export interface IBindingSourceValueProvider$instance extends IValueProvider {
|
|
|
84
82
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IBindingSourceValueProvider: never;
|
|
85
83
|
|
|
86
84
|
ContainsPrefix(prefix: string): boolean;
|
|
87
|
-
Filter(bindingSource: BindingSource): IValueProvider |
|
|
85
|
+
Filter(bindingSource: BindingSource): IValueProvider | null;
|
|
88
86
|
GetValue(key: string): ValueProviderResult;
|
|
89
87
|
}
|
|
90
88
|
|
|
@@ -122,7 +120,7 @@ export interface IKeyRewriterValueProvider$instance extends IValueProvider {
|
|
|
122
120
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IKeyRewriterValueProvider: never;
|
|
123
121
|
|
|
124
122
|
ContainsPrefix(prefix: string): boolean;
|
|
125
|
-
Filter(): IValueProvider |
|
|
123
|
+
Filter(): IValueProvider | null;
|
|
126
124
|
GetValue(key: string): ValueProviderResult;
|
|
127
125
|
}
|
|
128
126
|
|
|
@@ -152,7 +150,7 @@ export type IModelBinderFactory = IModelBinderFactory$instance;
|
|
|
152
150
|
export interface IModelBinderProvider$instance {
|
|
153
151
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IModelBinderProvider: never;
|
|
154
152
|
|
|
155
|
-
GetBinder(context: ModelBinderProviderContext): IModelBinder |
|
|
153
|
+
GetBinder(context: ModelBinderProviderContext): IModelBinder | null;
|
|
156
154
|
}
|
|
157
155
|
|
|
158
156
|
|
|
@@ -171,7 +169,7 @@ export type IModelMetadataProvider = IModelMetadataProvider$instance;
|
|
|
171
169
|
export interface IModelNameProvider$instance {
|
|
172
170
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IModelNameProvider: never;
|
|
173
171
|
|
|
174
|
-
readonly Name: string |
|
|
172
|
+
readonly Name: string | null;
|
|
175
173
|
}
|
|
176
174
|
|
|
177
175
|
|
|
@@ -230,30 +228,14 @@ export const EnumGroupAndName: {
|
|
|
230
228
|
|
|
231
229
|
export type EnumGroupAndName = EnumGroupAndName$instance;
|
|
232
230
|
|
|
233
|
-
export interface ModelBindingContext_NestedScope$instance {
|
|
234
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelBindingContext_NestedScope: never;
|
|
235
|
-
|
|
236
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
237
|
-
|
|
238
|
-
Dispose(): void;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
export const ModelBindingContext_NestedScope: {
|
|
243
|
-
new(context: ModelBindingContext): ModelBindingContext_NestedScope;
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
export type ModelBindingContext_NestedScope = ModelBindingContext_NestedScope$instance;
|
|
248
|
-
|
|
249
231
|
export interface ModelBindingResult$instance {
|
|
250
232
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelBindingResult: never;
|
|
251
233
|
|
|
252
234
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
253
235
|
|
|
254
236
|
readonly IsModelSet: boolean;
|
|
255
|
-
readonly Model:
|
|
256
|
-
Equals(obj:
|
|
237
|
+
readonly Model: JsValue | null;
|
|
238
|
+
Equals(obj: JsValue | null): boolean;
|
|
257
239
|
Equals(other: ModelBindingResult): boolean;
|
|
258
240
|
GetHashCode(): int;
|
|
259
241
|
ToString(): string;
|
|
@@ -263,126 +245,12 @@ export interface ModelBindingResult$instance {
|
|
|
263
245
|
export const ModelBindingResult: {
|
|
264
246
|
new(): ModelBindingResult;
|
|
265
247
|
Failed(): ModelBindingResult;
|
|
266
|
-
Success(model:
|
|
248
|
+
Success(model: JsValue | null): ModelBindingResult;
|
|
267
249
|
};
|
|
268
250
|
|
|
269
251
|
|
|
270
252
|
export type ModelBindingResult = ModelBindingResult$instance;
|
|
271
253
|
|
|
272
|
-
export interface ModelStateDictionary_Enumerator$instance {
|
|
273
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_Enumerator: never;
|
|
274
|
-
|
|
275
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
276
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
277
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
278
|
-
|
|
279
|
-
readonly Current: KeyValuePair_2<System_Internal.String, ModelStateEntry>;
|
|
280
|
-
Dispose(): void;
|
|
281
|
-
MoveNext(): boolean;
|
|
282
|
-
Reset(): void;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
export const ModelStateDictionary_Enumerator: {
|
|
287
|
-
new(dictionary: ModelStateDictionary, prefix: string): ModelStateDictionary_Enumerator;
|
|
288
|
-
};
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
export type ModelStateDictionary_Enumerator = ModelStateDictionary_Enumerator$instance;
|
|
292
|
-
|
|
293
|
-
export interface ModelStateDictionary_KeyEnumerable$instance {
|
|
294
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_KeyEnumerable: never;
|
|
295
|
-
|
|
296
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
297
|
-
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
298
|
-
|
|
299
|
-
GetEnumerator(): ModelStateDictionary_KeyEnumerator;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
export const ModelStateDictionary_KeyEnumerable: {
|
|
304
|
-
new(dictionary: ModelStateDictionary): ModelStateDictionary_KeyEnumerable;
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
export type ModelStateDictionary_KeyEnumerable = ModelStateDictionary_KeyEnumerable$instance;
|
|
309
|
-
|
|
310
|
-
export interface ModelStateDictionary_KeyEnumerator$instance {
|
|
311
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_KeyEnumerator: never;
|
|
312
|
-
|
|
313
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
314
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
315
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
316
|
-
|
|
317
|
-
Current: string;
|
|
318
|
-
Dispose(): void;
|
|
319
|
-
MoveNext(): boolean;
|
|
320
|
-
Reset(): void;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
export const ModelStateDictionary_KeyEnumerator: {
|
|
325
|
-
new(dictionary: ModelStateDictionary, prefix: string): ModelStateDictionary_KeyEnumerator;
|
|
326
|
-
};
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
export type ModelStateDictionary_KeyEnumerator = ModelStateDictionary_KeyEnumerator$instance;
|
|
330
|
-
|
|
331
|
-
export interface ModelStateDictionary_PrefixEnumerable$instance {
|
|
332
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_PrefixEnumerable: never;
|
|
333
|
-
|
|
334
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
335
|
-
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
336
|
-
|
|
337
|
-
GetEnumerator(): ModelStateDictionary_Enumerator;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
export const ModelStateDictionary_PrefixEnumerable: {
|
|
342
|
-
new(dictionary: ModelStateDictionary, prefix: string): ModelStateDictionary_PrefixEnumerable;
|
|
343
|
-
};
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
export type ModelStateDictionary_PrefixEnumerable = ModelStateDictionary_PrefixEnumerable$instance;
|
|
347
|
-
|
|
348
|
-
export interface ModelStateDictionary_ValueEnumerable$instance {
|
|
349
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_ValueEnumerable: never;
|
|
350
|
-
|
|
351
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
352
|
-
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
353
|
-
|
|
354
|
-
GetEnumerator(): ModelStateDictionary_ValueEnumerator;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
export const ModelStateDictionary_ValueEnumerable: {
|
|
359
|
-
new(dictionary: ModelStateDictionary): ModelStateDictionary_ValueEnumerable;
|
|
360
|
-
};
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
export type ModelStateDictionary_ValueEnumerable = ModelStateDictionary_ValueEnumerable$instance;
|
|
364
|
-
|
|
365
|
-
export interface ModelStateDictionary_ValueEnumerator$instance {
|
|
366
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_ValueEnumerator: never;
|
|
367
|
-
|
|
368
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
369
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
370
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
371
|
-
|
|
372
|
-
Current: ModelStateEntry;
|
|
373
|
-
Dispose(): void;
|
|
374
|
-
MoveNext(): boolean;
|
|
375
|
-
Reset(): void;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
export const ModelStateDictionary_ValueEnumerator: {
|
|
380
|
-
new(dictionary: ModelStateDictionary, prefix: string): ModelStateDictionary_ValueEnumerator;
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
export type ModelStateDictionary_ValueEnumerator = ModelStateDictionary_ValueEnumerator$instance;
|
|
385
|
-
|
|
386
254
|
export interface ValueProviderResult$instance {
|
|
387
255
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ValueProviderResult: never;
|
|
388
256
|
|
|
@@ -391,10 +259,10 @@ export interface ValueProviderResult$instance {
|
|
|
391
259
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
392
260
|
|
|
393
261
|
readonly Culture: CultureInfo;
|
|
394
|
-
readonly FirstValue: string |
|
|
262
|
+
readonly FirstValue: string | null;
|
|
395
263
|
readonly Length: int;
|
|
396
264
|
readonly Values: StringValues;
|
|
397
|
-
Equals(obj:
|
|
265
|
+
Equals(obj: JsValue | null): boolean;
|
|
398
266
|
Equals(other: ValueProviderResult): boolean;
|
|
399
267
|
GetEnumerator(): IEnumerator_1<System_Internal.String>;
|
|
400
268
|
GetHashCode(): int;
|
|
@@ -404,7 +272,7 @@ export interface ValueProviderResult$instance {
|
|
|
404
272
|
|
|
405
273
|
export const ValueProviderResult: {
|
|
406
274
|
new(values: StringValues): ValueProviderResult;
|
|
407
|
-
new(values: StringValues, culture: CultureInfo): ValueProviderResult;
|
|
275
|
+
new(values: StringValues, culture: CultureInfo | null): ValueProviderResult;
|
|
408
276
|
None: ValueProviderResult;
|
|
409
277
|
};
|
|
410
278
|
|
|
@@ -428,19 +296,19 @@ export type BindingBehaviorAttribute = BindingBehaviorAttribute$instance;
|
|
|
428
296
|
export interface BindingInfo$instance {
|
|
429
297
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_BindingInfo: never;
|
|
430
298
|
|
|
431
|
-
get BinderModelName(): string |
|
|
432
|
-
set BinderModelName(value: string |
|
|
433
|
-
get BinderType(): Type |
|
|
434
|
-
set BinderType(value: Type |
|
|
435
|
-
get BindingSource(): BindingSource |
|
|
436
|
-
set BindingSource(value: BindingSource |
|
|
299
|
+
get BinderModelName(): string | null;
|
|
300
|
+
set BinderModelName(value: string | null);
|
|
301
|
+
get BinderType(): Type | null;
|
|
302
|
+
set BinderType(value: Type | null);
|
|
303
|
+
get BindingSource(): BindingSource | null;
|
|
304
|
+
set BindingSource(value: BindingSource | null);
|
|
437
305
|
EmptyBodyBehavior: EmptyBodyBehavior;
|
|
438
|
-
get PropertyFilterProvider(): IPropertyFilterProvider |
|
|
439
|
-
set PropertyFilterProvider(value: IPropertyFilterProvider |
|
|
440
|
-
get RequestPredicate(): Func_2<ActionContext, System_Internal.Boolean> |
|
|
441
|
-
set RequestPredicate(value: Func_2<ActionContext, System_Internal.Boolean> |
|
|
442
|
-
get ServiceKey():
|
|
443
|
-
set ServiceKey(value:
|
|
306
|
+
get PropertyFilterProvider(): IPropertyFilterProvider | null;
|
|
307
|
+
set PropertyFilterProvider(value: IPropertyFilterProvider | null);
|
|
308
|
+
get RequestPredicate(): Func_2<ActionContext, System_Internal.Boolean> | null;
|
|
309
|
+
set RequestPredicate(value: Func_2<ActionContext, System_Internal.Boolean> | null);
|
|
310
|
+
get ServiceKey(): JsValue | null;
|
|
311
|
+
set ServiceKey(value: JsValue | null);
|
|
444
312
|
TryApplyBindingInfo(modelMetadata: ModelMetadata): boolean;
|
|
445
313
|
}
|
|
446
314
|
|
|
@@ -448,8 +316,8 @@ export interface BindingInfo$instance {
|
|
|
448
316
|
export const BindingInfo: {
|
|
449
317
|
new(): BindingInfo;
|
|
450
318
|
new(other: BindingInfo): BindingInfo;
|
|
451
|
-
GetBindingInfo(attributes: IEnumerable_1<
|
|
452
|
-
GetBindingInfo(attributes: IEnumerable_1<
|
|
319
|
+
GetBindingInfo(attributes: IEnumerable_1<JsValue>, modelMetadata: ModelMetadata): BindingInfo | null;
|
|
320
|
+
GetBindingInfo(attributes: IEnumerable_1<JsValue>): BindingInfo | null;
|
|
453
321
|
};
|
|
454
322
|
|
|
455
323
|
|
|
@@ -465,8 +333,8 @@ export interface BindingSource$instance {
|
|
|
465
333
|
readonly IsFromRequest: boolean;
|
|
466
334
|
readonly IsGreedy: boolean;
|
|
467
335
|
CanAcceptDataFrom(bindingSource: BindingSource): boolean;
|
|
468
|
-
Equals(other: BindingSource): boolean;
|
|
469
|
-
Equals(obj:
|
|
336
|
+
Equals(other: BindingSource | null): boolean;
|
|
337
|
+
Equals(obj: JsValue | null): boolean;
|
|
470
338
|
GetHashCode(): int;
|
|
471
339
|
}
|
|
472
340
|
|
|
@@ -495,7 +363,7 @@ export interface BindingSourceValueProvider$instance {
|
|
|
495
363
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IValueProvider: never;
|
|
496
364
|
|
|
497
365
|
ContainsPrefix(prefix: string): boolean;
|
|
498
|
-
Filter(bindingSource: BindingSource): IValueProvider |
|
|
366
|
+
Filter(bindingSource: BindingSource): IValueProvider | null;
|
|
499
367
|
GetValue(key: string): ValueProviderResult;
|
|
500
368
|
}
|
|
501
369
|
|
|
@@ -572,8 +440,8 @@ export interface CompositeValueProvider$instance extends Collection_1<IValueProv
|
|
|
572
440
|
readonly __tsonic_iface_System_Collections_IList: never;
|
|
573
441
|
|
|
574
442
|
ContainsPrefix(prefix: string): boolean;
|
|
575
|
-
Filter(bindingSource: BindingSource): IValueProvider |
|
|
576
|
-
Filter(): IValueProvider |
|
|
443
|
+
Filter(bindingSource: BindingSource): IValueProvider | null;
|
|
444
|
+
Filter(): IValueProvider | null;
|
|
577
445
|
GetKeysFromPrefix(prefix: string): IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
578
446
|
GetValue(key: string): ValueProviderResult;
|
|
579
447
|
InsertItem(index: int, item: IValueProvider): void;
|
|
@@ -603,24 +471,24 @@ export interface DefaultModelBindingContext$instance extends ModelBindingContext
|
|
|
603
471
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_DefaultModelBindingContext: never;
|
|
604
472
|
|
|
605
473
|
ActionContext: ActionContext;
|
|
606
|
-
get BinderModelName(): string |
|
|
607
|
-
set BinderModelName(value: string |
|
|
608
|
-
get BindingSource(): BindingSource |
|
|
609
|
-
set BindingSource(value: BindingSource |
|
|
474
|
+
get BinderModelName(): string | null;
|
|
475
|
+
set BinderModelName(value: string | null);
|
|
476
|
+
get BindingSource(): BindingSource | null;
|
|
477
|
+
set BindingSource(value: BindingSource | null);
|
|
610
478
|
FieldName: string;
|
|
611
479
|
IsTopLevelObject: boolean;
|
|
612
|
-
get Model():
|
|
613
|
-
set Model(value:
|
|
480
|
+
get Model(): JsValue | null;
|
|
481
|
+
set Model(value: JsValue | null);
|
|
614
482
|
ModelMetadata: ModelMetadata;
|
|
615
483
|
ModelName: string;
|
|
616
484
|
ModelState: ModelStateDictionary;
|
|
617
485
|
OriginalValueProvider: IValueProvider;
|
|
618
|
-
get PropertyFilter(): Func_2<ModelMetadata, System_Internal.Boolean> |
|
|
619
|
-
set PropertyFilter(value: Func_2<ModelMetadata, System_Internal.Boolean> |
|
|
486
|
+
get PropertyFilter(): Func_2<ModelMetadata, System_Internal.Boolean> | null;
|
|
487
|
+
set PropertyFilter(value: Func_2<ModelMetadata, System_Internal.Boolean> | null);
|
|
620
488
|
Result: ModelBindingResult;
|
|
621
489
|
ValidationState: ValidationStateDictionary;
|
|
622
490
|
ValueProvider: IValueProvider;
|
|
623
|
-
EnterNestedScope(modelMetadata: ModelMetadata, fieldName: string, modelName: string, model:
|
|
491
|
+
EnterNestedScope(modelMetadata: ModelMetadata, fieldName: string, modelName: string, model: JsValue | null): ModelBindingContext_NestedScope;
|
|
624
492
|
EnterNestedScope(): ModelBindingContext_NestedScope;
|
|
625
493
|
ExitNestedScope(): void;
|
|
626
494
|
}
|
|
@@ -628,7 +496,7 @@ export interface DefaultModelBindingContext$instance extends ModelBindingContext
|
|
|
628
496
|
|
|
629
497
|
export const DefaultModelBindingContext: {
|
|
630
498
|
new(): DefaultModelBindingContext;
|
|
631
|
-
CreateBindingContext(actionContext: ActionContext, valueProvider: IValueProvider, metadata: ModelMetadata, bindingInfo: BindingInfo, modelName: string): ModelBindingContext;
|
|
499
|
+
CreateBindingContext(actionContext: ActionContext, valueProvider: IValueProvider, metadata: ModelMetadata, bindingInfo: BindingInfo | null, modelName: string): ModelBindingContext;
|
|
632
500
|
};
|
|
633
501
|
|
|
634
502
|
|
|
@@ -641,7 +509,7 @@ export interface DefaultPropertyFilterProvider_1$instance<TModel> extends IPrope
|
|
|
641
509
|
|
|
642
510
|
readonly Prefix: string;
|
|
643
511
|
readonly PropertyFilter: Func_2<ModelMetadata, System_Internal.Boolean>;
|
|
644
|
-
readonly PropertyIncludeExpressions: IEnumerable_1<Expression_1<Func_2<TModel,
|
|
512
|
+
readonly PropertyIncludeExpressions: IEnumerable_1<Expression_1<Func_2<TModel, JsValue | null>>> | null;
|
|
645
513
|
}
|
|
646
514
|
|
|
647
515
|
|
|
@@ -727,7 +595,7 @@ export interface FormValueProvider$instance extends BindingSourceValueProvider$i
|
|
|
727
595
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IEnumerableValueProvider: never;
|
|
728
596
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IValueProvider: never;
|
|
729
597
|
|
|
730
|
-
readonly Culture: CultureInfo |
|
|
598
|
+
readonly Culture: CultureInfo | null;
|
|
731
599
|
ContainsPrefix(prefix: string): boolean;
|
|
732
600
|
GetKeysFromPrefix(prefix: string): IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
733
601
|
GetValue(key: string): ValueProviderResult;
|
|
@@ -735,7 +603,7 @@ export interface FormValueProvider$instance extends BindingSourceValueProvider$i
|
|
|
735
603
|
|
|
736
604
|
|
|
737
605
|
export const FormValueProvider: {
|
|
738
|
-
new(bindingSource: BindingSource, values: IFormCollection, culture: CultureInfo): FormValueProvider;
|
|
606
|
+
new(bindingSource: BindingSource, values: IFormCollection, culture: CultureInfo | null): FormValueProvider;
|
|
739
607
|
};
|
|
740
608
|
|
|
741
609
|
|
|
@@ -782,7 +650,7 @@ export interface JQueryFormValueProvider$instance extends JQueryValueProvider$in
|
|
|
782
650
|
|
|
783
651
|
|
|
784
652
|
export const JQueryFormValueProvider: {
|
|
785
|
-
new(bindingSource: BindingSource, values: IDictionary_2<System_Internal.String, StringValues>, culture: CultureInfo): JQueryFormValueProvider;
|
|
653
|
+
new(bindingSource: BindingSource, values: IDictionary_2<System_Internal.String, StringValues>, culture: CultureInfo | null): JQueryFormValueProvider;
|
|
786
654
|
};
|
|
787
655
|
|
|
788
656
|
|
|
@@ -829,7 +697,7 @@ export interface JQueryQueryStringValueProvider$instance extends JQueryValueProv
|
|
|
829
697
|
|
|
830
698
|
|
|
831
699
|
export const JQueryQueryStringValueProvider: {
|
|
832
|
-
new(bindingSource: BindingSource, values: IDictionary_2<System_Internal.String, StringValues>, culture: CultureInfo): JQueryQueryStringValueProvider;
|
|
700
|
+
new(bindingSource: BindingSource, values: IDictionary_2<System_Internal.String, StringValues>, culture: CultureInfo | null): JQueryQueryStringValueProvider;
|
|
833
701
|
};
|
|
834
702
|
|
|
835
703
|
|
|
@@ -872,16 +740,16 @@ export interface JQueryValueProvider$instance extends BindingSourceValueProvider
|
|
|
872
740
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IKeyRewriterValueProvider: never;
|
|
873
741
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IValueProvider: never;
|
|
874
742
|
|
|
875
|
-
readonly Culture: CultureInfo |
|
|
743
|
+
readonly Culture: CultureInfo | null;
|
|
876
744
|
ContainsPrefix(prefix: string): boolean;
|
|
877
|
-
Filter(): IValueProvider |
|
|
878
|
-
Filter(bindingSource: BindingSource): IValueProvider |
|
|
745
|
+
Filter(): IValueProvider | null;
|
|
746
|
+
Filter(bindingSource: BindingSource): IValueProvider | null;
|
|
879
747
|
GetKeysFromPrefix(prefix: string): IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
880
748
|
GetValue(key: string): ValueProviderResult;
|
|
881
749
|
}
|
|
882
750
|
|
|
883
751
|
|
|
884
|
-
export const JQueryValueProvider: (abstract new(bindingSource: BindingSource, values: IDictionary_2<System_Internal.String, StringValues>, culture: CultureInfo) => JQueryValueProvider) & {
|
|
752
|
+
export const JQueryValueProvider: (abstract new(bindingSource: BindingSource, values: IDictionary_2<System_Internal.String, StringValues>, culture: CultureInfo | null) => JQueryValueProvider) & {
|
|
885
753
|
};
|
|
886
754
|
|
|
887
755
|
|
|
@@ -898,10 +766,10 @@ export type JQueryValueProvider = JQueryValueProvider$instance & __JQueryValuePr
|
|
|
898
766
|
export interface ModelAttributes$instance {
|
|
899
767
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelAttributes: never;
|
|
900
768
|
|
|
901
|
-
readonly Attributes: IReadOnlyList_1<
|
|
902
|
-
readonly ParameterAttributes: IReadOnlyList_1<
|
|
903
|
-
readonly PropertyAttributes: IReadOnlyList_1<
|
|
904
|
-
readonly TypeAttributes: IReadOnlyList_1<
|
|
769
|
+
readonly Attributes: IReadOnlyList_1<JsValue>;
|
|
770
|
+
readonly ParameterAttributes: IReadOnlyList_1<JsValue> | null;
|
|
771
|
+
readonly PropertyAttributes: IReadOnlyList_1<JsValue> | null;
|
|
772
|
+
readonly TypeAttributes: IReadOnlyList_1<JsValue> | null;
|
|
905
773
|
}
|
|
906
774
|
|
|
907
775
|
|
|
@@ -940,10 +808,10 @@ export type ModelBinderFactory = ModelBinderFactory$instance & __ModelBinderFact
|
|
|
940
808
|
export interface ModelBinderFactoryContext$instance {
|
|
941
809
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelBinderFactoryContext: never;
|
|
942
810
|
|
|
943
|
-
get BindingInfo(): BindingInfo |
|
|
944
|
-
set BindingInfo(value: BindingInfo |
|
|
945
|
-
get CacheToken():
|
|
946
|
-
set CacheToken(value:
|
|
811
|
+
get BindingInfo(): BindingInfo | null;
|
|
812
|
+
set BindingInfo(value: BindingInfo | null);
|
|
813
|
+
get CacheToken(): JsValue | null;
|
|
814
|
+
set CacheToken(value: JsValue | null);
|
|
947
815
|
Metadata: ModelMetadata;
|
|
948
816
|
}
|
|
949
817
|
|
|
@@ -977,26 +845,26 @@ export interface ModelBindingContext$instance {
|
|
|
977
845
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelBindingContext: never;
|
|
978
846
|
|
|
979
847
|
ActionContext: ActionContext;
|
|
980
|
-
get BinderModelName(): string |
|
|
981
|
-
set BinderModelName(value: string |
|
|
982
|
-
get BindingSource(): BindingSource |
|
|
983
|
-
set BindingSource(value: BindingSource |
|
|
848
|
+
get BinderModelName(): string | null;
|
|
849
|
+
set BinderModelName(value: string | null);
|
|
850
|
+
get BindingSource(): BindingSource | null;
|
|
851
|
+
set BindingSource(value: BindingSource | null);
|
|
984
852
|
FieldName: string;
|
|
985
853
|
readonly HttpContext: HttpContext;
|
|
986
854
|
IsTopLevelObject: boolean;
|
|
987
|
-
get Model():
|
|
988
|
-
set Model(value:
|
|
855
|
+
get Model(): JsValue | null;
|
|
856
|
+
set Model(value: JsValue | null);
|
|
989
857
|
ModelMetadata: ModelMetadata;
|
|
990
858
|
ModelName: string;
|
|
991
859
|
ModelState: ModelStateDictionary;
|
|
992
860
|
readonly ModelType: Type;
|
|
993
861
|
OriginalModelName: string;
|
|
994
|
-
get PropertyFilter(): Func_2<ModelMetadata, System_Internal.Boolean> |
|
|
995
|
-
set PropertyFilter(value: Func_2<ModelMetadata, System_Internal.Boolean> |
|
|
862
|
+
get PropertyFilter(): Func_2<ModelMetadata, System_Internal.Boolean> | null;
|
|
863
|
+
set PropertyFilter(value: Func_2<ModelMetadata, System_Internal.Boolean> | null);
|
|
996
864
|
Result: ModelBindingResult;
|
|
997
865
|
ValidationState: ValidationStateDictionary;
|
|
998
866
|
ValueProvider: IValueProvider;
|
|
999
|
-
EnterNestedScope(modelMetadata: ModelMetadata, fieldName: string, modelName: string, model:
|
|
867
|
+
EnterNestedScope(modelMetadata: ModelMetadata, fieldName: string, modelName: string, model: JsValue | null): ModelBindingContext_NestedScope;
|
|
1000
868
|
EnterNestedScope(): ModelBindingContext_NestedScope;
|
|
1001
869
|
ExitNestedScope(): void;
|
|
1002
870
|
}
|
|
@@ -1008,18 +876,34 @@ export const ModelBindingContext: (abstract new() => ModelBindingContext) & {
|
|
|
1008
876
|
|
|
1009
877
|
export type ModelBindingContext = ModelBindingContext$instance;
|
|
1010
878
|
|
|
879
|
+
export interface ModelBindingContext_NestedScope$instance {
|
|
880
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelBindingContext_NestedScope: never;
|
|
881
|
+
|
|
882
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
883
|
+
|
|
884
|
+
Dispose(): void;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
export const ModelBindingContext_NestedScope: {
|
|
889
|
+
new(context: ModelBindingContext): ModelBindingContext_NestedScope;
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
export type ModelBindingContext_NestedScope = ModelBindingContext_NestedScope$instance;
|
|
894
|
+
|
|
1011
895
|
export interface ModelError$instance {
|
|
1012
896
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelError: never;
|
|
1013
897
|
|
|
1014
898
|
readonly ErrorMessage: string;
|
|
1015
|
-
readonly Exception: Exception |
|
|
899
|
+
readonly Exception: Exception | null;
|
|
1016
900
|
}
|
|
1017
901
|
|
|
1018
902
|
|
|
1019
903
|
export const ModelError: {
|
|
1020
904
|
new(exception: Exception): ModelError;
|
|
1021
|
-
new(exception: Exception, errorMessage: string): ModelError;
|
|
1022
|
-
new(errorMessage: string): ModelError;
|
|
905
|
+
new(exception: Exception, errorMessage: string | null): ModelError;
|
|
906
|
+
new(errorMessage: string | null): ModelError;
|
|
1023
907
|
};
|
|
1024
908
|
|
|
1025
909
|
|
|
@@ -1055,26 +939,26 @@ export interface ModelMetadata$instance extends IModelMetadataProvider$instance,
|
|
|
1055
939
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IModelMetadataProvider: never;
|
|
1056
940
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
1057
941
|
|
|
1058
|
-
readonly AdditionalValues: IReadOnlyDictionary_2<
|
|
1059
|
-
readonly BinderModelName: string |
|
|
1060
|
-
readonly BinderType: Type |
|
|
1061
|
-
readonly BindingSource: BindingSource |
|
|
1062
|
-
readonly BoundConstructor: ModelMetadata |
|
|
1063
|
-
readonly BoundConstructorInvoker: Func_2<(
|
|
1064
|
-
readonly BoundConstructorParameters: IReadOnlyList_1<ModelMetadata> |
|
|
1065
|
-
readonly ContainerMetadata: ModelMetadata |
|
|
1066
|
-
readonly ContainerType: Type |
|
|
942
|
+
readonly AdditionalValues: IReadOnlyDictionary_2<JsValue, JsValue>;
|
|
943
|
+
readonly BinderModelName: string | null;
|
|
944
|
+
readonly BinderType: Type | null;
|
|
945
|
+
readonly BindingSource: BindingSource | null;
|
|
946
|
+
readonly BoundConstructor: ModelMetadata | null;
|
|
947
|
+
readonly BoundConstructorInvoker: Func_2<(JsValue | null)[], JsValue> | null;
|
|
948
|
+
readonly BoundConstructorParameters: IReadOnlyList_1<ModelMetadata> | null;
|
|
949
|
+
readonly ContainerMetadata: ModelMetadata | null;
|
|
950
|
+
readonly ContainerType: Type | null;
|
|
1067
951
|
readonly ConvertEmptyStringToNull: boolean;
|
|
1068
|
-
readonly DataTypeName: string |
|
|
1069
|
-
readonly Description: string |
|
|
1070
|
-
readonly DisplayFormatString: string |
|
|
1071
|
-
readonly DisplayName: string |
|
|
1072
|
-
readonly EditFormatString: string |
|
|
1073
|
-
readonly ElementMetadata: ModelMetadata |
|
|
1074
|
-
get ElementType(): Type |
|
|
1075
|
-
set ElementType(value: Type |
|
|
1076
|
-
readonly EnumGroupedDisplayNamesAndValues: IEnumerable_1<KeyValuePair_2<EnumGroupAndName, System_Internal.String>> |
|
|
1077
|
-
readonly EnumNamesAndValues: IReadOnlyDictionary_2<System_Internal.String, System_Internal.String> |
|
|
952
|
+
readonly DataTypeName: string | null;
|
|
953
|
+
readonly Description: string | null;
|
|
954
|
+
readonly DisplayFormatString: string | null;
|
|
955
|
+
readonly DisplayName: string | null;
|
|
956
|
+
readonly EditFormatString: string | null;
|
|
957
|
+
readonly ElementMetadata: ModelMetadata | null;
|
|
958
|
+
get ElementType(): Type | null;
|
|
959
|
+
set ElementType(value: Type | null);
|
|
960
|
+
readonly EnumGroupedDisplayNamesAndValues: IEnumerable_1<KeyValuePair_2<EnumGroupAndName, System_Internal.String>> | null;
|
|
961
|
+
readonly EnumNamesAndValues: IReadOnlyDictionary_2<System_Internal.String, System_Internal.String> | null;
|
|
1078
962
|
readonly HasNonDefaultEditFormat: boolean;
|
|
1079
963
|
readonly HasValidators: Nullable_1<System_Internal.Boolean>;
|
|
1080
964
|
readonly HideSurroundingHtml: boolean;
|
|
@@ -1093,26 +977,26 @@ export interface ModelMetadata$instance extends IModelMetadataProvider$instance,
|
|
|
1093
977
|
readonly MetadataKind: ModelMetadataKind;
|
|
1094
978
|
readonly ModelBindingMessageProvider: ModelBindingMessageProvider;
|
|
1095
979
|
readonly ModelType: Type;
|
|
1096
|
-
readonly Name: string |
|
|
1097
|
-
readonly NullDisplayText: string |
|
|
980
|
+
readonly Name: string | null;
|
|
981
|
+
readonly NullDisplayText: string | null;
|
|
1098
982
|
readonly Order: int;
|
|
1099
|
-
readonly ParameterName: string |
|
|
1100
|
-
readonly Placeholder: string |
|
|
983
|
+
readonly ParameterName: string | null;
|
|
984
|
+
readonly Placeholder: string | null;
|
|
1101
985
|
readonly Properties: ModelPropertyCollection;
|
|
1102
|
-
readonly PropertyFilterProvider: IPropertyFilterProvider |
|
|
1103
|
-
readonly PropertyGetter: Func_2<
|
|
1104
|
-
readonly PropertyName: string |
|
|
1105
|
-
readonly PropertySetter: Action_2<
|
|
1106
|
-
readonly PropertyValidationFilter: IPropertyValidationFilter |
|
|
986
|
+
readonly PropertyFilterProvider: IPropertyFilterProvider | null;
|
|
987
|
+
readonly PropertyGetter: Func_2<JsValue, JsValue | null> | null;
|
|
988
|
+
readonly PropertyName: string | null;
|
|
989
|
+
readonly PropertySetter: Action_2<JsValue, JsValue | null> | null;
|
|
990
|
+
readonly PropertyValidationFilter: IPropertyValidationFilter | null;
|
|
1107
991
|
readonly ShowForDisplay: boolean;
|
|
1108
992
|
readonly ShowForEdit: boolean;
|
|
1109
|
-
readonly SimpleDisplayProperty: string |
|
|
1110
|
-
readonly TemplateHint: string |
|
|
993
|
+
readonly SimpleDisplayProperty: string | null;
|
|
994
|
+
readonly TemplateHint: string | null;
|
|
1111
995
|
UnderlyingOrModelType: Type;
|
|
1112
996
|
readonly ValidateChildren: boolean;
|
|
1113
|
-
readonly ValidatorMetadata: IReadOnlyList_1<
|
|
1114
|
-
Equals(other: ModelMetadata): boolean;
|
|
1115
|
-
Equals(obj:
|
|
997
|
+
readonly ValidatorMetadata: IReadOnlyList_1<JsValue>;
|
|
998
|
+
Equals(other: ModelMetadata | null): boolean;
|
|
999
|
+
Equals(obj: JsValue | null): boolean;
|
|
1116
1000
|
GetDisplayName(): string;
|
|
1117
1001
|
GetHashCode(): int;
|
|
1118
1002
|
GetMetadataForProperties(modelType: Type): IEnumerable_1<ModelMetadata>;
|
|
@@ -1177,7 +1061,7 @@ export const ModelPropertyCollection: {
|
|
|
1177
1061
|
};
|
|
1178
1062
|
|
|
1179
1063
|
|
|
1180
|
-
export type ModelPropertyCollection = ModelPropertyCollection$instance & { readonly [propertyName: string]: ModelMetadata |
|
|
1064
|
+
export type ModelPropertyCollection = ModelPropertyCollection$instance & { readonly [propertyName: string]: ModelMetadata | null; };
|
|
1181
1065
|
|
|
1182
1066
|
export interface ModelStateDictionary$instance {
|
|
1183
1067
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary: never;
|
|
@@ -1209,12 +1093,12 @@ export interface ModelStateDictionary$instance {
|
|
|
1209
1093
|
MarkFieldValid(key: string): void;
|
|
1210
1094
|
Merge(dictionary: ModelStateDictionary): void;
|
|
1211
1095
|
Remove(key: string): boolean;
|
|
1212
|
-
SetModelValue(key: string, rawValue:
|
|
1096
|
+
SetModelValue(key: string, rawValue: JsValue | null, attemptedValue: string | null): void;
|
|
1213
1097
|
SetModelValue(key: string, valueProviderResult: ValueProviderResult): void;
|
|
1214
1098
|
TryAddModelError(key: string, exception: Exception, metadata: ModelMetadata): boolean;
|
|
1215
1099
|
TryAddModelError(key: string, errorMessage: string): boolean;
|
|
1216
1100
|
TryAddModelException(key: string, exception: Exception): boolean;
|
|
1217
|
-
TryGetValue(key: string, value: ModelStateEntry): boolean;
|
|
1101
|
+
TryGetValue(key: string, value: ModelStateEntry | null): boolean;
|
|
1218
1102
|
}
|
|
1219
1103
|
|
|
1220
1104
|
|
|
@@ -1227,20 +1111,134 @@ export const ModelStateDictionary: {
|
|
|
1227
1111
|
};
|
|
1228
1112
|
|
|
1229
1113
|
|
|
1230
|
-
export type ModelStateDictionary = ModelStateDictionary$instance & { readonly [key: string]: ModelStateEntry |
|
|
1114
|
+
export type ModelStateDictionary = ModelStateDictionary$instance & { readonly [key: string]: ModelStateEntry | null; };
|
|
1115
|
+
|
|
1116
|
+
export interface ModelStateDictionary_Enumerator$instance {
|
|
1117
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_Enumerator: never;
|
|
1118
|
+
|
|
1119
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
1120
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
1121
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1122
|
+
|
|
1123
|
+
readonly Current: KeyValuePair_2<System_Internal.String, ModelStateEntry>;
|
|
1124
|
+
Dispose(): void;
|
|
1125
|
+
MoveNext(): boolean;
|
|
1126
|
+
Reset(): void;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
|
|
1130
|
+
export const ModelStateDictionary_Enumerator: {
|
|
1131
|
+
new(dictionary: ModelStateDictionary, prefix: string): ModelStateDictionary_Enumerator;
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
export type ModelStateDictionary_Enumerator = ModelStateDictionary_Enumerator$instance;
|
|
1136
|
+
|
|
1137
|
+
export interface ModelStateDictionary_KeyEnumerable$instance {
|
|
1138
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_KeyEnumerable: never;
|
|
1139
|
+
|
|
1140
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
1141
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1142
|
+
|
|
1143
|
+
GetEnumerator(): ModelStateDictionary_KeyEnumerator;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
export const ModelStateDictionary_KeyEnumerable: {
|
|
1148
|
+
new(dictionary: ModelStateDictionary): ModelStateDictionary_KeyEnumerable;
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
export type ModelStateDictionary_KeyEnumerable = ModelStateDictionary_KeyEnumerable$instance;
|
|
1153
|
+
|
|
1154
|
+
export interface ModelStateDictionary_KeyEnumerator$instance {
|
|
1155
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_KeyEnumerator: never;
|
|
1156
|
+
|
|
1157
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
1158
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
1159
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1160
|
+
|
|
1161
|
+
Current: string;
|
|
1162
|
+
Dispose(): void;
|
|
1163
|
+
MoveNext(): boolean;
|
|
1164
|
+
Reset(): void;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
export const ModelStateDictionary_KeyEnumerator: {
|
|
1169
|
+
new(dictionary: ModelStateDictionary, prefix: string): ModelStateDictionary_KeyEnumerator;
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
export type ModelStateDictionary_KeyEnumerator = ModelStateDictionary_KeyEnumerator$instance;
|
|
1174
|
+
|
|
1175
|
+
export interface ModelStateDictionary_PrefixEnumerable$instance {
|
|
1176
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_PrefixEnumerable: never;
|
|
1177
|
+
|
|
1178
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
1179
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1180
|
+
|
|
1181
|
+
GetEnumerator(): ModelStateDictionary_Enumerator;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
export const ModelStateDictionary_PrefixEnumerable: {
|
|
1186
|
+
new(dictionary: ModelStateDictionary, prefix: string): ModelStateDictionary_PrefixEnumerable;
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
export type ModelStateDictionary_PrefixEnumerable = ModelStateDictionary_PrefixEnumerable$instance;
|
|
1191
|
+
|
|
1192
|
+
export interface ModelStateDictionary_ValueEnumerable$instance {
|
|
1193
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_ValueEnumerable: never;
|
|
1194
|
+
|
|
1195
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
1196
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1197
|
+
|
|
1198
|
+
GetEnumerator(): ModelStateDictionary_ValueEnumerator;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
export const ModelStateDictionary_ValueEnumerable: {
|
|
1203
|
+
new(dictionary: ModelStateDictionary): ModelStateDictionary_ValueEnumerable;
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
export type ModelStateDictionary_ValueEnumerable = ModelStateDictionary_ValueEnumerable$instance;
|
|
1208
|
+
|
|
1209
|
+
export interface ModelStateDictionary_ValueEnumerator$instance {
|
|
1210
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateDictionary_ValueEnumerator: never;
|
|
1211
|
+
|
|
1212
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
1213
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
1214
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1215
|
+
|
|
1216
|
+
Current: ModelStateEntry;
|
|
1217
|
+
Dispose(): void;
|
|
1218
|
+
MoveNext(): boolean;
|
|
1219
|
+
Reset(): void;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
export const ModelStateDictionary_ValueEnumerator: {
|
|
1224
|
+
new(dictionary: ModelStateDictionary, prefix: string): ModelStateDictionary_ValueEnumerator;
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
export type ModelStateDictionary_ValueEnumerator = ModelStateDictionary_ValueEnumerator$instance;
|
|
1231
1229
|
|
|
1232
1230
|
export interface ModelStateEntry$instance {
|
|
1233
1231
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ModelStateEntry: never;
|
|
1234
1232
|
|
|
1235
|
-
get AttemptedValue(): string |
|
|
1236
|
-
set AttemptedValue(value: string |
|
|
1237
|
-
readonly Children: IReadOnlyList_1<ModelStateEntry> |
|
|
1233
|
+
get AttemptedValue(): string | null;
|
|
1234
|
+
set AttemptedValue(value: string | null);
|
|
1235
|
+
readonly Children: IReadOnlyList_1<ModelStateEntry> | null;
|
|
1238
1236
|
readonly Errors: ModelErrorCollection;
|
|
1239
1237
|
readonly IsContainerNode: boolean;
|
|
1240
|
-
get RawValue():
|
|
1241
|
-
set RawValue(value:
|
|
1238
|
+
get RawValue(): JsValue | null;
|
|
1239
|
+
set RawValue(value: JsValue | null);
|
|
1242
1240
|
ValidationState: ModelValidationState;
|
|
1243
|
-
GetModelStateForProperty(propertyName: string): ModelStateEntry |
|
|
1241
|
+
GetModelStateForProperty(propertyName: string): ModelStateEntry | null;
|
|
1244
1242
|
}
|
|
1245
1243
|
|
|
1246
1244
|
|
|
@@ -1255,10 +1253,10 @@ export interface ObjectModelValidator$instance {
|
|
|
1255
1253
|
|
|
1256
1254
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Validation_IObjectModelValidator: never;
|
|
1257
1255
|
|
|
1258
|
-
GetValidationVisitor(actionContext: ActionContext, validatorProvider: IModelValidatorProvider, validatorCache: ValidatorCache, metadataProvider: IModelMetadataProvider, validationState: ValidationStateDictionary): ValidationVisitor;
|
|
1259
|
-
Validate(actionContext: ActionContext, validationState: ValidationStateDictionary, prefix: string, model:
|
|
1260
|
-
Validate(actionContext: ActionContext, validationState: ValidationStateDictionary, prefix: string, model:
|
|
1261
|
-
Validate(actionContext: ActionContext, validationState: ValidationStateDictionary, prefix: string, model:
|
|
1256
|
+
GetValidationVisitor(actionContext: ActionContext, validatorProvider: IModelValidatorProvider, validatorCache: ValidatorCache, metadataProvider: IModelMetadataProvider, validationState: ValidationStateDictionary | null): ValidationVisitor;
|
|
1257
|
+
Validate(actionContext: ActionContext, validationState: ValidationStateDictionary | null, prefix: string | null, model: JsValue | null): void;
|
|
1258
|
+
Validate(actionContext: ActionContext, validationState: ValidationStateDictionary | null, prefix: string | null, model: JsValue | null, metadata: ModelMetadata): void;
|
|
1259
|
+
Validate(actionContext: ActionContext, validationState: ValidationStateDictionary | null, prefix: string | null, model: JsValue | null, metadata: ModelMetadata, container: JsValue | null): void;
|
|
1262
1260
|
}
|
|
1263
1261
|
|
|
1264
1262
|
|
|
@@ -1276,8 +1274,8 @@ export type ObjectModelValidator = ObjectModelValidator$instance & __ObjectModel
|
|
|
1276
1274
|
export interface ParameterBinder$instance {
|
|
1277
1275
|
readonly __tsonic_type_Microsoft_AspNetCore_Mvc_ModelBinding_ParameterBinder: never;
|
|
1278
1276
|
|
|
1279
|
-
BindModelAsync(actionContext: ActionContext, modelBinder: IModelBinder, valueProvider: IValueProvider, parameter: ParameterDescriptor, metadata: ModelMetadata, value:
|
|
1280
|
-
BindModelAsync(actionContext: ActionContext, modelBinder: IModelBinder, valueProvider: IValueProvider, parameter: ParameterDescriptor, metadata: ModelMetadata, value:
|
|
1277
|
+
BindModelAsync(actionContext: ActionContext, modelBinder: IModelBinder, valueProvider: IValueProvider, parameter: ParameterDescriptor, metadata: ModelMetadata, value: JsValue | null): Task_1<ModelBindingResult>;
|
|
1278
|
+
BindModelAsync(actionContext: ActionContext, modelBinder: IModelBinder, valueProvider: IValueProvider, parameter: ParameterDescriptor, metadata: ModelMetadata, value: JsValue | null, container: JsValue | null): ValueTask_1<ModelBindingResult>;
|
|
1281
1279
|
}
|
|
1282
1280
|
|
|
1283
1281
|
|
|
@@ -1310,7 +1308,7 @@ export interface QueryStringValueProvider$instance extends BindingSourceValuePro
|
|
|
1310
1308
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IEnumerableValueProvider: never;
|
|
1311
1309
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_IValueProvider: never;
|
|
1312
1310
|
|
|
1313
|
-
readonly Culture: CultureInfo |
|
|
1311
|
+
readonly Culture: CultureInfo | null;
|
|
1314
1312
|
ContainsPrefix(prefix: string): boolean;
|
|
1315
1313
|
GetKeysFromPrefix(prefix: string): IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
1316
1314
|
GetValue(key: string): ValueProviderResult;
|
|
@@ -1318,7 +1316,7 @@ export interface QueryStringValueProvider$instance extends BindingSourceValuePro
|
|
|
1318
1316
|
|
|
1319
1317
|
|
|
1320
1318
|
export const QueryStringValueProvider: {
|
|
1321
|
-
new(bindingSource: BindingSource, values: IQueryCollection, culture: CultureInfo): QueryStringValueProvider;
|
|
1319
|
+
new(bindingSource: BindingSource, values: IQueryCollection, culture: CultureInfo | null): QueryStringValueProvider;
|
|
1322
1320
|
};
|
|
1323
1321
|
|
|
1324
1322
|
|
|
@@ -1404,8 +1402,8 @@ export interface SuppressChildValidationMetadataProvider$instance extends IMetad
|
|
|
1404
1402
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Metadata_IMetadataDetailsProvider: never;
|
|
1405
1403
|
readonly __tsonic_iface_Microsoft_AspNetCore_Mvc_ModelBinding_Metadata_IValidationMetadataProvider: never;
|
|
1406
1404
|
|
|
1407
|
-
readonly FullTypeName: string |
|
|
1408
|
-
readonly Type: Type |
|
|
1405
|
+
readonly FullTypeName: string | null;
|
|
1406
|
+
readonly Type: Type | null;
|
|
1409
1407
|
CreateValidationMetadata(context: ValidationMetadataProviderContext): void;
|
|
1410
1408
|
}
|
|
1411
1409
|
|
|
@@ -1447,7 +1445,7 @@ export interface UnsupportedContentTypeException$instance extends Exception {
|
|
|
1447
1445
|
|
|
1448
1446
|
|
|
1449
1447
|
export const UnsupportedContentTypeException: {
|
|
1450
|
-
new(message: string): UnsupportedContentTypeException;
|
|
1448
|
+
new(message: string | null): UnsupportedContentTypeException;
|
|
1451
1449
|
};
|
|
1452
1450
|
|
|
1453
1451
|
|
|
@@ -1528,18 +1526,18 @@ export type ModelMetadataProviderExtensions = ModelMetadataProviderExtensions$in
|
|
|
1528
1526
|
export abstract class ModelNames$instance {
|
|
1529
1527
|
static CreateIndexModelName(parentName: string, index: int): string;
|
|
1530
1528
|
static CreateIndexModelName(parentName: string, index: string): string;
|
|
1531
|
-
static CreatePropertyModelName(prefix: string, propertyName: string): string;
|
|
1529
|
+
static CreatePropertyModelName(prefix: string | null, propertyName: string | null): string;
|
|
1532
1530
|
}
|
|
1533
1531
|
|
|
1534
1532
|
|
|
1535
1533
|
export type ModelNames = ModelNames$instance;
|
|
1536
1534
|
|
|
1537
1535
|
export abstract class ModelStateDictionaryExtensions$instance {
|
|
1538
|
-
static AddModelError<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel,
|
|
1539
|
-
static AddModelError<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel,
|
|
1540
|
-
static Remove<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel,
|
|
1541
|
-
static RemoveAll<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel,
|
|
1542
|
-
static TryAddModelException<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel,
|
|
1536
|
+
static AddModelError<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel, JsValue>>, exception: Exception, metadata: ModelMetadata): void;
|
|
1537
|
+
static AddModelError<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel, JsValue>>, errorMessage: string): void;
|
|
1538
|
+
static Remove<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel, JsValue>>): boolean;
|
|
1539
|
+
static RemoveAll<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel, JsValue>>): void;
|
|
1540
|
+
static TryAddModelException<TModel>(modelState: ModelStateDictionary, expression: Expression_1<Func_2<TModel, JsValue>>, exception: Exception): void;
|
|
1543
1541
|
}
|
|
1544
1542
|
|
|
1545
1543
|
|