예제 #1
0
        public static CategoryManager GetInstance()
        {
            lock (typeof(CategoryManager))
            {
                if( instance == null)
                    instance	= new CategoryManager();

                return instance;
            }
        }
예제 #2
0
 public void Dispose()
 {
     instance = null;
 }