Class NullableConverter<T, TConverter>
A converter for a System.Nullable<T> that default-constructs a converter of type TConverter
to use as the underlying converter. Use this in the UseConverterAttribute.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 System.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()