Class DoNotTrackPersonalizationEvaluator
An implementation of IPersonalizationEvaluator that checks if Do Not Track header (DNT) is present on request and if so disables personalization.
Implements
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
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7Syntax
public class DoNotTrackPersonalizationEvaluator : IPersonalizationEvaluator
Constructors
DoNotTrackPersonalizationEvaluator(ServiceAccessor<HttpRequestBase>)
Creates a new instance of DoNotTrackPersonalizationEvaluator
Declaration
public DoNotTrackPersonalizationEvaluator(ServiceAccessor<HttpRequestBase> requestAccessor)
Parameters
Type | Name | Description |
---|---|---|
ServiceAccessor<System.Web.HttpRequestBase> | requestAccessor |
Methods
Personalize()
Declaration
public bool Personalize()
Returns
Type | Description |
---|---|
System.Boolean |