Method TryCastDelegate
TryCastDelegate<T>(Delegate, out T)
public static bool TryCastDelegate<T>(this Delegate source, out T result) where T : Delegate
Parameters
source
Delegateresult
T
Returns
Type Parameters
T
TryCastDelegate(Delegate, Type, out Delegate?)
public static bool TryCastDelegate(this Delegate source, Type type, out Delegate? result)