ValidationController Methods
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | AddObserver(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. |
![]() | ClearMessages() | Removes all error and warning messages from the controller. |
![]() | CreateValidationContext(IEnumerable<ModelElement^>^, array<String^>^) | Create a context for validation of a collection of model elements. Every validation method that belongs to any of the specified custom categories will be applied to every element in the subjects list. |
![]() | CreateValidationContext(IEnumerable<ModelElement^>^, ValidationCategories) | Creates a validation context for validation of a list of elements. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetExtensionElements(IEnumerable<ModelElement^>^) | Calculates and returns a list of extension elements that should be included in the list of elements being validated |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RemoveObserver(ValidationMessageObserver^) | Removes the observer from the list of observers for the controller. |
![]() | ToString() | (Inherited from Object.) |
![]() | Validate(IEnumerable<ModelElement^>^, ValidationCategories) | Apply validation methods to every model element in a list. Methods will be invoked that have a ValidationMethod attribute for one or more of the specified Categories. |
![]() | Validate(ModelElement^, ValidationCategories) | Do validation for a single element, invoking validation methods that have ValidationMethod attributes for one or more of the specified validation categories. |
![]() | Validate(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. |
![]() | Validate(Store^, ValidationCategories) | Apply validation to every element in the Store, invoking methods that have ValidationMethod attributes for one or more of the specified categories. |
![]() | ValidateCustom(IEnumerable<ModelElement^>^, array<String^>^) | Apply validation methods to each element in the collection. Each validation method in any of the chosen categories is applied to each element in the list. A validation method is in a category if it has a ValidationMethod attribute that specifies the category. |
![]() | ValidateCustom(ModelElement^, array<String^>^) | Validates the specified model element using validation methods in the specified custom validation categories. |
![]() | ValidateCustom(Partition^, array<String^>^) | Validates the model elements in a partition for the specified custom validation categories. |
![]() | ValidateCustom(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. |

