Table of Contents

Method InvokeWhileNull

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll

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 MulticastDelegate
args object[]

Returns

T

Type Parameters

T