Пример #1
0
 /// <summary>
 /// Removes the current viewmodel from the current viewmodel property.
 /// Call this when application shuts down to make sure all viewmodels
 /// can be destroyed without being currently active.
 /// </summary>
 public void UnsetCurrentViewModel()
 {
     _CurrentViewModel = null;
 }