Class ParsableConverter
Converts text through IParsable<TSelf> or a static Parse method.
public class ParsableConverter : ITypeConverter
- Inheritance
-
ParsableConverter
- Implements
- Inherited Members
- Extension Methods
Constructors
ParsableConverter(Type)
Converts text through IParsable<TSelf> or a static Parse method.
public ParsableConverter(Type targetType)
Parameters
targetTypeType
Properties
OutputType
The type produced by the conversion.
public Type OutputType { get; }
Property Value
Methods
EmitConversion(Generator, Type)
Converts the current value to OutputType.
public void EmitConversion(Generator generator, Type sourceType)