/// <summary> /// Provides a deterministic way to create the ConnectionList property. /// </summary> public static void CreateConnectionList() { if (_connectionListViewModel == null) { _connectionListViewModel = new ViewModel.MainWindowViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the ConnectionList property. /// </summary> public static void ClearConnectionList() { _connectionListViewModel.Cleanup(); _connectionListViewModel = null; }