CreateReturn(IMethodInvocation, T) Method

Definition

Namespace Stunts
Assembly Stunts.dll

Creates the method invocation return that ends the current invocation.

public static IMethodReturn CreateReturn<T>(this IMethodInvocation invocation, T arg)

Type parameters

T

Parameters

invocation
IMethodInvocation
arg
{T}

Returns