コード例 #1
0
        private async void LoadOrders()
        {
            OrdersList.Clear();
            List <OrderModel> orders = null;
            await Task.Run(() =>
            {
                orders = serviceRepository.LoadOrders();
            });

            OrdersList.AddRange(orders);
        }