public IList<PushResults> Push(PushOptions options) { var results = new List<PushResults>(); results.Add(ProcessFiles(options)); return results; }
PushResults ProcessFiles(PushOptions options) { var result = new PushResults(); if (options.ProcessPrices) { var r = ProcessPriceFiles(); result.Merge(r); } if (options.ProcessQty) { var r = ProcessQtyFiles(); result.Merge(r); } return result; }