private List <IExpression> GetExpressions(AliasMapper aliasMap, IDecimalConverter converter, MetalMapper metalMap, ExpressionValidationHelper helper) { List <IExpression> expressions = new List <IExpression>(); expressions.Add(new AliasExpression(aliasMap)); expressions.Add(new UnitExpression(aliasMap, metalMap, converter, helper)); expressions.Add(new AliasQuestionExpression(aliasMap, converter, helper)); expressions.Add(new UnitQuestionExpression(aliasMap, metalMap, converter, helper)); expressions.Add(new MetalExpression(aliasMap, metalMap, converter, helper)); return(expressions); }
private List <IExpression> GetExpressions(PseudonymMapper pseudonymMap, IDecimalConverter converter, MetalMapper metalMap, ExpressionValidationHelper helper) { List <IExpression> expressions = new List <IExpression>(); expressions.Add(new PseudonymExpression(pseudonymMap)); expressions.Add(new UnitExpression(pseudonymMap, metalMap, converter, helper)); expressions.Add(new PseudonymQuestionExpression(pseudonymMap, converter, helper)); expressions.Add(new UnitQuestionExpression(pseudonymMap, metalMap, converter, helper)); expressions.Add(new MetalExpression(pseudonymMap, metalMap, converter, helper)); return(expressions); }
public ExpressionParser(AliasMapper aliasMap, IDecimalConverter converter, MetalMapper metalMap) { helper = new ExpressionValidationHelper(aliasMap, metalMap); expressions = GetExpressions(aliasMap, converter, metalMap, helper); }
public ExpressionParser(PseudonymMapper pseudonymMap, IDecimalConverter converter, MetalMapper metalMap) { helper = new ExpressionValidationHelper(pseudonymMap, metalMap); expressions = GetExpressions(pseudonymMap, converter, metalMap, helper); }