public MainClass(IReadExcel readExcel, IProcessWordStats processWordStats, IProcessAddress processAddress, IWriteOutput writeOutput) { ReadExcel = readExcel; _processWordStats = processWordStats; _processAddress = processAddress; this._writeOutput = writeOutput; if (ReadExcel == null) { throw new ArgumentNullException("ReadExcel"); } if (_processWordStats == null) { throw new ArgumentNullException("ProcessWordStats"); } if (_processAddress == null) { throw new ArgumentNullException("ProcessAddress"); } if (this._writeOutput == null) { throw new ArgumentNullException("WriteOutput"); } LoadSettings(); }
public void TestFixtureSetup() { StartUp.Boot(); _readExcel = StartUp.Container.GetInstance <IReadExcel>(); }
public ValuesController(IReadExcel readExcel) { this.readExcel = readExcel; }