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