Class TaskEventBase<T>

The base class which all Task related event activities derives from

Inheritance
System.Object
TaskEventBase<T>
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0
Syntax
public abstract class TaskEventBase<T> : EventBase where T : TaskEventBase<T>
Type Parameters
Name Description
T

The Task event related activity

Constructors

TaskEventBase(Type, String, String)

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

Declaration
protected TaskEventBase(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

AssignedToProperty

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

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

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

PreviousStatusProperty

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

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

StatusProperty

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

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

TaskDescriptionProperty

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

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

TaskSubjectProperty

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

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

Properties

AssignedTo

Who the task is assigned to

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

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

PreviousStatus

The previous status for the task

Declaration
public TaskStatus PreviousStatus { get; }
Property Value
Type Description
TaskStatus

Status

The status of the task

Declaration
public TaskStatus Status { get; }
Property Value
Type Description
TaskStatus

TaskDescription

The description for the task

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

TaskSubject

The subject of the task

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

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