Beispiel #1
0
 public static EnvControlsPersistencyPath GetInstance()
 {
     if (_instance == null)
     {
         lock (typeof(EnvControlsPersistencyPath))
         {
             if (_instance == null)
             {
                 _instance = new EnvControlsPersistencyPath();
             }
         }
     }
     return(_instance);
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 public static void DeleteInstance()
 {
     Debug.Assert(_instance != null);
     _instance = null;
 }