Method InvokeWhileNull
InvokeWhileNull<T>(MulticastDelegate?, params object[])
Invokes all delegates in the invocation list, as long as the previously invoked delegate returns null.
public static T? InvokeWhileNull<T>(this MulticastDelegate? md, params object[] args) where T : class
Parameters
md
MulticastDelegateargs
object[]
Returns
- T
Type Parameters
T