Rule Class
Represents a single validation rule in a diagram validation rule set.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramRule

Namespace: Aspose.Diagram
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.2.0.0 (20.2)
Syntax
public class Rule

The Rule type exposes the following members.

Constructors
  NameDescription
Public methodRule
Constructor.
Properties
  NameDescription
Public propertyCategory
Specifies the text displayed in the Category column of the Issues window. Default is an empty string.
Public propertyDescription
the description of the validation rule that appears in the user interface. Default is "Unknown".
Public propertyID
Specifies the unique identifier of the validation rule.
Public propertyIgnored
Specifies whether the validation rule is currently ignored. Default is False.
Public propertyNameU
Specifies the universal name of the validation rule.
Public propertyRuleTarget
Specifies the type of object to which the validation rule applies.
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 a hash function for a particular type.
(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.)
Fields
  NameDescription
Public fieldRuleFilter
Specifies the logical expression that determines whether the validation rule should be applied to a target object.
Public fieldRuleTest
Specifies the logical expression that determines whether the target object satisfies the validation rule
See Also