AllowChildrenAttribute.Apply Methods

AllowChildrenAttribute.Apply Methods

Applies this attribute's settings to the definition model. Automatically called by the Redakt system on startup.

Overloads

Apply(PageDefinition) Applies this attribute's settings to the definition model. Automatically called by the Redakt system on startup.
Apply(ContentDefinition) Applies this attribute's settings to the definition model. Automatically called by the Redakt system on startup.

Apply(PageDefinition)

Applies this attribute's settings to the definition model. Automatically called by the Redakt system on startup.

public void Apply(PageDefinition model);

Parameters

model PageDefinition
The page definition model to apply this attribute to.

Returns

void

Implements

IPageModelAttribute.Apply(Redakt.Models.PageDefinition)

Apply(ContentDefinition)

Applies this attribute's settings to the definition model. Automatically called by the Redakt system on startup.

public void Apply(ContentDefinition model);

Parameters

model ContentDefinition
The content definition model to apply this attribute to.

Returns

void

Implements

IContentModelAttribute.Apply(Redakt.Models.ContentDefinition)