Class ProviderBasedClientGeolocationResolver
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Implementation of IClientGeolocationResolver that uses the IGeolocationProvider to resolve the client location.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Personalization.Internal
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7Syntax
public class ProviderBasedClientGeolocationResolver : IClientGeolocationResolver
Constructors
ProviderBasedClientGeolocationResolver(IGeolocationProvider, IClientIPAddressResolver)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. ader Creates a new instance of ProviderBasedClientGeolocationResolver
Declaration
public ProviderBasedClientGeolocationResolver(IGeolocationProvider geolocationProvider, IClientIPAddressResolver addressResolver)
Parameters
Type | Name | Description |
---|---|---|
IGeolocationProvider | geolocationProvider | |
IClientIPAddressResolver | addressResolver |
Properties
Capabilities
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public Capabilities Capabilities { get; }
Property Value
Type | Description |
---|---|
Capabilities |
Methods
ResolveLocation(HttpContextBase)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public IGeolocationResult ResolveLocation(HttpContextBase httpContext)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContextBase | httpContext | The current HTTP context. |
Returns
Type | Description |
---|---|
IGeolocationResult | The geolocation of the current client or |