Class CastClassConverter
Casts a reference to the target class or interface.
public class CastClassConverter : ITypeConverter
- Inheritance
-
CastClassConverter
- Implements
- Inherited Members
- Extension Methods
Constructors
CastClassConverter(Type)
Casts a reference to the target class or interface.
public CastClassConverter(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)