Class ApprovalActivity
An activity related to Approval events in the system.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public class ApprovalActivity : Activity
Constructors
ApprovalActivity(String, ApprovalActionType)
Initializes a new instance of the ApprovalActivity class.
Declaration
public ApprovalActivity(string activityType, ApprovalActionType actionType)
Parameters
Type | Name | Description |
---|---|---|
System.String | activityType | |
ApprovalActionType | actionType |
ApprovalActivity(String, ApprovalActionType, Uri, Int32, Int32, String, String)
Initializes a new instance of the ApprovalActivity class.
Declaration
public ApprovalActivity(string activityType, ApprovalActionType actionType, Uri approvalReference, int approvalID, int definitionVersionID, string changedBy, string comment)
Parameters
Type | Name | Description |
---|---|---|
System.String | activityType | |
ApprovalActionType | actionType | |
System.Uri | approvalReference | |
System.Int32 | approvalID | |
System.Int32 | definitionVersionID | |
System.String | changedBy | |
System.String | comment |
Properties
ActionType
Gets the approval activity action type.
Declaration
public virtual ApprovalActionType ActionType { get; }
Property Value
Type | Description |
---|---|
ApprovalActionType |
ApprovalID
Gets the indentity of the approval refered to by this activity.
Declaration
public virtual int ApprovalID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ApprovalReference
Gets the reference of the approval refered to by this activity.
Declaration
public virtual Uri ApprovalReference { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |
Comment
Gets the comment that was added to the approval refered to by this activity.
Declaration
public virtual string Comment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DefinitionVersionID
Gets the version indentity of the approval definition refered to by this activity.
Declaration
public virtual int DefinitionVersionID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |