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