Method InvokePassing
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
mdMulticastDelegate- The multicast delegate.
valT- The initial value and first parameter.
argsobject[]- Any other arguments that may be passed.
Returns
- T
- The result of all delegates.
Type Parameters
T- Type of the result.