Class ModuleAttachmentRestrictionRule
- Namespace
- Dynamicweb.Content.Items.Activation
- Assembly
- Dynamicweb.dll
[Name("")]
[AddInTarget("ItemTypes")]
public class ModuleAttachmentRestrictionRule : CreationRuleBase
- Inheritance
-
ModuleAttachmentRestrictionRule
- Inherited Members
Constructors
ModuleAttachmentRestrictionRule()
Initializes a new instance of an object.
public ModuleAttachmentRestrictionRule()
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.
GetValues()
public override IEnumerable<KeyValuePair<string, string>> GetValues()