ValidationController.GetExtensionElements Method

Definition

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

protected:
 virtual System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ExtensionElement ^> ^ GetExtensionElements(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ elementsToValidate);
protected virtual System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ExtensionElement> GetExtensionElements (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> elementsToValidate);
abstract member GetExtensionElements : seq<Microsoft.VisualStudio.Modeling.ModelElement> -> seq<Microsoft.VisualStudio.Modeling.ExtensionElement>
override this.GetExtensionElements : seq<Microsoft.VisualStudio.Modeling.ModelElement> -> seq<Microsoft.VisualStudio.Modeling.ExtensionElement>
Protected Overridable Function GetExtensionElements (elementsToValidate As IEnumerable(Of ModelElement)) As IEnumerable(Of ExtensionElement)

Parameters

elementsToValidate
IEnumerable<ModelElement>

The list of the elements to be validated passed in to the Validate(...)/ValidateCustom(...) method

Returns

A list of ExtensionElements that should also be validated

Applies to