VsValidationController Class

 

VS model validation controller.

Namespace:   Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.Validation::ValidationController
    Microsoft.VisualStudio.Modeling.Shell::VsValidationController

public ref class VsValidationController : ValidationController

NameDescription
System_CAPS_pubpropertyErrorMessages

Gets a copy of all the active error and fatal messages.(Inherited from ValidationController.)

System_CAPS_pubpropertyFatalMessages

Gets a copy of all the active fatal messages.(Inherited from ValidationController.)

System_CAPS_pubpropertyIncludeLinkedExtensionElements

Indicates whether ExtensionElements linked to the ModelElements being validated should also be validated. ExtensionElements allow a DSL definition to be extended by a third party.(Inherited from ValidationController.)

System_CAPS_pubpropertyInformationalMessages

gets a copy of all the active informational messages.(Inherited from ValidationController.)

System_CAPS_protpropertyServiceProvider

System_CAPS_pubpropertyValidationExtensionRegistrar

Property for ValidationExtension Registrar(Inherited from ValidationController.)

System_CAPS_pubpropertyValidationMessages

Gets the validation messages for the controller.(Inherited from ValidationController.)

System_CAPS_pubpropertyWarningMessages

Gets a copy of all the active warning messages.(Inherited from ValidationController.)

NameDescription
System_CAPS_pubmethodAddObserver(ValidationMessageObserver^)

Adds an observer to the list of observers for the controller. The observer will be notified when a message is added to or removed from the list for this controller.(Inherited from ValidationController.)

System_CAPS_pubmethodClearMessages()

Clears all validation messages(Overrides ValidationController::ClearMessages().)

System_CAPS_protmethodCreateValidationContext(IEnumerable<ModelElement^>^, array<String^>^)
System_CAPS_protmethodCreateValidationContext(IEnumerable<ModelElement^>^, ValidationCategories)
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGetExtensionElements(IEnumerable<ModelElement^>^)

Calculates and returns a list of extension elements that should be included in the list of elements being validated(Inherited from ValidationController.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveObserver(ValidationMessageObserver^)

Removes the observer from the list of observers for the controller.(Inherited from ValidationController.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(IEnumerable<ModelElement^>^, ValidationCategories)

Invoke all the validation methods that are applicable to the set of elements. (Overrides ValidationController::Validate(IEnumerable<ModelElement^>^, ValidationCategories).)

System_CAPS_pubmethodValidate(ModelElement^, ValidationCategories)

Do validation for a single element, invoking validation methods that have ValidationMethod attributes for one or more of the specified validation categories.(Inherited from ValidationController.)

System_CAPS_pubmethodValidate(Partition^, ValidationCategories)

Apply validation to every element in the specified partition, invoking validation methods that have ValidationMethod attributes for one or more of the specified categories.(Inherited from ValidationController.)

System_CAPS_pubmethodValidate(Store^, ValidationCategories)

Apply validation to every element in the Store, invoking methods that have ValidationMethod attributes for one or more of the specified categories.(Inherited from ValidationController.)

System_CAPS_pubmethodValidateCustom(IEnumerable<ModelElement^>^, array<String^>^)

Invoke all the validation methods of a set of elements, including their(Overrides ValidationController::ValidateCustom(IEnumerable<ModelElement^>^, array<String^>^).)

System_CAPS_pubmethodValidateCustom(ModelElement^, array<String^>^)

Validates the specified model element using validation methods in the specified custom validation categories.(Inherited from ValidationController.)

System_CAPS_pubmethodValidateCustom(Partition^, array<String^>^)

Validates the model elements in a partition for the specified custom validation categories.(Inherited from ValidationController.)

System_CAPS_pubmethodValidateCustom(Store^, array<String^>^)

Validates every model elements in a store, using validation methods in the specified custom categories. A validation method belongs to a category if it has a ValidationMethod attribute specifying that category.(Inherited from ValidationController.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: