C# Class OxxCommerceStarterKit.Web.Helpers.GeoPosition

Exibir arquivo Open project: episerver/Commerce-Demo-Kit

Public Methods

Method Description
GetUsersLocation ( ) : IGeolocationResult
GetUsersPosition ( ) : GeoCoordinate
GetUsersPositionOrNull ( ) : GeoCoordinate
ToFindLocation ( this geoLocationResult ) : GeoLocation

Private Methods

Method Description
GetLocalRequestIp ( ) : string
GetRequestIp ( ) : string

Method Details

GetUsersLocation() public static method

public static GetUsersLocation ( ) : IGeolocationResult
return IGeolocationResult

GetUsersPosition() public static method

public static GetUsersPosition ( ) : GeoCoordinate
return GeoCoordinate

GetUsersPositionOrNull() public static method

public static GetUsersPositionOrNull ( ) : GeoCoordinate
return GeoCoordinate

ToFindLocation() public static method

public static ToFindLocation ( this geoLocationResult ) : GeoLocation
geoLocationResult this
return GeoLocation