Open sandboxFocus

Method AssertCast

AssertCast<T>(object?)

Declaration
public static T? AssertCast<T>(this object? obj) where T : class
Parameters
Type Name Description
object obj
Returns
Type Description
T
Type Parameters
Name Description
T