Class ChildItemTypeRestrictionRule
- Namespace
- Dynamicweb.Content.Items.Activation
- Assembly
- Dynamicweb.dll
Represents a child item type restriction rule.
[Name("")]
[SortIndex(5)]
[AddInTarget("ItemTypes")]
public class ChildItemTypeRestrictionRule : CreationRuleBase
- Inheritance
-
ChildItemTypeRestrictionRule
- Inherited Members
Constructors
ChildItemTypeRestrictionRule()
Initializes a new instance of an object.
public ChildItemTypeRestrictionRule()
Properties
IsBroadcast
Gets value indicating whether the calling context must be aware of this rule rather than a rule aware of the context.
public override bool IsBroadcast { get; }
Property Value
Methods
CanCreateInner(CreationRuleContext, Page)
protected override bool CanCreateInner(CreationRuleContext context, Page parent)
Parameters
context
CreationRuleContextparent
Page
Returns
CreateEditor(CreationRuleEditorContext)
Returns an instance of an object that is responsible for editing rule value.
public override Editor CreateEditor(CreationRuleEditorContext context)
Parameters
context
CreationRuleEditorContext
Returns
- Editor
An instance of an object that is responsible for editing rule value.
GetMetadata(CreationRuleEditorContext)
protected virtual MetadataContainer GetMetadata(CreationRuleEditorContext context)
Parameters
context
CreationRuleEditorContext
Returns
GetValues()
public override IEnumerable<KeyValuePair<string, string>> GetValues()