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