Class CompositePageBase<T>
Base class for all page related compostite event activities.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0Syntax
public abstract class CompositePageBase<T> : CompositeEventBase<T>, IEventActivity, ICompositePageActivity, ICompositeActivity where T : PageEventBase<T>, new()
Type Parameters
Name | Description |
---|---|
T |
Constructors
CompositePageBase()
Initializes a new instance of the CompositePageBase<T> class.
Declaration
protected CompositePageBase()
Fields
InvokedEvent
Invoked event
Declaration
public static DependencyProperty InvokedEvent
Field Value
Type | Description |
---|---|
System.Workflow.ComponentModel.DependencyProperty |
Properties
CacheKey
Gets the cache key which can be used to get the triggering PageEventArgs
Declaration
public string CacheKey { get; }
Property Value
Type | Description |
---|---|
System.String | The cache key. |
Remarks
The cached item can be recieved from EventTrackingService using IServiceProvider which can be recieved when i.e. overriding Initialize on workflow class
Examples
Shows how Cache service can be used
EventType
The WorkflowPageEvent type of this event
Declaration
public WorkflowPageEvent EventType { get; }
Property Value
Type | Description |
---|---|
WorkflowPageEvent |
PageLink
The PageLink for the page that is associated with the DataFactory event
Declaration
public PageReference PageLink { get; }
Property Value
Type | Description |
---|---|
PageReference |
TargetLink
The TargetLink for the page that is associated with the DataFactory event
Declaration
public PageReference TargetLink { get; }
Property Value
Type | Description |
---|---|
PageReference |
Methods
EventActivity_Invoked(Object, ExternalDataEventArgs)
Handles the Invoked event of the EventActivity control.
Declaration
protected virtual void EventActivity_Invoked(object sender, ExternalDataEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The source of the event. |
System.Workflow.Activities.ExternalDataEventArgs | e | The System.Workflow.Activities.ExternalDataEventArgs instance containing the event data. |
Events
Invoked
Event delegate that is called when event occurs
Declaration
public event EventHandler<WorkflowPageEventArgs> Invoked
Event Type
Type | Description |
---|---|
System.EventHandler<WorkflowPageEventArgs> |