Class SetApproversEvent

Event activity for set approvers event

Inheritance
System.Object
SetApproversEvent
Namespace: EPiServer.WorkflowFoundation.Workflows.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0
Syntax
[ActivityPlugIn]
public class SetApproversEvent : HandleExternalEventActivity
Remarks

Specifies the ActivityPlugIn attribute to point out the usercontrol that should be used to communicate with activity.

Constructors

SetApproversEvent()

Initializes a new instance of the SetApproversEvent class.

Declaration
public SetApproversEvent()

Fields

ApproversProperty

Registers Approvers as a dependencyproperty so it can be databound

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

NeededApprovmentsProperty

Registers NeededApprovments as a dependencyproperty so it can be databound

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

PageLinkProperty

Registers PageLink as a dependencyproperty so it can be databound

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

TaskDescriptionProperty

Registers TaskDescription as a dependencyproperty so it can be databound

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

Properties

Approvers

Gets or sets the approvers.

Declaration
public List<ApproverItem> Approvers { get; set; }
Property Value
Type Description
System.Collections.Generic.List<ApproverItem>

The approvers.

EventName

Gets the name of the raised event. This property must be set before local communication can occur.

Declaration
public override string EventName { get; set; }
Property Value
Type Description
System.String

InterfaceType

Gets or sets the System.Workflow.Activities.ExternalDataExchangeAttribute attributed interface type of the local service whose event will be handled. This property must be set before local communication can occur.

Declaration
public override Type InterfaceType { get; set; }
Property Value
Type Description
System.Type

NeededApprovments

Gets or sets the minimum number of needed approvments.

Declaration
public int NeededApprovments { get; set; }
Property Value
Type Description
System.Int32

The needed approvments.

Gets or sets the page link.

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

The page link.

TaskDescription

Gets or sets the task description.

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

The task description.

Methods

OnInvoked(EventArgs)

Called just after the external event is received to allow subclasses to process the inbound System.EventArgs before the activity closes.

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

The System.EventArgs that are received from the external event that was just received.