C# Класс Helpmebot.Services.Geolocation.MaxMindGeolocationService

The max mind geolocation service.
Наследование: IGeolocationService, IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

The dispose.

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

The dispose.
protected Dispose ( bool disposing ) : void
disposing bool /// The disposing. ///
Результат void

GetLocation() публичный Метод

The get location.
public GetLocation ( IPAddress address ) : GeolocateResult
address System.Net.IPAddress /// The address. ///
Результат Helpmebot.Model.GeolocateResult

MaxMindGeolocationService() публичный Метод

Initializes a new instance of the MaxMindGeolocationService class.
public MaxMindGeolocationService ( ILogger logger, IPrivateConfiguration configuration ) : System
logger ILogger /// The logger. ///
configuration IPrivateConfiguration /// The configuration. ///
Результат System