public Callback( IEnumerable <IShouldRestockRule> restockingRules, IStoreProposals store, IFetchSuppliers supplierSource, IEnumerable <IAutomationRule> automationRules) { this.restockingRules = restockingRules; this.store = store; this.supplierSource = supplierSource; this.automationRules = automationRules; }
public virtual Proposal WithSuppliers(IFetchSuppliers supplierSource) { IEnumerable <Supplier> theSuppliers = supplierSource.GetSuppliers(product); return(new Proposal(product, theSuppliers)); }
public override Proposal WithSuppliers( IFetchSuppliers supplierSource) { return(this); }