Пример #1
0
 /// <summary>
 /// Provides a deterministic way to create the TestGridViewModel property.
 /// </summary>
 public static void CreateTestGridViewModel()
 {
     if (_TestGridViewModel == null)
     {
         _TestGridViewModel = new TestGridViewModel();
     }
 }
Пример #2
0
 /// <summary>
 /// Provides a deterministic way to delete the TestGridViewModel property.
 /// </summary>
 public static void ClearTestGridViewModel()
 {
     _TestGridViewModel.Cleanup();
     _TestGridViewModel = null;
 }