4 implementations of IFormValueMapper
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\HttpContextFormValueMapper.cs (1)
17internal sealed class HttpContextFormValueMapper : IFormValueMapper
Microsoft.AspNetCore.Components.Web.Tests (3)
Forms\EditFormTest.cs (1)
274private class TestFormValueModelBinder : IFormValueMapper
Forms\Mapping\FormMappingScopeTest.cs (1)
147private class TestFormValueMapper : IFormValueMapper
HtmlRendering\HtmlRendererTest.cs (1)
1385class TestFormValueMapper : IFormValueMapper
12 references to IFormValueMapper
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\RazorComponentsServiceCollectionExtensions.cs (1)
81services.TryAddScoped<IFormValueMapper, HttpContextFormValueMapper>();
Microsoft.AspNetCore.Components.Web (5)
Forms\Mapping\FormMappingScope.cs (1)
29[Inject] internal IFormValueMapper? FormValueModelBinder { get; set; } // Nonnull only on platforms that support HTTP form posts
Forms\Mapping\SupplyParameterFromFormServiceCollectionExtensions.cs (1)
24services.GetRequiredService<IFormValueMapper>(),
Forms\Mapping\SupplyParameterFromFormValueProvider.cs (3)
15private readonly IFormValueMapper? _formValueMapper; 20public SupplyParameterFromFormValueProvider(IFormValueMapper? formValueMapper, string mappingScopeName) 72internal static object? GetFormPostValue(IFormValueMapper formValueMapper, FormMappingContext? mappingContext, in CascadingParameterInfo parameterInfo)
Microsoft.AspNetCore.Components.Web.Tests (6)
Forms\EditFormTest.cs (1)
20services.AddSingleton<IFormValueMapper, TestFormValueModelBinder>();
Forms\Mapping\FormMappingScopeTest.cs (1)
19serviceCollection.AddSingleton<IFormValueMapper, TestFormValueMapper>();
Forms\Mapping\SupplyParameterFromFormTest.cs (2)
65services.AddSingleton<IFormValueMapper>(valueBinder); 81class TestFormModelValueBinder(string IncomingScopeQualifiedFormName = "") : IFormValueMapper
HtmlRendering\HtmlRendererTest.cs (2)
1069.AddSingleton<IFormValueMapper>(formValueMapper)); 1097})).AddSingleton<IFormValueMapper, TestFormValueMapper>());