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

Interface IStatusTransitionEvaluator

Component that will evaluate which status a IContent item should transition to when a specific SaveAction is provided to the Save(IContent, SaveAction, AccessLevel) method.

Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IStatusTransitionEvaluator

Methods

Evaluate(IContent, SaveAction)

Evaluates which status a content item in it's current state should transition to if the provided action is taken.

Declaration
StatusTransition Evaluate(IContent content, SaveAction action)
Parameters
Type Name Description
IContent content

The content item that should be evaluated.

SaveAction action

The suggested action to take.

Returns
Type Description
StatusTransition

A StatusTransition object indicating which type of transition that should be made. If the the provided action isn't valid, Invalid will be returned.

Extension Methods