Class NullableConverter<T, TConverter>
A converter for a Nullable<T> that default-constructs a converter of type TConverter
to use as the underlying converter. Use this in the UseConverterAttribute.
Inheritance
NullableConverter<T, TConverter>
Implements
Inherited Members
Namespace: IPA.Config.Stores.Converters
Assembly: IPA.Loader.dll
Syntax
public sealed class NullableConverter<T, TConverter> : NullableConverter<T>, IValueConverter where T : struct where TConverter : ValueConverter<T>, new()
Type Parameters
Name | Description |
---|---|
T | the underlying type of the Nullable<T> |
TConverter | the type to use as an underlying converter |
Constructors
| Improve this Doc View SourceNullableConverter()
Creates a converter with a new TConverter
as the underlying converter.
Declaration
public NullableConverter()