SaaS CMS has officially launched! Learn more now.

Class FirstActiveClientGeolocationResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Implementation of IClientGeolocationResolver that will delegate all calls to the first active IClientGeolocationResolver implementation it can find among it's dependencies.

Inheritance
System.Object
FirstActiveClientGeolocationResolver
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 FirstActiveClientGeolocationResolver : IClientGeolocationResolver

Constructors

FirstActiveClientGeolocationResolver(IEnumerable<IClientGeolocationResolver>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. ader Creates a new instance of FirstActiveClientGeolocationResolver

Declaration
public FirstActiveClientGeolocationResolver(IEnumerable<IClientGeolocationResolver> resolvers)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IClientGeolocationResolver> resolvers

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