Table of Contents

Method InvokePassing

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll

InvokePassing<T>(MulticastDelegate, T, params object?[])

Invokes all delegates in the invocation list, passing on the result to the next.
public static T? InvokePassing<T>(this MulticastDelegate md, T val, params object?[] args)

Parameters

md MulticastDelegate
The multicast delegate.
val T
The initial value and first parameter.
args object[]
Any other arguments that may be passed.

Returns

T
The result of all delegates.

Type Parameters

T
Type of the result.