예제 #1
0
        public IList<PushResults> Push(PushOptions options)
        {
            var results = new List<PushResults>();

            results.Add(ProcessFiles(options));

            return results;
        }
예제 #2
0
        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;
        }