public ForecastSummaryRepository(UserConnection userConnection, IPeriodRepository periodRepository, IForecastColumnRepository columnRepository) { userConnection.CheckArgumentNull(nameof(userConnection)); periodRepository.CheckArgumentNull(nameof(periodRepository)); columnRepository.CheckArgumentNull(nameof(columnRepository)); UserConnection = userConnection; PeriodRepository = periodRepository; ColumnRepository = columnRepository; }
public ForecastProvider(IForecastSheetRepository sheetRepository, IForecastColumnRepository columnRepository, IPeriodRepository periodRepository, IEntityInForecastCellRepository entityInForecastCellRepository, IForecastHierarchyRowDataRepository hierarchyRowDataRepository) { sheetRepository.CheckArgumentNull(nameof(sheetRepository)); columnRepository.CheckArgumentNull(nameof(columnRepository)); periodRepository.CheckArgumentNull(nameof(periodRepository)); entityInForecastCellRepository.CheckArgumentNull(nameof(entityInForecastCellRepository)); hierarchyRowDataRepository.CheckArgumentNull(nameof(hierarchyRowDataRepository)); SheetRepository = sheetRepository; ColumnRepository = columnRepository; PeriodRepository = periodRepository; EntityInForecastCellRepository = entityInForecastCellRepository; ForecastHierarchyRowDataRepository = hierarchyRowDataRepository; }