\r\n

51Degrees Geo-Location .NET  4.3

Geo-location services for 51Degrees Pipeline

FiftyOne.GeoLocation.Core.Data.GeoData Class Reference

Detailed Description

Data class that contains postal address information

Inheritance diagram for FiftyOne.GeoLocation.Core.Data.GeoData:

[legend]

Collaboration diagram for FiftyOne.GeoLocation.Core.Data.GeoData:

[legend]

Public Member Functions

 GeoData (ILogger< GeoData > logger, IPipeline pipeline, IAspectEngine engine, IMissingPropertyService missingPropertyService)
Constructor More...

Static Protected Attributes

static readonly IReadOnlyDictionary< string, Type >  PropertyTypes
Dictionary of property types. More...

Properties

AspectPropertyValue< JavaScript >  JavaScript [get, set]
AspectPropertyValue< string >  Building [get, set]
AspectPropertyValue< string >  StreetNumber [get, set]
AspectPropertyValue< string >  Road [get, set]
AspectPropertyValue< string >  Town [get, set]
AspectPropertyValue< string >  Suburb [get, set]
AspectPropertyValue< string >  County [get, set]
AspectPropertyValue< string >  Region [get, set]
AspectPropertyValue< string >  State [get, set]
AspectPropertyValue< string >  ZipCode [get, set]
AspectPropertyValue< string >  Country [get, set]
AspectPropertyValue< string >  CountryCode [get, set]
AspectPropertyValue< string >  Address [get, set]

Properties inherited from FiftyOne.GeoLocation.Core.Data.IGeoData

AspectPropertyValue< JavaScript >  JavaScript [get, set]
A JavaScript snippet that, when run on the client, will retrieve latitude and longitude data to be used by a reverse geocoding engine in order to determine postal address information. More...
AspectPropertyValue< string >  Building [get, set]
The name of the building that is closest to this location. More...
AspectPropertyValue< string >  StreetNumber [get, set]
The number of the building that is closest to this location. More...
AspectPropertyValue< string >  Road [get, set]
The name of the road that this location is on. More...
AspectPropertyValue< string >  Town [get, set]
The name of the town that this location is in. More...
AspectPropertyValue< string >  Suburb [get, set]
The name of the suburb that this location is in. More...
AspectPropertyValue< string >  County [get, set]
The name of the county that this location is in. More...
AspectPropertyValue< string >  Region [get, set]
The name of the region that this location is in. More...
AspectPropertyValue< string >  State [get, set]
The name of the state that this location is in. More...
AspectPropertyValue< string >  ZipCode [get, set]
The zip code closest to this location. More...
AspectPropertyValue< string >  Country [get, set]
The name of the country that this location is in. More...
AspectPropertyValue< string >  CountryCode [get, set]
The country code for the country that this location is in. More...
AspectPropertyValue< string >  Address [get, set]
The complete address for this location. More...

Constructor & Destructor Documentation

◆ GeoData()

FiftyOne.GeoLocation.Core.Data.GeoData.GeoData ( ILogger< GeoData >   logger,
IPipeline   pipeline,
IAspectEngine   engine,
IMissingPropertyService   missingPropertyService  
)

Constructor

Parameters
logger - The logger for this instance to use.
pipeline - The Pipeline that created this instance
engine - The engine that created this instance
missingPropertyService - The IMissingPropertyService to use when the requested property does not exist in the base data store.

Member Data Documentation

◆ PropertyTypes

readonly IReadOnlyDictionary<string, Type> FiftyOne.GeoLocation.Core.Data.GeoData.PropertyTypes
static protected
Initial value:
=
new Dictionary<string, Type>()
{
{ "JavaScript", typeof(IAspectPropertyValue<JavaScript>) },
{ "Building", typeof(IAspectPropertyValue<string>) },
{ "StreetNumber", typeof(IAspectPropertyValue<string>) },
{ "Road", typeof(IAspectPropertyValue<string>) },
{ "Town", typeof(IAspectPropertyValue<string>) },
{ "Suburb", typeof(IAspectPropertyValue<string>) },
{ "County", typeof(IAspectPropertyValue<string>) },
{ "Region", typeof(IAspectPropertyValue<string>) },
{ "State", typeof(IAspectPropertyValue<string>) },
{ "ZipCode", typeof(IAspectPropertyValue<string>) },
{ "Country", typeof(IAspectPropertyValue<string>) },
{ "CountryCode", typeof(IAspectPropertyValue<string>) },
{ "Address", typeof(IAspectPropertyValue<string>) }
}

Dictionary of property types.