ExpressionParser.LongOperand.Multiply C# (CSharp) Méthode

Multiply() public méthode

public Multiply ( IOperand rhs ) : IOperand
rhs IOperand
Résultat IOperand
        public IOperand Multiply(IOperand rhs)
        {
            if (!(rhs is LongOperand))
                throw new ArgumentException("Argument invalid in LongOperand.Multiply : rhs");
            LongOperand oprResult = new LongOperand("Result", Type.GetType("System.Int64"));
            oprResult.Value = (long)this.Value * (long)((Operand)rhs).Value;
            return oprResult;
        }
        public IOperand Divide(IOperand rhs)