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.4Syntax
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 |
|