public Calculator(
     INumberNamer numberNamer,
     INumberParser numberParser,
     IOperatorParser operatorParser)
 {
     _numberNamer    = numberNamer;
     _numberParser   = numberParser;
     _operatorParser = operatorParser;
 }
Example #2
0
 public GreenhouseTemperatureRuleExecutor(IApplicationDbContext dbContext, IOperatorParser <double> operatorParser)
 {
     _dbContext      = dbContext;
     _operatorParser = operatorParser;
 }
 public MaxWindSpeedRuleExecutor(IApplicationDbContext dbContext, IOperatorParser <double> operatorParser)
 {
     _dbContext      = dbContext;
     _operatorParser = operatorParser;
 }