Table of Contents

Class ConstructorConverter

Namespace
Rinku.Mapping
Assembly
Rinku.dll

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

ctor ConstructorInfo

Properties

OutputType

The type produced by the conversion.

public Type OutputType { get; }

Property Value

Type

Methods

EmitConversion(Generator, Type)

Converts the current value to OutputType.

public void EmitConversion(Generator generator, Type sourceType)

Parameters

generator Generator
sourceType Type