C# Class YAMP.TypeExtensions

Mostra file Open project: FlorianRappl/YAMP

Public Methods

Method Description
Cast ( this to, Object instance ) : Object
IsCastableTo ( this from, Type to ) : bool
SupportsCastFrom ( this from, Object instance ) : System.Boolean

Method Details

Cast() public static method

public static Cast ( this to, Object instance ) : Object
to this
instance Object
return Object

IsCastableTo() public static method

public static IsCastableTo ( this from, Type to ) : bool
from this
to System.Type
return bool

SupportsCastFrom() public static method

public static SupportsCastFrom ( this from, Object instance ) : System.Boolean
from this
instance Object
return System.Boolean