Class CreationRule
- Namespace
- Dynamicweb.Content.Items.Activation
- Assembly
- Dynamicweb.dll
Represents an item instance creation rule.
- Inheritance
-
Creation
Rule
- Derived
- Inherited Members
Constructors
CreationRule()
Initializes a new instance of an object.
Properties
IsBroadcast
Gets value indicating whether the calling context must be aware of this rule rather than a rule aware of the context.
Property Value
Item
Gets or sets the item to which this rule applies.
Property Value
Name
Name of rule
Property Value
RuleType
Gets or sets the rule type
Property Value
SourceType
Gets or sets the activation source type.
Property Value
Value
Gets or sets the currently selected rule value.
Property Value
Methods
CanCreate(CreationRuleContext)
Returns value indicating whether item of can be created according to the given creation context.
Parameters
context
CreationRule Context Creation context.
Returns
- bool
Value indicating whether item of can be created according to the given creation context.
CreateEditor(CreationRuleEditorContext?)
Returns an instance of an object that is responsible for editing rule value.
Parameters
context
CreationRule Editor Context
Returns
- Editor
An instance of an object that is responsible for editing rule value.
GetValues()
Returns
Parse(object?)
Converts value to Collection.
Parameters
value
object