MethodReturn(IMethodInvocation, Object?, IArgumentCollection) Constructor

Definition

Namespace Stunts
Assembly Stunts.dll

Initializes a value returning call.

public MethodReturn(IMethodInvocation invocation, object? returnValue, IArgumentCollection arguments)

Parameters

invocation
IMethodInvocation

The invocation that generated the return.

returnValue
Object

Optional return value for non-void methods.

arguments
IArgumentCollection

All arguments of the invocation, including ref/out ones.