public static BreakerManager GetInstance() { lock (typeof(BreakerManager)) { if (instance == null) { instance = new BreakerManager(); instance.Init(); } return(instance); } }
public static BreakerManager GetInstance() { lock (typeof(BreakerManager)) { if (instance == null) { instance = new BreakerManager(); instance.Init(); } return instance; } }
public void Dispose() { instance = null; model = null; }