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

                return instance;
            }
        }
示例#2
0
 public void Dispose()
 {
     instance = null;
 }