Esempio n. 1
0
 /// <summary>
 /// Provides a deterministic way to create the GroupEditViewModel property.
 /// </summary>
 public static void CreateGroupEditViewModel()
 {
     if (_groupEditViewModel == null)
     {
         _groupEditViewModel = new GroupEditViewModel();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Provides a deterministic way to delete the GroupEditViewModel property.
 /// </summary>
 public static void ClearGroupEditViewModel()
 {
     _groupEditViewModel.Cleanup();
     _groupEditViewModel = null;
 }