コード例 #1
0
        public async Task LoadAsync(OrderListArgs args, bool silent = false)
        {
            ViewModelArgs = args ?? OrderListArgs.CreateEmpty();
            Query         = ViewModelArgs.Query;

            if (silent)
            {
                await RefreshAsync();
            }
            else
            {
                StartStatusMessage("Loading orders...");
                if (await RefreshAsync())
                {
                    EndStatusMessage("Orders loaded");
                }
            }
        }
コード例 #2
0
 public async Task LoadAsync(OrderListArgs args)
 {
     await OrderList.LoadAsync(args);
 }