public MockServices(IEnumerable <Warehouse> supply, IEnumerable <Demand> demand, IEnumerable <StockAlternative> stockAlternatives, IConfirmationInteraction refreshConfirmationDialog, IConfirmationInteraction extendedTimelineConfirmationDialog) { _supply = supply; _demand = demand; _stockAlternatives = stockAlternatives; _refreshConfirmationDialog = refreshConfirmationDialog; _extendedTimelineConfirmationDialog = extendedTimelineConfirmationDialog; }
public Inject Dependencies(IEnumerable <Warehouse> supply, IEnumerable <Demand> demand, IEnumerable <StockAlternative> stockAlternatives, IConfirmationInteraction refreshConfirmation = null, IConfirmationInteraction extendedTimelineConfirmation = null) { return(new Inject() { Services = new MockServices(supply, demand, stockAlternatives, refreshConfirmation, extendedTimelineConfirmation), Lookup = new Lookup() { PartKeyToCachedParts = new Dictionary <string, Inventory>(), PartkeyToStockcode = new Dictionary <string, string>(), DaysRemainingToCompletedJobs = new Dictionary <int, HashSet <Job> >(), . . . },