public Map(Repository repo) { int i = 0; Facets = repo.Datasets.Select(x => new Facet(x, i++)); DefaultZoom = repo.Zoom; DefaultLong = repo.Longitude; DefaultLat = repo.Lattitude; }
public OpenDataAgentRepository(Repository repository) { Assert.IsNotNull(repository, "OpenData Repository cannot be null"); _internalRepository = repository; }
public OpenDataAgentRepository(ID repositoryID, Database database) { Assert.IsNotNull(database, "Sitecore context cannot be null"); _internalRepository = new Repository(repositoryID, database); }