public void Constructor() { UserManagerMultiThreadCache userManager; userManager = new UserManagerMultiThreadCache(); Assert.IsNotNull(userManager); }
private UserManagerMultiThreadCache GetUserManager(Boolean refresh) { if (_userManager.IsNull() || refresh) { _userManager = new UserManagerMultiThreadCache(); _userManager.DataSource = new UserDataSource(); } return(_userManager); }
/// <summary> /// Static constructor. /// </summary> static CoreData() { AnalysisManager = new AnalysisManager(); ApplicationManager = new ApplicationManager(); CountryManager = new CountryManagerMultiThreadCache(); FactorManager = new FactorManagerMultiThreadCache(); GeoReferenceManager = new GeoReferenceManager(); LocaleManager = new LocaleManagerMultiThreadCache(); MetadataManager = new MetadataManagerMultiThreadCache(); OrganizationManager = new OrganizationManager(); PictureManager = new PictureManagerMultiThreadCache(); ReferenceManager = new ReferenceManagerMultiThreadCache(); RegionManager = new RegionManagerMultiThreadCache(new CoordinateSystem()); SpeciesFactManager = new SpeciesFactManagerMultiThreadCache(); SpeciesObservationManager = new SpeciesObservationManagerMultiThreadCache(); TaxonManager = new TaxonManagerMultiThreadCache(); UserManager = new UserManagerMultiThreadCache(); }
public UserManagerMultiThreadCacheTest() { _userManager = null; }