Rule class

Represents a rule that automatically handles incoming messages. A rule consists of a set of conditions and exceptions that determine whether or not a set of actions should be executed on incoming messages.
Inheritance

Constructors

Rule()
Initializes a new instance of the

Properties

Actions → RuleActions
Gets the actions that should be executed against incoming messages if the conditions evaluate as true.
no setter
actions → RuleActions
The rule actions.
final
Conditions → RulePredicates
Gets the conditions that determine whether or not this rule should be executed against incoming messages.
no setter
conditions → RulePredicates
The rule conditions.
final
DisplayName ↔ String?
Gets or sets the name of this rule as it should be displayed to the user.
getter/setter pair
displayName ↔ String?
The rule display name.
getter/setter pair
Exceptions → RulePredicates
Gets the exceptions that determine if this rule should be skipped even if its conditions evaluate to true.
no setter
exceptions → RulePredicates
The rule exceptions.
final
hashCode → int
The hash code for this object.
no setterinherited
Id ↔ String?
Gets or sets the Id of this rule.
getter/setter pair
IsEnabled ↔ bool
Gets or sets a value indicating whether this rule is enabled.
getter/setter pair
isEnabled ↔ bool
The rule status of enabled or not.
getter/setter pair
IsInError ↔ bool
Gets or sets a value indicating whether this rule has errors. A rule that is in error cannot be processed unless it is updated and the error is corrected.
getter/setter pair
isInError ↔ bool
The rule status of in error or not.
getter/setter pair
IsNotSupported → bool
Gets a value indicating whether this rule can be modified via EWS. If IsNotSupported is true, the rule cannot be modified via EWS.
no setter
isNotSupported ↔ bool
The rule status of is supported or not.
getter/setter pair
Namespace ↔ XmlNamespace
Gets or sets the namespace.
getter/setter pairinherited
OnChangeList ↔ List<IComplexPropertyChangedDelegate>
Occurs when property changed.
getter/setter pairinherited
Priority ↔ int
Gets or sets the priority of this rule, which determines its execution order.
getter/setter pair
priority ↔ int
The rule priority.
getter/setter pair
ruleId ↔ String?
The rule ID.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addOnChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
CanSetFieldValue<T>(T field, T value) → bool
Sets value of field.
inherited
Changed() → void
Instance was changed.
inherited
ClearChangeLog() → void
Clears the change log.
inherited
InternalValidate() → void
Validates this instance.
override
LoadFromXml(EwsServiceXmlReader reader, String? xmlElementName) → Future<void>
Loads from XML.
inherited
LoadFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String? xmlElementName) → Future<void>
Loads from XML.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ReadAttributesFromXml(EwsServiceXmlReader reader) → void
Reads the attributes from XML.
inherited
ReadTextValueFromXml(EwsServiceXmlReader reader) → Future<void>
Reads the text value from XML.
inherited
removeChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
toString() → String
A string representation of this object.
inherited
TryReadElementFromXml(EwsServiceXmlReader reader) → Future<bool>
Tries to read element from XML.
override
TryReadElementFromXmlToPatch(EwsServiceXmlReader reader) → Future<bool>
Tries to read element from XML to patch this property.
inherited
UpdateFromXml(EwsServiceXmlReader reader, String xmlElementName) → Future<void>
Loads from XML to update this property.
inherited
UpdateFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String xmlElementName) → Future<void>
Loads from XML to update itself.
inherited
Validate() → void
Implements ISelfValidate.Validate. Validates this instance.
inherited
WriteAttributesToXml(EwsServiceXmlWriter writer) → void
Writes the attributes to XML.
inherited
WriteElementsToXml(EwsServiceXmlWriter writer) → void
Writes elements to XML.
override
WriteToXml(EwsServiceXmlWriter writer, String? xmlElementName) → void
Writes to XML.
inherited
WriteToXmlWithNamespace(EwsServiceXmlWriter writer, XmlNamespace xmlNamespace, String? xmlElementName) → void
Writes to XML.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited