Пример #1
0
        public static BreakerManager GetInstance()
        {
            lock (typeof(BreakerManager))
            {
                if (instance == null)
                {
                    instance = new BreakerManager();
                    instance.Init();
                }

                return(instance);
            }
        }
Пример #2
0
        public static BreakerManager GetInstance()
        {
            lock (typeof(BreakerManager))
            {
                if (instance == null)
                {
                    instance = new BreakerManager();
                    instance.Init();
                }

                return instance;
            }
        }
Пример #3
0
 public void Dispose()
 {
     instance = null;
     model    = null;
 }
Пример #4
0
 public void Dispose()
 {
     instance	= null;
     model		= null;
 }