Invoke(IMethodInvocation, Boolean) Method

Definition

Namespace Stunts
Assembly Stunts.dll

Invoke the pipeline with the given input.

public IMethodReturn Invoke(IMethodInvocation invocation, bool throwOnException = false)

Parameters

invocation
IMethodInvocation

Input to the method call.

throwOnException
Boolean

Whether to throw the Exception if it has a value after running the behaviors.

Returns

IMethodReturn
Return value from the pipeline.