1 type derived from FormDataConverter
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\FormDataConverterOfT.cs (1)
8
internal abstract class FormDataConverter<T> :
FormDataConverter
32 references to FormDataConverter
Microsoft.AspNetCore.Components.Endpoints (32)
FormMapping\Factories\CollectionConverterFactory.cs (1)
47
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
FormMapping\Factories\Collections\ConcreteTypeCollectionConverterFactory.cs (3)
20
public
FormDataConverter
CreateConverter(Type _, FormDataMapperOptions options)
39
public abstract
FormDataConverter
CreateConverter(FormDataConverter<TElement> elementConverter);
45
public override
FormDataConverter
CreateConverter(FormDataConverter<TElement> elementConverter)
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (3)
19
public abstract
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options);
111
public override
FormDataConverter
CreateConverter(Type _, FormDataMapperOptions options)
210
static
FormDataConverter
CreateConverter<TInterface, TImplementation>(FormDataConverter<TElement> elementTypeConverter)
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactory.cs (1)
12
internal abstract
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options);
FormMapping\Factories\ComplexTypeConverterFactory.cs (1)
99
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (3)
19
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
41
public abstract
FormDataConverter
CreateConverter(FormDataConverter<TKey> keyConverter, FormDataConverter<TValue> valueConverter);
47
public override
FormDataConverter
CreateConverter(FormDataConverter<TKey> keyConverter, FormDataConverter<TValue> valueConverter)
FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (1)
71
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
FormMapping\Factories\DictionaryConverterFactory.cs (3)
25
var
converter = options.ResolveConverter(valueType);
73
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
104
var
converter = options.ResolveConverter(valueType);
FormMapping\Factories\EnumConverterFactory.cs (2)
16
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
23
return (
FormDataConverter
)Activator.CreateInstance(typeof(EnumConverter<>).MakeGenericType(type))!;
FormMapping\Factories\FileConverterFactory.cs (2)
26
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
28
return Activator.CreateInstance(typeof(FileConverter<>).MakeGenericType(type)) as
FormDataConverter
??
FormMapping\Factories\NullableConverterFactory.cs (3)
23
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
28
var
underlyingConverter = options.ResolveConverter(underlyingType);
34
return Activator.CreateInstance(expectedConverterType, underlyingConverter) as
FormDataConverter
??
FormMapping\Factories\ParsableConverterFactory.cs (2)
22
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
24
return Activator.CreateInstance(typeof(ParsableConverter<>).MakeGenericType(type)) as
FormDataConverter
??
FormMapping\FormDataMapperOptions.cs (3)
14
private readonly ConcurrentDictionary<Type,
FormDataConverter
> _converters = new();
60
private static
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options)
75
internal
FormDataConverter
ResolveConverter(Type type)
FormMapping\IFormDataConverterFactory.cs (1)
16
public
FormDataConverter
CreateConverter(Type type, FormDataMapperOptions options);
FormMapping\Metadata\FormDataMetadataFactory.cs (1)
96
if (WellKnownConverters.Converters.TryGetValue(type, out
var
converter))
FormMapping\WellKnownConverters.cs (2)
13
public static readonly IReadOnlyDictionary<Type,
FormDataConverter
> Converters;
19
var converters = new Dictionary<Type,
FormDataConverter
>