7 instantiations of SupplyParameterFromFormAttribute
BlazorUnitedApp (1)
artifacts\obj\BlazorUnitedApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Index_razor.g.cs (1)
298
[
SupplyParameterFromForm
] Customer? Value { get; set; }
IdentitySample.PasskeyUI (3)
artifacts\obj\IdentitySample.PasskeyUI\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Components_Pages_Home_razor.g.cs (3)
157
[
SupplyParameterFromForm
(Name = "username")]
160
[
SupplyParameterFromForm
(Name = "credential")]
163
[
SupplyParameterFromForm
(Name = "action")]
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\Mapping\SupplyParameterFromFormTest.cs (2)
73
[
SupplyParameterFromForm
] public string FormParameter { get; set; }
78
[
SupplyParameterFromForm
(FormName = "handler-name")] public string FormParameter { get; set; }
MyFrontend (1)
Components_AddToCart_razor.g.cs (1)
202
[
SupplyParameterFromForm
]
6 references to SupplyParameterFromFormAttribute
Microsoft.AspNetCore.Components.Web (6)
Forms\Mapping\SupplyParameterFromFormServiceCollectionExtensions.cs (2)
10
/// Extension methods for configuring <see cref="
SupplyParameterFromFormAttribute
"/> within an <see cref="IServiceCollection"/>.
15
/// Adds support for <see cref="
SupplyParameterFromFormAttribute
"/> within the <see cref="IServiceCollection"/>.
Forms\Mapping\SupplyParameterFromFormValueProvider.cs (4)
41
if (_formValueMapper is not null && parameterInfo.Attribute is
SupplyParameterFromFormAttribute
supplyParameterFromFormAttribute)
58
if (_formValueMapper is { } valueMapper && parameterInfo.Attribute is
SupplyParameterFromFormAttribute
)
76
var
attribute = (
SupplyParameterFromFormAttribute
)parameterInfo.Attribute; // Must be a valid cast because we check in CanSupplyValue