\r\n

51Degrees Geo-Location .NET  4.3

Geo-location services for 51Degrees Pipeline

FiftyOne.GeoLocation.Cloud.FlowElements.GeoLocationCloudEngineBuilder Class Reference

Detailed Description

Fluent builder used to build a reverse geocoding engine that uses the 51Degrees cloud service.

Inheritance diagram for FiftyOne.GeoLocation.Cloud.FlowElements.GeoLocationCloudEngineBuilder:

[legend]

Collaboration diagram for FiftyOne.GeoLocation.Cloud.FlowElements.GeoLocationCloudEngineBuilder:

[legend]

Public Member Functions

 GeoLocationCloudEngineBuilder (ILoggerFactory loggerFactory)
Constructor More...
GeoLocationCloudEngineBuilder  SetGeoLocationProvider (string provider)
Set the provider of the data that will be used by the engine. More...
GeoLocationCloudEngine  Build (GeoLocationProvider provider)
Build and return a new GeoLocationCloudEngine. More...
GeoLocationCloudEngine  Build ()
Build and return a new GeoLocationCloudEngine. More...

Protected Member Functions

override GeoLocationCloudEngine  NewEngine (List< string > properties)
Called by the base class to create a new engine. More...

Constructor & Destructor Documentation

◆ GeoLocationCloudEngineBuilder()

FiftyOne.GeoLocation.Cloud.FlowElements.GeoLocationCloudEngineBuilder.GeoLocationCloudEngineBuilder ( ILoggerFactory   loggerFactory )

Constructor

Parameters
loggerFactory - The factory to use when creating loggers

Member Function Documentation

◆ NewEngine()

override GeoLocationCloudEngine FiftyOne.GeoLocation.Cloud.FlowElements.GeoLocationCloudEngineBuilder.NewEngine ( List< string >   properties )
protected

Called by the base class to create a new engine.

Parameters
properties - The list of properties that this engine should populate.
Returns
A new GeoLocationCloudEngine instance.

◆ SetGeoLocationProvider()

GeoLocationCloudEngineBuilder FiftyOne.GeoLocation.Cloud.FlowElements.GeoLocationCloudEngineBuilder.SetGeoLocationProvider ( string   provider )

Set the provider of the data that will be used by the engine.

This method exists in order to allow configuration from a file, as strings are not automatically parsed to enums. If calling from code, use the Build(GeoLocationProvider) method instead.

Parameters
provider - The provider name. This should be one of the entries in GeoLocationProvider.
Returns
This builder.