예제 #1
0
 /// <summary>
 /// Provides a deterministic way to create the ListGRNViewModel property.
 /// </summary>
 public static void CreateListGRNViewModel()
 {
     if (_listGRNViewModel == null)
     {
         _listGRNViewModel = new ListGRNViewModel(); 
     }
 }
예제 #2
0
 /// <summary>
 /// Provides a deterministic way to delete the ListGRNViewModel property.
 /// </summary>
 public static void ClearListGRNViewModel()
 {
     _listGRNViewModel.Cleanup();
     _listGRNViewModel = null;
 }