Compartir a través de


VsValidationController Class

Definition

VS model validation controller.

public ref class VsValidationController : Microsoft::VisualStudio::Modeling::Validation::ValidationController
public class VsValidationController : Microsoft.VisualStudio.Modeling.Validation.ValidationController
type VsValidationController = class
    inherit ValidationController
Public Class VsValidationController
Inherits ValidationController
Inheritance
VsValidationController

Constructors

VsValidationController(IServiceProvider, Type)

Constructor.

VsValidationController(IServiceProvider)

Constructor.

Properties

ErrorMessages

gets a copy of all the active error and fatal messages.

(Inherited from ValidationController)
FatalMessages

gets a copy of all the active fatal messages.

(Inherited from ValidationController)
IncludeLinkedExtensionElements

Indicates whether ExtensionElements linked to the ModelElements being validated should also be validated.

(Inherited from ValidationController)
InformationalMessages

gets a copy of all the active informational messages.

(Inherited from ValidationController)
ServiceProvider

Returns the service provider.

ValidationExtensionRegistrar

Property for ValidationExtension Registrar

(Inherited from ValidationController)
ValidationMessages

gets a copy of all the active error/warning/message messages.

(Inherited from ValidationController)
WarningMessages

gets a copy of all the active warning messages.

(Inherited from ValidationController)

Methods

AddObserver(ValidationMessageObserver)

Add observer to validation message updates...

(Inherited from ValidationController)
ClearMessages()

Clears all validation messages

CreateValidationContext(IEnumerable<ModelElement>, String[])

Provide a context class for the validation

CreateValidationContext(IEnumerable<ModelElement>, ValidationCategories)

Provide a context class for the validation

GetExtensionElements(IEnumerable<ModelElement>)

Calculates and returns a list of extension elements that should be included in the list of elements being validated

(Inherited from ValidationController)
RemoveObserver(ValidationMessageObserver)

Remove observer to validation message updates...

(Inherited from ValidationController)
Validate(IEnumerable<ModelElement>, ValidationCategories)

Do validation for a set of elements

Validate(ModelElement, ValidationCategories)

Do validation for a single element

(Inherited from ValidationController)
Validate(Partition, ValidationCategories)

Validate the whole store

(Inherited from ValidationController)
Validate(Store, ValidationCategories)

Validate the whole store

(Inherited from ValidationController)
ValidateCustom(IEnumerable<ModelElement>, String[])

Do validation for a set of elements based on the custom specified string

ValidateCustom(ModelElement, String[])

Do validation for a single element

(Inherited from ValidationController)
ValidateCustom(Partition, String[])

Validate the whole partition

(Inherited from ValidationController)
ValidateCustom(Store, String[])

Validate the whole store

(Inherited from ValidationController)

Applies to