Beispiel #1
0
 public static void CreateDirectionsViewModel()
 {
     if (_directionsViewModel == null)
     {
         _directionsViewModel = new DirectionsViewModel();
     }
 }
Beispiel #2
0
 public static void ClearDirectionsViewModel()
 {
     _directionsViewModel.Cleanup();
     _directionsViewModel = null;
 }