DynamicInvokeUnaryPlusOperatorT Method
Uses reflection to invoke the unary plus operator for
T using
value as the parameter. Returns the result of the operation
or throws an
InvalidOperationException if no such operator is defined.
Namespace: Jodosoft.PrimitivesAssembly: Jodosoft.Primitives (in Jodosoft.Primitives.dll) Version: 2.0
public static T UnaryPlusOperator<T>(
T value
)
Public Shared Function UnaryPlusOperator(Of T) (
value As T
) As T
public:
generic<typename T>
static T UnaryPlusOperator(
T value
)
static member UnaryPlusOperator :
value : 'T -> 'T
- value T
- The value to pass to operator.
- T
- The type for which the operator is defined.
TThe result of invoking the operator.