示例#1
0
        public static RepositoryManager GetInstance()
        {
            lock (typeof(RepositoryManager))
            {
                if (instance == null)
                {
                    instance			= new RepositoryManager();
                    repositoryAccess	= new RepositoryAccess();
                    instance.Init();
                }
            }

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