Interface IClientGeolocationResolver
Defines a service that resolves the Geolocation of the current client.
Namespace: EPiServer.Personalization
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3Syntax
public interface IClientGeolocationResolverProperties
Capabilities
Gets the geolocation resolving capabilities of the IClientGeolocationResolver
Declaration
Capabilities Capabilities { get; }Property Value
| Type | Description | 
|---|---|
| Capabilities | 
Methods
ResolveLocation(HttpContext)
Resolves the geographic location where the current request originates from.
Declaration
IGeolocationResult ResolveLocation(HttpContext httpContext)Parameters
| Type | Name | Description | 
|---|---|---|
| Microsoft.AspNetCore.Http.HttpContext | httpContext | The current HTTP context. | 
Returns
| Type | Description | 
|---|---|
| IGeolocationResult | The geolocation of the current client or  | 
