Ejemplo n.º 1
0
 public ExpressionCalculator(IOperatorMapper operatorMapper)
 {
     _operatorsMapping = operatorMapper.GetMapping();
     _numberStack      = new Stack <double>();
     _operatorStack    = new Stack <char>();
 }
 static OperatorMappedConditionGenerator()
 {
     operatorMapper = NpiServicesCollection.GetService <IOperatorMapper>();
 }