Click or drag to resize

ActionElement Class

Action executed by the engine when the rule fires.
Inheritance Hierarchy

Namespace:  NRules.RuleModel
Assembly:  NRules.RuleModel (in NRules.RuleModel.dll) Version: 0.9.3
Syntax
C#
public class ActionElement : ExpressionElement

The ActionElement type exposes the following members.

Properties
  NameDescription
Public propertyActionTrigger
Activation events that trigger this action.
Public propertyElementType
Element type of this rule element.
(Overrides RuleElementElementType.)
Public propertyExports
Rule element declarations exported to the outer scope.
(Inherited from RuleElement.)
Public propertyExpression
Expression.
(Inherited from ExpressionElement.)
Public propertyImports
Rule element declarations imported from the outer scope.
(Inherited from RuleElement.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultTrigger
Default value for action trigger.
Top
Extension Methods
  NameDescription
Public Extension MethodMatch
Matches a rule element to an appropriate action based on the concrete type of the element. Type-safe implementation of discriminated union for rule elements.
(Defined by RuleElementExtensions.)
Top
See Also