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