RuleEventArgs Class

Namespace: CodeEffects.Rule.Asp
Assembly: CodeEffects.Rule.dll

The arguments class that provides information about the rule when the DeleteRule and LoadRule events of the Asp.RuleEditor are raised.

Syntax

public class  RuleEventArgs : System.EventArgs

Properties

  • IsEvaluationTypeRule Type: System.Nullable<System.Boolean>

    Gets or sets the value indicating whether the rule that is being handled is of evaluation type. Obviously, a value of False means that the rule is of execution type. This property helps when you store different types of rules in different locations. A value of null indicates that Code Effects component doesn't know the type of the rule.

  • RuleID Type: System.String

    Gets or sets the ID of the rule that is being handled. Note that Code Effects component assigns IDs to all new rules automatically using string representations of System.Guid. Those IDs are stored in Rule XML. The only time you need to overwrite this value is if your system uses its own rule IDs.

Notes

The Asp.RuleEditor and Toolbar topics provide code samples that use the RuleEventArgs class.

Post your support requests on Stackoverflow.com. You can also post your comments and product feedback using the form at the bottom of this page.
Comments: 0
Name (optional):
Comment (URLs are allowed and must start with http:// or https://; all tags will be encoded):
Remaining character count: