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