Class WorkflowItem
The WorkflowItem class captures the state and data of an entity within a moderation workflow.
Inheritance
Inherited Members
Namespace: EPiServer.Social.Moderation.Core
Assembly: EPiServer.Social.Moderation.Core.dll
Version: 1.5.4Syntax
public class WorkflowItem
Constructors
WorkflowItem(WorkflowId, WorkflowState, Reference)
Constructor
Declaration
public WorkflowItem(WorkflowId workflowId, WorkflowState state, Reference target)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkflowId | workflowId | ID of the workflow with which this item is associated |
| WorkflowState | state | State of this item within the associated workflow |
| Reference | target | Reference identifying the entity under moderation |
WorkflowItem(WorkflowItemId, WorkflowId, WorkflowState, Reference, DateTime)
Constructor
Declaration
public WorkflowItem(WorkflowItemId id, WorkflowId workflowId, WorkflowState state, Reference target, DateTime created)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkflowItemId | id | Identifier for this workflow item |
| WorkflowId | workflowId | ID of the workflow with which this item is associated |
| WorkflowState | state | State of this item within the associated workflow |
| Reference | target | Reference identifying the entity under moderation |
| System.DateTime | created | Date on which this item was created |
Properties
Created
Gets the date on which this item was created.
Declaration
public DateTime Created { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Id
Gets the unique identifier for this workflow item.
Declaration
public WorkflowItemId Id { get; }
Property Value
| Type | Description |
|---|---|
| WorkflowItemId |
State
Gets the state of this item within the associated workflow.
Declaration
public WorkflowState State { get; }
Property Value
| Type | Description |
|---|---|
| WorkflowState |
Target
Gets the reference identifying the entity under moderation.
Declaration
public Reference Target { get; }
Property Value
| Type | Description |
|---|---|
| Reference |
Workflow
Gets the ID of the workflow with which this item is associated.
Declaration
public WorkflowId Workflow { get; }
Property Value
| Type | Description |
|---|---|
| WorkflowId |