Inheritance: MediaPortal.UI.Presentation.DataObjects.ListItem
 public void SelectSiteGroup(SiteGroupViewModel siteGroupModel)
 {
     if (BackgroundTask.Instance.IsExecuting) return;
     SitesList.Clear();
     foreach (string siteName in siteGroupModel.Sites)
     {
         var siteutils = OnlineVideoSettings.Instance.SiteUtilsList;
         SitesList.Add(new SiteViewModel(siteutils[siteName]));
     }
     sitesListHasAllSites = false;
     SitesList.FireChange();
     IWorkflowManager workflowManager = ServiceRegistration.Get<IWorkflowManager>();
     workflowManager.NavigatePushAsync(Guids.WorkflowStateSites, new NavigationContextConfig() { NavigationContextDisplayLabel = siteGroupModel.Labels["Name"].ToString() });
 }
        public void SelectSiteGroup(SiteGroupViewModel siteGroupModel)
        {
            if (BackgroundTask.Instance.IsExecuting)
            {
                return;
            }
            SitesList.Clear();
            foreach (string siteName in siteGroupModel.Sites)
            {
                var siteutils = OnlineVideoSettings.Instance.SiteUtilsList;
                SitesList.Add(new SiteViewModel(siteutils[siteName]));
            }
            sitesListHasAllSites = false;
            SitesList.FireChange();
            IWorkflowManager workflowManager = ServiceRegistration.Get <IWorkflowManager>();

            workflowManager.NavigatePushAsync(Guids.WorkflowStateSites, new NavigationContextConfig()
            {
                NavigationContextDisplayLabel = siteGroupModel.Labels["Name"].ToString()
            });
        }