Class StatusTransitionEvaluatorExtensions
Extension methods for the IStatusTransitionEvaluator interface.
Inheritance
System.Object
StatusTransitionEvaluatorExtensions
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public static class StatusTransitionEvaluatorExtensions : Object
Methods
IsNewVersionRequired(IStatusTransitionEvaluator, IContent, SaveAction)
Evaluates if it will be required to create a new version if the provided action is taken on a content item.
Declaration
public static bool IsNewVersionRequired(this IStatusTransitionEvaluator evaluator, IContent content, SaveAction action)
Parameters
Type | Name | Description |
---|---|---|
IStatusTransitionEvaluator | evaluator | The evaluator that will evaluate the transition. |
IContent | content | The content item that should be evaluated. |
SaveAction | action | The suggested action to take. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Remarks
The return value will be false
if the the provided action isn't valid.