Class BoxConverter
Boxes a value type into an object/interface reference.
public class BoxConverter : ITypeConverter
- Inheritance
-
BoxConverter
- Implements
- Inherited Members
- Extension Methods
Constructors
BoxConverter(Type)
Boxes a value type into an object/interface reference.
public BoxConverter(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)