3 implementations of ISingleValueConverter
Microsoft.AspNetCore.Components.Endpoints (3)
FormMapping\Converters\EnumConverter.cs (1)
9
internal class EnumConverter<TEnum> : FormDataConverter<TEnum>,
ISingleValueConverter
<TEnum> where TEnum : struct, Enum
FormMapping\Converters\ParsableConverter.cs (1)
9
internal sealed class ParsableConverter<T> : FormDataConverter<T>,
ISingleValueConverter
<T> where T : IParsable<T>
FormMapping\Converters\UriFormDataConverter.cs (1)
9
internal class UriFormDataConverter : FormDataConverter<Uri>,
ISingleValueConverter
<Uri>
5 references to ISingleValueConverter
Microsoft.AspNetCore.Components.Endpoints (5)
FormMapping\Converters\CollectionConverter.cs (1)
222
if (_elementConverter is
ISingleValueConverter
<TElement> singleValueConverter &&
FormMapping\Converters\NullableConverter.cs (4)
8
internal sealed class NullableConverter<T>(FormDataConverter<T> nonNullableConverter) : FormDataConverter<T?>,
ISingleValueConverter
<T?> where T : struct
12
public bool CanConvertSingleValue() => _nonNullableConverter is
ISingleValueConverter
<T> singleValueConverter &&
17
var
converter = (
ISingleValueConverter
<T>)_nonNullableConverter;