Operator operator ==
operator ==(ValueRef<T>, ValueRef<T>)
Equality operator overload for ValueRef<T>.
public static bool operator ==(ValueRef<T> left, ValueRef<T> right)
Parameters
leftValueRef<T>The left operand of the equality operator.
rightValueRef<T>The right operand of the equality operator.
Returns
- bool
True if the left and right operands are equal; otherwise, false.
operator ==(ValueRef<T>, T)
Equality operator overload for ValueRef<T> and T.
public static bool operator ==(ValueRef<T> left, T right)
Parameters
leftValueRef<T>The left operand of the equality operator.
rightTThe right operand of the equality operator.
Returns
- bool
True if the left and right operands are equal; otherwise, false.
operator ==(T, ValueRef<T>)
Equality operator overload for T and ValueRef<T>.
public static bool operator ==(T left, ValueRef<T> right)
Parameters
leftTThe left operand of the equality operator.
rightValueRef<T>The right operand of the equality operator.
Returns
- bool
True if the left and right operands are equal; otherwise, false.