1 instantiation of FormDataMapperOptions
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\RazorComponentsServiceOptions.cs (1)
16
internal FormDataMapperOptions _formMappingOptions =
new
();
51 references to FormDataMapperOptions
Microsoft.AspNetCore.Components.Endpoints (51)
DependencyInjection\RazorComponentsServiceOptions.cs (1)
16
internal
FormDataMapperOptions
_formMappingOptions = new();
FormMapping\Converters\CollectionConverter.cs (1)
56
FormDataMapperOptions
options,
FormMapping\Converters\CompiledComplexTypeConverter.cs (2)
10
public delegate bool ConverterDelegate(ref FormDataReader reader, Type type,
FormDataMapperOptions
options, out T? result, out bool found);
14
internal override bool TryRead(ref FormDataReader context, Type type,
FormDataMapperOptions
options, out T? result, out bool found)
FormMapping\Converters\DictionaryConverter.cs (1)
32
FormDataMapperOptions
options,
FormMapping\Converters\EnumConverter.cs (1)
30
internal override bool TryRead(ref FormDataReader reader, Type type,
FormDataMapperOptions
options, out TEnum result, out bool found)
FormMapping\Converters\FileConverter.cs (1)
16
internal override bool TryRead(ref FormDataReader reader, Type type,
FormDataMapperOptions
options, out T? result, out bool found)
FormMapping\Converters\NullableConverter.cs (1)
33
internal override bool TryRead(ref FormDataReader context, Type type,
FormDataMapperOptions
options, out T? result, out bool found)
FormMapping\Converters\ParsableConverter.cs (1)
30
internal override bool TryRead(ref FormDataReader reader, Type type,
FormDataMapperOptions
options, out T? result, out bool found)
FormMapping\Converters\UriFormDataConverter.cs (1)
32
internal override bool TryRead(ref FormDataReader context, Type type,
FormDataMapperOptions
options, out Uri? result, out bool found)
FormMapping\Factories\CollectionConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options)
47
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\Factories\Collections\ConcreteTypeCollectionConverterFactory.cs (2)
16
public bool CanConvert(Type _,
FormDataMapperOptions
options) => true;
20
public FormDataConverter CreateConverter(Type _,
FormDataMapperOptions
options)
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (4)
15
public abstract bool CanConvert(Type type,
FormDataMapperOptions
options);
19
public abstract FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options);
26
public override bool CanConvert(Type _,
FormDataMapperOptions
options)
111
public override FormDataConverter CreateConverter(Type _,
FormDataMapperOptions
options)
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactory.cs (1)
12
internal abstract FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options);
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (5)
16
internal override CompiledComplexTypeConverter<T> CreateConverter(Type type,
FormDataMapperOptions
options)
24
private CompiledComplexTypeConverter<T>.ConverterDelegate CreateConverterBody(Type type,
FormDataMapperOptions
options)
359
nameof(
FormDataMapperOptions
.ResolveConverter),
459
nameof(
FormDataMapperOptions
.ResolveConverter),
576
Expression.Parameter(typeof(
FormDataMapperOptions
), "options"),
FormMapping\Factories\ComplexTypeConverterFactory.cs (3)
12
internal class ComplexTypeConverterFactory(
FormDataMapperOptions
options, ILoggerFactory loggerFactory) : IFormDataConverterFactory
18
public bool CanConvert(Type type,
FormDataMapperOptions
options)
99
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options) => true;
19
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (2)
16
public bool CanConvert(Type type,
FormDataMapperOptions
options)
71
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\Factories\DictionaryConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options)
73
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\Factories\EnumConverterFactory.cs (2)
12
public bool CanConvert(Type type,
FormDataMapperOptions
options) => type.IsEnum;
16
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\Factories\FileConverterFactory.cs (2)
17
public bool CanConvert(Type type,
FormDataMapperOptions
options) => CanConvertCommon(type) || type == typeof(IBrowserFile) || type == typeof(IReadOnlyList<IBrowserFile>);
26
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\Factories\NullableConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options)
23
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\Factories\ParsableConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options)
22
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\FormDataConverterOfT.cs (1)
12
internal abstract bool TryRead(ref FormDataReader context, Type type,
FormDataMapperOptions
options, out T? result, out bool found);
FormMapping\FormDataMapper.cs (1)
15
FormDataMapperOptions
options)
FormMapping\FormDataMapperOptions.cs (2)
35
Logger = loggerFactory.CreateLogger<
FormDataMapperOptions
>();
60
private static FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
FormMapping\HttpContextFormValueMapper.cs (3)
20
private readonly
FormDataMapperOptions
_options;
102
FormDataMapperOptions
options,
113
FormDataMapperOptions
options,
FormMapping\IFormDataConverterFactory.cs (2)
12
public bool CanConvert(Type type,
FormDataMapperOptions
options);
16
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options);
FormMapping\Metadata\FormDataMetadataFactory.cs (1)
26
public FormDataTypeMetadata? GetOrCreateMetadataFor(Type type,
FormDataMapperOptions
options)