Open sandboxFocus

Method Cast

Cast<TSource, TTarget>(TSource)

Not needed in Metalama. Hurrah!

Declaration
public static TTarget Cast<TSource, TTarget>(TSource o) where TSource : class where TTarget : class
Parameters
Type Name Description
TSource o
Returns
Type Description
TTarget
Type Parameters
Name Description
TSource
TTarget