public static SessionViewModel ConvertSession(SessionToken token)
        {
            Requires.NotNull(token, nameof(token));

            var result = new SessionViewModel();

            foreach (var appToken in token.Apps)
            {
                result.Apps.Add(ConvertApp(appToken));
            }
            return(result);
        }
 private void UpdateViewModel()
 {
     ViewModel = ViewModelFactory.ConvertSession(monitor.Session);
 }