예제 #1
0
        public void RefreshSync()
        {
            var stateFilter = !string.IsNullOrEmpty(Settings.StateFilterName)
                                  ? Settings.StateFilterName
                                  : EntityScreen.StateFilter;

            ResourceSelectorViewModel.Refresh(EntityScreen, stateFilter, _request);
        }
예제 #2
0
        public void RefreshSync()
        {
            var stateFilter = !string.IsNullOrEmpty(Settings.StateFilterName)
                                  ? Settings.StateFilterName
                                  : EntityScreen.StateFilter;

            if (stateFilter == "*")
            {
                stateFilter = "";
            }
            ResourceSelectorViewModel.Refresh(EntityScreen, stateFilter, _request);
            ResourceSelectorViewModel.AutomationCommandName  = Settings.AutomationCommandName;
            ResourceSelectorViewModel.AutomationCommandValue = Settings.CommandValue;
        }