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
System.Object
TransitionSessionToken
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Moderation.Core
Assembly: EPiServer.Social.Moderation.Core.dll
Version: 1.5.4
Syntax
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
System.Object.Equals(System.Object)

GetHashCode()

Returns the hash code for this TransitionSessionToken.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Hash code for this TransitionSessionToken

Overrides
System.Object.GetHashCode()
arrow_upward