YAMP.BinaryOperator.PerformOverFind C# (CSharp) Method

PerformOverFind() public method

Performs the operation from finding the operator in the mapping.
public PerformOverFind ( Value left, Value right, BinaryOperatorMappingList mapping ) : Value
left Value
right Value
mapping BinaryOperatorMappingList
return Value
        public Value PerformOverFind(Value left, Value right, BinaryOperatorMappingList mapping)
        {
            var ret = default(Value);

            if (!TryPerformOverFind(left, right, mapping, out ret))
                throw new YAMPOperationInvalidException(Op, left, right);

            return ret;
        }