1 instantiation of FormDataMapperOptions
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
279
var formDataMapperOptions = new
FormDataMapperOptions
();
50 references to FormDataMapperOptions
Microsoft.AspNetCore.Http.Extensions (50)
RequestDelegateFactory.cs (2)
279
var
formDataMapperOptions = new FormDataMapperOptions();
2198
var
formDataMapperOptions = factoryContext.FormDataMapperOptions;
RequestDelegateFactoryContext.cs (1)
67
public required
FormDataMapperOptions
FormDataMapperOptions { get; set; }
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\CollectionConverter.cs (1)
56
FormDataMapperOptions
options,
src\aspnetcore\src\Components\Endpoints\src\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)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\DictionaryConverter.cs (1)
32
FormDataMapperOptions
options,
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\EnumConverter.cs (1)
30
internal override bool TryRead(ref FormDataReader reader, Type type,
FormDataMapperOptions
options, out TEnum result, out bool found)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\FileConverter.cs (1)
16
internal override bool TryRead(ref FormDataReader reader, Type type,
FormDataMapperOptions
options, out T? result, out bool found)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\NullableConverter.cs (1)
42
internal override bool TryRead(ref FormDataReader reader, Type type,
FormDataMapperOptions
options, out T? result, out bool found)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\ParsableConverter.cs (1)
30
internal override bool TryRead(ref FormDataReader reader, Type type,
FormDataMapperOptions
options, out T? result, out bool found)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\UriFormDataConverter.cs (1)
32
internal override bool TryRead(ref FormDataReader context, Type type,
FormDataMapperOptions
options, out Uri? result, out bool found)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\CollectionConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options)
47
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Collections\ConcreteTypeCollectionConverterFactory.cs (2)
16
public bool CanConvert(Type _,
FormDataMapperOptions
options) => true;
20
public FormDataConverter CreateConverter(Type _,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\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)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactory.cs (1)
12
internal abstract FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options);
src\aspnetcore\src\Components\Endpoints\src\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"),
src\aspnetcore\src\Components\Endpoints\src\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)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options) => true;
19
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (2)
16
public bool CanConvert(Type type,
FormDataMapperOptions
options)
71
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\DictionaryConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options)
73
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\EnumConverterFactory.cs (2)
12
public bool CanConvert(Type type,
FormDataMapperOptions
options) => type.IsEnum;
16
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\FileConverterFactory.cs (2)
19
public bool CanConvert(Type type,
FormDataMapperOptions
options) => CanConvertCommon(type);
26
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\NullableConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options)
23
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\ParsableConverterFactory.cs (2)
15
public bool CanConvert(Type type,
FormDataMapperOptions
options)
22
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataConverterOfT.cs (1)
12
internal abstract bool TryRead(ref FormDataReader context, Type type,
FormDataMapperOptions
options, out T? result, out bool found);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataMapper.cs (1)
15
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataMapperOptions.cs (2)
35
Logger = loggerFactory.CreateLogger<
FormDataMapperOptions
>();
60
private static FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\IFormDataConverterFactory.cs (2)
12
public bool CanConvert(Type type,
FormDataMapperOptions
options);
16
public FormDataConverter CreateConverter(Type type,
FormDataMapperOptions
options);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Metadata\FormDataMetadataFactory.cs (1)
26
public FormDataTypeMetadata? GetOrCreateMetadataFor(Type type,
FormDataMapperOptions
options)