/// <summary> /// Provides a deterministic way to create the SLCacheViewModel property. /// </summary> public static void CreateSLCacheViewModel() { if (_SLCacheViewModel == null) { _SLCacheViewModel = new SLCacheViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the SLCacheViewModel property. /// </summary> public static void ClearSLCacheViewModel() { _SLCacheViewModel.Cleanup(); _SLCacheViewModel = null; }