C# 클래스 Helpmebot.Services.Geolocation.MaxMindGeolocationService

The max mind geolocation service.
상속: IGeolocationService, IDisposable
파일 보기 프로젝트 열기: helpmebot/helpmebot

공개 메소드들

메소드 설명
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