C# Class Helpmebot.Services.Geolocation.MaxMindGeolocationService

The max mind geolocation service.
Inheritance: IGeolocationService, IDisposable
Afficher le fichier Open project: helpmebot/helpmebot

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetLocation ( IPAddress address ) : GeolocateResult

The get location.

MaxMindGeolocationService ( ILogger logger, IPrivateConfiguration configuration ) : System

Initializes a new instance of the MaxMindGeolocationService class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

The dispose.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

The dispose.
protected Dispose ( bool disposing ) : void
disposing bool /// The disposing. ///
Résultat void

GetLocation() public méthode

The get location.
public GetLocation ( IPAddress address ) : GeolocateResult
address System.Net.IPAddress /// The address. ///
Résultat Helpmebot.Model.GeolocateResult

MaxMindGeolocationService() public méthode

Initializes a new instance of the MaxMindGeolocationService class.
public MaxMindGeolocationService ( ILogger logger, IPrivateConfiguration configuration ) : System
logger ILogger /// The logger. ///
configuration IPrivateConfiguration /// The configuration. ///
Résultat System