ValidationController.GetExtensionElements Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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