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

            return(instance);
        }
        public static RepositoryManager GetInstance()
        {
            lock (typeof(RepositoryManager))
            {
                if (instance == null)
                {
                    instance			= new RepositoryManager();
                    repositoryAccess	= new RepositoryAccess();
                    instance.Init();
                }
            }

            return instance;
        }