Click or drag to resize

MultiRepository Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A MultiRepository supports local GeoBase services by pulling data either from one or more LocalRepository objects, or by loading all GBFS files in a specified directory. LocalRepository objects used by this MultiRepository may be added or removed on-the-fly.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase.Repositories
Assembly:  geobase.net (in geobase.net.dll) Version: 4.83.0.0
Syntax
public class MultiRepository : LocalRepository, 
	IDisposable, IEnumerable<LocalRepository>, IEnumerable

The MultiRepository type exposes the following members.

Constructors
  NameDescription
Public methodMultiRepository
Creates a new empty MultiRepository.
Public methodMultiRepository(String)
Creates a new MultiRepository from a number of GBFS files. This is done by loading all GBFS files from the specified directory. The MultiRepository will not recurse down the directory structure.
Public methodMultiRepository(LocalRepository)
Creates a new MultiRepository from an array of LocalRepositorys.
Top
Properties
  NameDescription
Public propertyBoundingBoxData
Gets an array of BoundingBoxData objects.
(Overrides RepositoryBoundingBoxData.)
Public propertyBoundingBoxes
The BoundingBox objects that contain the repository content.
(Overrides RepositoryBoundingBoxes.)
Public propertyCopyrightString
Gets a string representing copyright information for the data contained in this MultiRepository.
(Overrides RepositoryCopyrightString.)
Public propertyCount
Gets the number of Repository objects encapsulated within this MultiRepository
Public propertyCountries
Gets an array of Countrys for which data in this MultiRepository is available.
(Overrides RepositoryCountries.)
Public propertyDatasetHashCode
Gets the hash code for this Repository's dataset. The hash code may be used to identify the dataset.
(Inherited from LocalRepository.)
Public propertyDatasetHashCodeString
Provides a consistent string representation of DatasetHashCode.
(Inherited from Repository.)
Public propertyHasGlobalData
Indicates whether this MultiRepository contains global data.
(Overrides RepositoryHasGlobalData.)
Public propertyIsDisposed
Gets whether the repository has been Disposed.
(Inherited from Repository.)
Public propertyItem
Returns the sub-repository at the indexed location in the list of sub-repositories.
Public propertyRegions
Gets an array of Regions for which data in this MultiRepository is available.
(Overrides RepositoryRegions.)
Public propertyVendorVersion
Gets the highest vendor version for this Repository's datasets.
(Overrides RepositoryVendorVersion.)
Top
Methods
  NameDescription
Public methodAdd
Add a given LocalRepository to this MultiRepository. Once a LocalRepository is added to this MultiRepository, the data available in any of the LocalRepository's SimpleRepository or MultiRepository objects become available for use by this MultiRepository.
Public methodAddRepository
Add a given LocalRepository to this MultiRepository. Once a LocalRepository is added to this MultiRepository, the data available in any of the LocalRepository's SimpleRepository or MultiRepository objects become available for use by this MultiRepository.
Public methodCheckRegions
Throws an exception if two GBFS files in the given LocalRepository cover the same geographical region.
Public methodDispose
Disposes of this LocalRepository. See remarks.
(Inherited from Repository.)
Public methodEquals (Inherited from Object.)
Public methodGetCountriesIn
Query the repository for all countries which fall underneath the given BoundingBox.
(Overrides LocalRepositoryGetCountriesIn(BoundingBox).)
Public methodGetDrivingSide
Indicates which side of the road vehicles drive in the specified country.
(Overrides RepositoryGetDrivingSide(Country).)
Public methodGetEnumerator
Returns an IEnumerator for accessing the sub-repositories of this MultiRepository.
Public methodGetHashCode (Inherited from Object.)
Public methodGetRepositoriesForCountry
Returns a list of sub-repositories that contain data for the specified country.
(Overrides LocalRepositoryGetRepositoriesForCountry(Country).)
Public methodGetType (Inherited from Object.)
Public methodHasCountry
Indicates whether this repository contains data for the given Country.
(Inherited from LocalRepository.)
Public methodRemoveRepository
Remove a LocalRepository from this MultiRepository. Once a LocalRepository is removed, any of the LocalRepository's SimpleRepository or MultiRepository objects may no longer be used by this MultiRepository to obtain data.
Public methodToString
Returns a string representation of this repository.
(Overrides ObjectToString.)
Top
Remarks
See Also