Share via


ChangeRule Members

Include Protected Members
Include Inherited Members

Represents a rule that is called when a change happens to an element in the model.

The ChangeRule type exposes the following members.

Constructors

 

Name

Description

Protected method

ChangeRule

Initializes a new instance of the ChangeRule class.

Top

Methods

 

Name

Description

Public method

CompareTo

Overloaded. Compares the rule to another object or rule.

Public method

ElementPropertyChanged

Alerts listeners that a property for an element has changed.

Public method

Equals

Overloaded. Verifies whether the rule is equal to another object or rule.

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Gets the hash code for the rule. (Inherited from Rule.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

FireBefore

Gets the rule and verifies whether it should raise before the change occurs. (Inherited from Rule.)

Public property

FireImmediately

Gets the rule and verifies whether it should raise immediately. (Inherited from Rule.)

Public property

FireOnLocalCommit

Gets the rule and verifies whether it should raise when the current transaction commits. (Inherited from Rule.)

Public property

FireOnTopLevelCommit

Gets the rule and verifies whether it should raise when the top level transaction commits. (Inherited from Rule.)

Public property

FireTime

Gets or sets when the rule should raise. (Inherited from Rule.)

Public property

IsEnabled

Gets or sets whether the rule is enabled. (Inherited from Rule.)

Public property

Priority

Gets the priority that is assigned to the rule. (Inherited from Rule.)

Top

See Also

Reference

ChangeRule Class

Microsoft.VisualStudio.Modeling Namespace