Share via


ValidationController Members

Include Protected Members
Include Inherited Members

Contains logic to validate a single model element or all model elements in a store or partition.

The ValidationController type exposes the following members.

Constructors

 

Name

Description

Public method

ValidationController

Creates a new instance of the ValidationController class.

Top

Methods

 

Name

Description

Public method

AddObserver

Adds an observer to the list of observers for the controller.

Public method

ClearMessages

Removes all messages from the controller.

Protected method

CreateValidationContext

Overloaded. Creates a ValidationContext object.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

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

Serves as a hash function for a particular type. (Inherited from Object.)

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

RemoveObserver

Removes the observer from the list of observers for the controller.

Public method

ToString

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

Public method

Validate

Overloaded. Validates one or more model elements.

Public method

ValidateCustom

Overloaded. Validates one or more model elements using custom validation.

Top

Properties

 

Name

Description

Public property

ErrorMessages

Public property

FatalMessages

Public property

InformationalMessages

Public property

ValidationMessages

Gets the validation messages for the controller.

Public property

WarningMessages

Top

See Also

Reference

ValidationController Class

Microsoft.VisualStudio.Modeling.Validation Namespace