Class PageVisited
Page extension that notify criterion when a page is visited.
Inheritance
System.Object
PageVisited
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.Web.PageExtensions
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[PagePlugIn("PageVisited", "Support for page visited which used by criterion", SortIndex = 10000)]
public class PageVisited
Constructors
PageVisited()
Declaration
public PageVisited()
Properties
OptionFlag
Flag value to determine if this plug in should be enabled.
Declaration
public static int OptionFlag { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Initialize(Int32)
Method called at system startup to initialize this plug in.
Declaration
public static void Initialize(int optionFlag)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | optionFlag | The option flag value assigned to this plug in. |
Remarks
Using the plugin attribute [PagePlugIn] requires the class to contain a static void method named "Initialize" which will be called to attach to suitable event handlers.
Page_PreInit(Object, EventArgs)
Triggers the VisitedPage event for visitor group criteria.
Declaration
public static void Page_PreInit(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the event. |
System.EventArgs | e | The System.EventArgs instance containing the event data. |