コード例 #1
0
        public void WriteOutFiltrdAndPriceSortedOrders()
        {
            if (Orders.Count > 0 && FilterSize > 0)
            {
                Orders = new ObservableCollection <Order> (FilterOrdersSmallerThan(Orders, FilterSize));
            }

            _writer.WriteOrders(Orders.OrderBy(o => o.Price));
        }
コード例 #2
0
        public void WriteOutOrder()
        {
            var orders = _orderStore.GetOrders();

            _orderWriter.WriteOrders(orders);
        }