DynamicInvokeRightShiftOperatorT Method
Uses reflection to invoke the right-shift operator for
T using
left and
right as the parameters. 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 RightShiftOperator<T>(
T left,
int right
)
Public Shared Function RightShiftOperator(Of T) (
left As T,
right As Integer
) As T
public:
generic<typename T>
static T RightShiftOperator(
T left,
int right
)
static member RightShiftOperator :
left : 'T *
right : int -> 'T
- left T
- The left value to pass to operator.
- right Int32
- The right value to pass to the operator.
- T
- The type for which the operator is defined.
TThe result of invoking the operator.