Class TransitionSessionToken
The TransitionSessionToken class describes a protected session in which an application has requested exclusive access to transition a particular target through a workflow.
Inheritance
Inherited Members
Namespace: EPiServer.Social.Moderation.Core
Assembly: EPiServer.Social.Moderation.Core.dll
Version: 1.5.4Syntax
public class TransitionSessionToken
Constructors
TransitionSessionToken(String, WorkflowId, Reference, DateTime)
Constructor
Declaration
public TransitionSessionToken(string value, WorkflowId workflow, Reference target, DateTime issued)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value | Unique value identifying the token |
| WorkflowId | workflow | Identifies the workflow associated with the transition |
| Reference | target | Identifies the target to be transitioned |
| System.DateTime | issued | Date and time when the token was issued |
Properties
Issued
Gets the date and time when this token was issued.
Declaration
public DateTime Issued { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Target
Gets the identifier for the target to be transitioned.
Declaration
public Reference Target { get; }
Property Value
| Type | Description |
|---|---|
| Reference |
Value
Gets a unique value identifying the token.
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Workflow
Gets the identifier for the workflow associated with the transition.
Declaration
public WorkflowId Workflow { get; }
Property Value
| Type | Description |
|---|---|
| WorkflowId |
Methods
Equals(Object)
Determines whether the specified object is equal to this TransitionSessionToken.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj | Object to compare |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the specified object is equal to this TransitionSessionToken, false otherwise |
Overrides
GetHashCode()
Returns the hash code for this TransitionSessionToken.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 | Hash code for this TransitionSessionToken |