Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

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
public interface IStatusTransitionEvaluator


Evaluate(IContent, SaveAction)

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

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

The content item that should be evaluated.

SaveAction action

The suggested action to take.

Type Description

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