Class FirstActiveClientGeolocationResolver
Implementation of IClient
Inheritance
System.Object
FirstActiveClientGeolocationResolver
Implements
Namespace: EPiServer.Personalization.Internal
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3Syntax
public class FirstActiveClientGeolocationResolver : Object, IClientGeolocationResolver
Constructors
FirstActiveClientGeolocationResolver(IEnumerable<IClientGeolocationResolver>)
ader
Creates a new instance of First
Declaration
public FirstActiveClientGeolocationResolver(IEnumerable<IClientGeolocationResolver> resolvers)
Parameters
Type | Name | Description |
---|---|---|
System. |
resolvers |
Properties
Capabilities
Gets the geolocation resolving capabilities of the IClient
Declaration
public Capabilities Capabilities { get; }
Property Value
Type | Description |
---|---|
Capabilities |
Methods
ResolveLocation(HttpContext)
Resolves the geographic location where the current request originates from.
Declaration
public IGeolocationResult ResolveLocation(HttpContext httpContext)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
httpContext | The current HTTP context. |
Returns
Type | Description |
---|---|
IGeolocation |
The geolocation of the current client or |