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

Class ContentStatusController

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Helper class to evaluate transition changes

Inheritance
System.Object
ContentStatusController
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.Core.Internal
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class ContentStatusController

Constructors

ContentStatusController()

Declaration
public ContentStatusController()

Methods

EvaluateTransition(IContent, SaveAction)

Declaration
public StatusTransition EvaluateTransition(IContent content, SaveAction action)
Parameters
Type Name Description
IContent content
SaveAction action
Returns
Type Description
StatusTransition

EvaluateTransition(IContent, SaveAction, Boolean)

Declaration
public virtual StatusTransition EvaluateTransition(IContent content, SaveAction action, bool isModified)
Parameters
Type Name Description
IContent content
SaveAction action
System.Boolean isModified
Returns
Type Description
StatusTransition

IsNewVersionRequired(IContent, SaveAction)

Declaration
public virtual bool IsNewVersionRequired(IContent content, SaveAction action)
Parameters
Type Name Description
IContent content
SaveAction action
Returns
Type Description
System.Boolean

IsNewVersionRequired(IContent, SaveAction, Boolean)

Declaration
public virtual bool IsNewVersionRequired(IContent content, SaveAction action, bool isModified)
Parameters
Type Name Description
IContent content
SaveAction action
System.Boolean isModified
Returns
Type Description
System.Boolean

Extension Methods