public BcrReader( ILogging log, BcrOptions options, IFile <Bcr> bcrFile, IFile <SerializableCostCentreList> costCentreFile, IUnit4EngineFactory factory, ICostCentresProvider provider) { _log = log; _bcrFile = bcrFile; _factory = factory; _updateCache = options.UpdateCache; var costCentreList = new Cache <SerializableCostCentreList>( () => provider.GetCostCentres(), costCentreFile); _hierarchy = new CostCentreHierarchy(costCentreList, options); }
public CostCentresProvider(IUnit4EngineFactory factory) { _factory = factory; }
public BcrReport(IUnit4EngineFactory factory, ILogging log) { _factory = factory; _log = log; }