Implicit(Argument to T?) Operator

Definition

Namespace Stunts
Assembly Stunts.dll

Implicitly converts a typed argument to the type of its value.

public static implicit operator T? (Argument<T> argument)

Parameters

argument
Argument<T>

Returns

{T}

Examples

var arg = Argument.Create(parameter, 42);
// implicit conversion allows direct assignment.
int value = arg;