Create(ParameterInfo, T) Method

Definition

Namespace Stunts
Assembly Stunts.dll

Creates a typed argument.

public static Argument<T> Create<T>(ParameterInfo info, T value)

Type parameters

T
The type of the argument, typically inferred from the value type.

Parameters

info
ParameterInfo

The ParameterInfo that declares the argument in a method or constructor.

value
{T}

The argument value.

Returns