1 instantiation of FormDataMapperOptions
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
279var formDataMapperOptions = new FormDataMapperOptions();
50 references to FormDataMapperOptions
Microsoft.AspNetCore.Http.Extensions (50)
RequestDelegateFactory.cs (2)
279var formDataMapperOptions = new FormDataMapperOptions(); 2198var formDataMapperOptions = factoryContext.FormDataMapperOptions;
RequestDelegateFactoryContext.cs (1)
67public required FormDataMapperOptions FormDataMapperOptions { get; set; }
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\CollectionConverter.cs (1)
56FormDataMapperOptions options,
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\CompiledComplexTypeConverter.cs (2)
10public delegate bool ConverterDelegate(ref FormDataReader reader, Type type, FormDataMapperOptions options, out T? result, out bool found); 14internal 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)
32FormDataMapperOptions options,
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\EnumConverter.cs (1)
30internal 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)
16internal 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)
42internal 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)
30internal 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)
32internal 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)
15public bool CanConvert(Type type, FormDataMapperOptions options) 47public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Collections\ConcreteTypeCollectionConverterFactory.cs (2)
16public bool CanConvert(Type _, FormDataMapperOptions options) => true; 20public FormDataConverter CreateConverter(Type _, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (4)
15public abstract bool CanConvert(Type type, FormDataMapperOptions options); 19public abstract FormDataConverter CreateConverter(Type type, FormDataMapperOptions options); 26public override bool CanConvert(Type _, FormDataMapperOptions options) 111public override FormDataConverter CreateConverter(Type _, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactory.cs (1)
12internal abstract FormDataConverter CreateConverter(Type type, FormDataMapperOptions options);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (5)
16internal override CompiledComplexTypeConverter<T> CreateConverter(Type type, FormDataMapperOptions options) 24private CompiledComplexTypeConverter<T>.ConverterDelegate CreateConverterBody(Type type, FormDataMapperOptions options) 359nameof(FormDataMapperOptions.ResolveConverter), 459nameof(FormDataMapperOptions.ResolveConverter), 576Expression.Parameter(typeof(FormDataMapperOptions), "options"),
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\ComplexTypeConverterFactory.cs (3)
12internal class ComplexTypeConverterFactory(FormDataMapperOptions options, ILoggerFactory loggerFactory) : IFormDataConverterFactory 18public bool CanConvert(Type type, FormDataMapperOptions options) 99public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (2)
15public bool CanConvert(Type type, FormDataMapperOptions options) => true; 19public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (2)
16public bool CanConvert(Type type, FormDataMapperOptions options) 71public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\DictionaryConverterFactory.cs (2)
15public bool CanConvert(Type type, FormDataMapperOptions options) 73public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\EnumConverterFactory.cs (2)
12public bool CanConvert(Type type, FormDataMapperOptions options) => type.IsEnum; 16public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\FileConverterFactory.cs (2)
19public bool CanConvert(Type type, FormDataMapperOptions options) => CanConvertCommon(type); 26public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\NullableConverterFactory.cs (2)
15public bool CanConvert(Type type, FormDataMapperOptions options) 23public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\ParsableConverterFactory.cs (2)
15public bool CanConvert(Type type, FormDataMapperOptions options) 22public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataConverterOfT.cs (1)
12internal 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)
15FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataMapperOptions.cs (2)
35Logger = loggerFactory.CreateLogger<FormDataMapperOptions>(); 60private static FormDataConverter CreateConverter(Type type, FormDataMapperOptions options)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\IFormDataConverterFactory.cs (2)
12public bool CanConvert(Type type, FormDataMapperOptions options); 16public FormDataConverter CreateConverter(Type type, FormDataMapperOptions options);
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Metadata\FormDataMetadataFactory.cs (1)
26public FormDataTypeMetadata? GetOrCreateMetadataFor(Type type, FormDataMapperOptions options)