public void Dispose() { if (MonitorConfig != null) { MonitorConfig = null; } if (_instance != null) { _instance = null; } }
public static MonitorDataConfig Instance() { if (_instance == null) { lock (objLock) { if (_instance == null) { _instance = new MonitorDataConfig(); } } } return _instance; }
public static MonitorDataConfig Instance() { if (_instance == null) { lock (objLock) { if (_instance == null) { _instance = new MonitorDataConfig(); } } } return(_instance); }