/// <summary> /// Provides a deterministic way to create the ArchiveViewModel property. /// </summary> public static void CreateArchiveViewModel() { if (_ArchiveViewModel == null) { _ArchiveViewModel = new ArchiveViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the ArchiveViewModel property. /// </summary> public static void ClearArchiveViewModel() { _ArchiveViewModel.Cleanup(); _ArchiveViewModel = null; }