Try our conversational search powered by Generative AI!

Interface IContentLockEvaluator

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Signature for component that can lock updates of content versions. Called during validation of content before content updates.

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

Methods

IsLocked(ContentReference)

Called to determine if a content version is considered locked for updates or state transitions.

Declaration
ContentLock IsLocked(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink

A reference to the content instance

Returns
Type Description
ContentLock

Information about the lock or null if content version is not locked

Extension Methods