Class HistoryItem
Represents some occurence for a workflow instance
Inheritance
Implements
Inherited Members
Namespace: EPiServer.WorkflowFoundation
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0Syntax
public class HistoryItem : IDeepCopy<HistoryItem>
Constructors
HistoryItem(String, String, String)
Creates a new History item
Declaration
public HistoryItem(string subject, string description, string user)
Parameters
Type | Name | Description |
---|---|---|
System.String | subject | subject |
System.String | description | description |
System.String | user | user |
Remarks
If subject and/or description is passed a reference to a language path such as /demo/subject then the it will be translated at request time
HistoryItem(String, String, String, LocalizationService)
Creates a new History item
Declaration
public HistoryItem(string subject, string description, string user, LocalizationService localizationService)
Parameters
Type | Name | Description |
---|---|---|
System.String | subject | subject |
System.String | description | description |
System.String | user | user |
LocalizationService | localizationService | The ResouceLocator used for translation. |
Remarks
If subject and/or description is passed a reference to a language path such as /demo/subject then the it will be translated at request time.
If localizationService
is null
the static instance Current will be used.
Properties
Date
Date/Time for the occurance
Declaration
public DateTime Date { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
Description
Desctiption of the occurance
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If description is passed a reference to a language path such as /demo/description then the it will be translated at request time
Subject
Subject for the occurance
Declaration
public string Subject { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If subject is passed a reference to a language path such as /demo/subject then the it will be translated at request time
User
The user linked to this occurance (if any)
Declaration
public string User { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
DeepCopy()
Makes deep copy of this item
Declaration
public HistoryItem DeepCopy()
Returns
Type | Description |
---|---|
HistoryItem | copy |