EnableWorkflowAttribute Class

EnableWorkflowAttribute Class

Specifies whether publish workflow should be enabled for this model. Defaults to true for page models, and false to content models.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class EnableWorkflowAttribute: Attribute, IPageModelAttribute, IContentModelAttribute

Inheritance  Attribute EnableWorkflowAttribute

Implements  IPageModelAttribute, IContentModelAttribute

Constructors

Name Description
EnableWorkflowAttribute(bool) Default constructor.

Methods

Name Description
Apply(PageDefinition)
Apply(ContentDefinition)