Exemplo n.º 1
0
 /// <summary>
 /// Provides a deterministic way to create the FinancialsViewModel property.
 /// </summary>
 public static void CreateFinancialsViewModel()
 {
     if (_FinancialsViewModel == null)
     {
         _FinancialsViewModel = new FinancialsViewModel();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Provides a deterministic way to delete the FinancialsViewModel property.
 /// </summary>
 public static void ClearFinancialsViewModel()
 {
     _FinancialsViewModel.Cleanup();
     _FinancialsViewModel = null;
 }