November Happy Hour will be moved to Thursday December 5th.

Struct StatusTransition

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

Implements
System.IEquatable<StatusTransition>
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public struct StatusTransition : IEquatable<StatusTransition>

Constructors

StatusTransition(VersionStatus, VersionStatus, Boolean)

Declaration
public StatusTransition(VersionStatus currentStatus, VersionStatus nextStatus, bool createNewVersion)
Parameters
Type Name Description
VersionStatus currentStatus
VersionStatus nextStatus
System.Boolean createNewVersion

Fields

Invalid

Declaration
public static readonly StatusTransition Invalid
Field Value
Type Description
StatusTransition

Properties

CreateNewVersion

Declaration
public bool CreateNewVersion { get; }
Property Value
Type Description
System.Boolean

CurrentStatus

Declaration
public VersionStatus CurrentStatus { get; }
Property Value
Type Description
VersionStatus

NextStatus

Declaration
public VersionStatus NextStatus { get; }
Property Value
Type Description
VersionStatus

Methods

Equals(StatusTransition)

Declaration
public bool Equals(StatusTransition other)
Parameters
Type Name Description
StatusTransition other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)

GetHashCode()

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

IsStatusChange()

Declaration
public bool IsStatusChange()
Returns
Type Description
System.Boolean

Operators

Equality(StatusTransition, StatusTransition)

Declaration
public static bool operator ==(StatusTransition left, StatusTransition right)
Parameters
Type Name Description
StatusTransition left
StatusTransition right
Returns
Type Description
System.Boolean

Inequality(StatusTransition, StatusTransition)

Declaration
public static bool operator !=(StatusTransition left, StatusTransition right)
Parameters
Type Name Description
StatusTransition left
StatusTransition right
Returns
Type Description
System.Boolean

Implements

System.IEquatable<T>

Extension Methods