コード例 #1
0
        protected override async void LoadItemsAsync()
        {
            IsBusy = true;

            try
            {
                Items = await Executer.Execute(
                    () => _hostGroupProxyServer.GetHostGroups(new[] { HostGroupsSortField.ByName }, null));
            }
            catch (Exception ex)
            {
                ErrorHandler.Handle(ex);
            }
            finally
            {
                IsBusy = false;
            }
        }