Class ConstructorConverter
Calls a constructor that accepts the source type as its single argument.
public class ConstructorConverter : ITypeConverter
- Inheritance
-
ConstructorConverter
- Implements
- Inherited Members
- Extension Methods
Constructors
ConstructorConverter(ConstructorInfo)
Calls a constructor that accepts the source type as its single argument.
public ConstructorConverter(ConstructorInfo ctor)
Parameters
ctorConstructorInfo
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)