RuleEventArgs Class

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

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

Syntax

public partial 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 Rule Editor 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 Rule Editor 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.

Comments: 0
Post your questions about Code Effects on Stackoverflow.com
and become a part of our growing community
Name (optional):
Comment (URLs are allowed and must start with http:// or https://; all tags will be encoded):
Remaining character count: