Table of Contents

Class Caster<TFrom, TTo>

Namespace
Rinku.Mapping.Conversion
Assembly
Rinku.dll

Converts values from TFrom to TTo.

public static class Caster<TFrom, TTo>

Type Parameters

TFrom
TTo
Inheritance
Caster<TFrom, TTo>
Inherited Members

Methods

TryCast(TFrom, out TTo)

Converts value, returning false when no conversion fits.

public static bool TryCast(TFrom value, out TTo result)

Parameters

value TFrom
result TTo

Returns

bool