public ProcessorStorageFilesWork(IMathBuffer maths, ICalcIO calcIO, IOperationsHistory operationsHistory, IExpressionParser mathExpressionParser, IPathReader filePathReader, ICalcInputParser inputParser)
 {
     Maths                = maths;
     CalcIO               = calcIO;
     OperationsHistory    = operationsHistory;
     MathExpressionParser = mathExpressionParser;
     FilePathReader       = filePathReader;
     InputParser          = inputParser;
 }
 public OperationsExecutor(
     IOperationMetaInfoProvider metaInfoProvider,
     IOperationsHistory operationsHistory,
     ILogger logger,
     IOperationsActivator activator)
 {
     this.metaInfoProvider  = metaInfoProvider;
     this.operationsHistory = operationsHistory;
     this.log       = logger;
     this.activator = activator;
 }
Пример #3
0
 public Calculator(IOperationsHistory operationsHistory)
 {
     OperationsHistory = operationsHistory;
 }
 public EloquentOperationsHistory(IOperationsHistory operationsHistory, IEloquentServer server)
 {
     _operationsHistory = operationsHistory;
     ObjectHost         = server.Add <IEloquentOperationsHistory>("calculator/history", this);
 }