Create(Object, MethodBase, MethodInvoker, T) Method

Definition

Namespace Stunts
Assembly Stunts.dll

Creates a method invocation with the given typed argument value.

public static MethodInvocation Create<T>(object target, MethodBase method, MethodInvoker implementation, T arg)

Type parameters

T

Parameters

target
Object

The target of the invocation.

method
MethodBase

The method being invoked.

implementation
MethodInvoker

Delegate that invokes the member on the given target.

arg
{T}

The argument value.

Returns