SaaS CMS has officially launched! Learn more now.

Class PageEventBase<T>

The base class which all DataFactory related event activities derives from

Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 7.19.2
Syntax
public abstract class PageEventBase<T> : EventBase where T : PageEventBase<T>, new()
Type Parameters
Name Description
T

The DataFactory event related activity

Constructors

PageEventBase(Type, String, String)

Initializes a new instance of the PageEventBase<T> class.

Declaration
protected PageEventBase(Type interfaceType, string eventName, string description)
Parameters
Type Name Description
System.Type interfaceType

Type of the interface.

System.String eventName

Name of the event.

System.String description

The description.

Fields

CacheKeyProperty

Registers CacheKey as a dependency property to make it avilable for databinding

Declaration
public static DependencyProperty CacheKeyProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

EventTypeProperty

EventType as a dependency property to make it avilable for databinding

Declaration
public static DependencyProperty EventTypeProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

PageLinkProperty

Registers PageLink as a dependency property to make it avilable for databinding

Declaration
public static DependencyProperty PageLinkProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

TargetLinkProperty

RegistersTargetLink as a dependency property to make it avilable for databinding

Declaration
public static DependencyProperty TargetLinkProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

Properties

CacheKey

Gets the cache key.

Declaration
public string CacheKey { get; }
Property Value
Type Description
System.String

The cache key.

Remarks

The cached item can be recieved from CacheService using IServiceProvider which can be recieved when i.e. overriding Initialize

EventType

The event type that caused this event

Declaration
public WorkflowPageEvent EventType { get; }
Property Value
Type Description
WorkflowPageEvent

The PageLink for the page that is associated with the DataFactory event

Declaration
public PageReference PageLink { get; }
Property Value
Type Description
PageReference

The TargetId for the page that is associated with the DataFactory event

Declaration
public PageReference TargetLink { get; }
Property Value
Type Description
PageReference

Methods

OnInvoked(EventArgs)

When the event is invoked the databoundable properties are set

Declaration
protected override void OnInvoked(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

Extension Methods