/// <summary> /// Provides a deterministic way to create the ViewModelPropertyName property. /// </summary> public static void CreateAllEventsViewModel() { if (_allEventsViewModel == null) { _allEventsViewModel = new AllEventsViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the ViewModelPropertyName property. /// </summary> public static void ClearAllEventsViewModel() { _allEventsViewModel.Cleanup(); _allEventsViewModel = null; }