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