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

Interface IPublishedStateAssessor

Describes an object that can be used to assess if a content item currently is in a published state.

Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public interface IPublishedStateAssessor

Methods

IsPublished(IContent, PublishedStateCondition)

Determines whether the specified IContent instance currently is in a published state using the provided conditions.

Declaration
bool IsPublished(IContent content, PublishedStateCondition condition)
Parameters
Type Name Description
IContent content

The content instance that should be assessed.

PublishedStateCondition condition

The conditions of how the assessment should be done.

Returns
Type Description
System.Boolean

true if the content item is published; otherwise false.

Extension Methods