Exemple #1
0
 /// <inheritdoc cref="ICalculator.Evaluate(OperationInfo)" />
 public static double Evaluate(OperationInfo operation)
 {
     return(_calculator.Evaluate(operation));
 }
Exemple #2
0
        /// <inheritdoc />
        public OperationInfo CreateOperation(string expression)
        {
            expression.EnsureNotNull(nameof(expression));

            return(OperationInfo.Create(expression, _mathContext));
        }