public ExpressionFactory( IExpressionNodeFactory expressionNodeFactory, IExpressionTokenizer expressionTokenizer, IInfixToPostfixConverter infixToPostfixConverter) { this.expressionNodeFactory = expressionNodeFactory; this.expressionTokenizer = expressionTokenizer; this.infixToPostfixConverter = infixToPostfixConverter; }
public Expression(IExpressionParser parser, IInfixToPostfixConverter postfixConverter, IPostfixCalculator postfixCalculator) { this.parser = parser; this.postfixConverter = postfixConverter; this.postfixCalculator = postfixCalculator; }
public Calculator(IInfixToPostfixConverter converter, IExpressionBuilder builder, IInfixTokenizer tokenizer) { _infixToPostfixConverter = converter; _expressionBuilder = builder; _tokenizer = tokenizer; }