Class RequestHeaderClientGeolocationResolver
Inheritance
System.Object
RequestHeaderClientGeolocationResolver
Implements
Namespace: EPiServer.Personalization.Internal
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3Syntax
public class RequestHeaderClientGeolocationResolver : Object, IClientGeolocationResolver
Constructors
RequestHeaderClientGeolocationResolver(ClientGeolocationOptions)
Creates new instances of RequestHeaderClientGeolocationResolver
Declaration
public RequestHeaderClientGeolocationResolver(ClientGeolocationOptions options)
Parameters
Type | Name | Description |
---|---|---|
Client |
options |
Properties
Capabilities
Capabilities of the LocationResolver
Declaration
public Capabilities Capabilities { get; }
Property Value
Type | Description |
---|---|
Capabilities |
Methods
ResolveLocation(HttpContext)
Resolves the location origin of the request
Declaration
public IGeolocationResult ResolveLocation(HttpContext httpContext)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
httpContext | HttpContext |
Returns
Type | Description |
---|---|
IGeolocation |
A location result |