10 implementations of CanConvert
Microsoft.AspNetCore.Components.Endpoints (10)
FormMapping\Factories\CollectionConverterFactory.cs (1)
15public bool CanConvert(Type type, FormDataMapperOptions options)
FormMapping\Factories\Collections\ConcreteTypeCollectionConverterFactory.cs (1)
16public bool CanConvert(Type _, FormDataMapperOptions options) => true;
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (1)
15public abstract bool CanConvert(Type type, FormDataMapperOptions options);
FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (1)
15public bool CanConvert(Type type, FormDataMapperOptions options) => true;
FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (1)
16public bool CanConvert(Type type, FormDataMapperOptions options)
FormMapping\Factories\DictionaryConverterFactory.cs (1)
15public bool CanConvert(Type type, FormDataMapperOptions options)
FormMapping\Factories\EnumConverterFactory.cs (1)
12public bool CanConvert(Type type, FormDataMapperOptions options) => type.IsEnum;
FormMapping\Factories\FileConverterFactory.cs (1)
17public bool CanConvert(Type type, FormDataMapperOptions options) => CanConvertCommon(type) || type == typeof(IBrowserFile) || type == typeof(IReadOnlyList<IBrowserFile>);
FormMapping\Factories\NullableConverterFactory.cs (1)
15public bool CanConvert(Type type, FormDataMapperOptions options)
FormMapping\Factories\ParsableConverterFactory.cs (1)
15public bool CanConvert(Type type, FormDataMapperOptions options)
4 references to CanConvert
Microsoft.AspNetCore.Components.Endpoints (4)
FormMapping\Factories\CollectionConverterFactory.cs (1)
29return factory.CanConvert(type, options);
FormMapping\Factories\DictionaryConverterFactory.cs (1)
37return factory.CanConvert(type, options);
FormMapping\FormDataMapperOptions.cs (2)
64if (factory.CanConvert(type, options)) 99if (factory.CanConvert(type, this))