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.
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
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
Fields
Invalid
Declaration
public static readonly StatusTransition Invalid
Field Value
Properties
CreateNewVersion
Declaration
public bool CreateNewVersion { get; }
Property Value
Type |
Description |
System.Boolean |
|
CurrentStatus
Declaration
public VersionStatus CurrentStatus { get; }
Property Value
NextStatus
Declaration
public VersionStatus NextStatus { get; }
Property Value
Methods
Equals(StatusTransition)
Declaration
public bool Equals(StatusTransition other)
Parameters
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
Returns
Type |
Description |
System.Boolean |
|
Inequality(StatusTransition, StatusTransition)
Declaration
public static bool operator !=(StatusTransition left, StatusTransition right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>
Extension Methods