November Happy Hour will be moved to Thursday December 5th.

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
System.Object
ProviderBasedClientGeolocationResolver
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Personalization.Internal
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
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 null if no location could be established.

Implements

Extension Methods