Click or drag to resize

IContentUnitsInstantiability Interface


Represents a collection of security entries on wether certain Content Units can be associated with certain objects

Namespace:  Ingeniux.CMS.Presentation
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public interface IContentUnitsInstantiability

The IContentUnitsInstantiability type exposes the following members.

Properties
  NameDescription
Public propertyInherited
Checks whether the instantiability settings are inherited from its parent
Top
Methods
  NameDescription
Public methodAllowContentUnit
Allows a Content Unit to be placed on Pages created with this Schema, and specifies how many times it can be placed, if the Content Unit is Reusable.
Public methodAllowedContentUnits
Retrieves all allowed Content Units that can be instantiated in current context
Public methodClear
Clear all entries
Public methodContentUnitAllowed
Checks whether a Content Unit can be instantiated in current context
Public methodContentUnitAllowedRepetition
Checks how many times a Reusable Content Unit is allowed to be instantiated in current context
Public methodContentUnitRepetitionSetting
Retrieves the collection of repeatable Content Units and how many times they can be instantiated in current context. There is no directly relation to AllowedContentUnits property. When AllowedContentUnits has no entries, which means all Content Units are allowed, we can still specify how many times they can repeat.
Public methodDenyContentUnit
Disallow a Content Unit to be placed on Pages created with this Schema
Public methodSetContentUnitAllowedRepetition
Sets the allowed repetition times of the Content Unit in current context
Top
See Also