Exemple #1
0
 /// <summary>
 /// Provides a deterministic way to create the GroupsListViewModel property.
 /// </summary>
 public static void CreateGroupsListViewModel()
 {
     if (_groupsListViewModel == null)
     {
         _groupsListViewModel = new GroupsListViewModel();
     }
 }
Exemple #2
0
 /// <summary>
 /// Provides a deterministic way to delete the GroupsListViewModel property.
 /// </summary>
 public static void ClearGroupsListViewModel()
 {
     _groupsListViewModel.Cleanup();
     _groupsListViewModel = null;
 }