Class ContentStatusController
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: 10.10.4Syntax
[Obsolete("Replaced by EPiServer.Core.IStatusTransitionEvaluator", true)]
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 |