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