Table of Contents

Class CastClassConverter

Namespace
Rinku.Mapping
Assembly
Rinku.dll

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

targetType Type

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