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