ValidationController.GetExtensionElements Method
Calculates and returns a list of extension elements that should be included in the list of elements being validated
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
Protected Overridable Function GetExtensionElements ( _
elementsToValidate As IEnumerable(Of ModelElement) _
) As IEnumerable(Of ExtensionElement)
protected virtual IEnumerable<ExtensionElement> GetExtensionElements(
IEnumerable<ModelElement> elementsToValidate
)
protected:
virtual IEnumerable<ExtensionElement^>^ GetExtensionElements(
IEnumerable<ModelElement^>^ elementsToValidate
)
abstract GetExtensionElements :
elementsToValidate:IEnumerable<ModelElement> -> IEnumerable<ExtensionElement>
override GetExtensionElements :
elementsToValidate:IEnumerable<ModelElement> -> IEnumerable<ExtensionElement>
protected function GetExtensionElements(
elementsToValidate : IEnumerable<ModelElement>
) : IEnumerable<ExtensionElement>
Parameters
- elementsToValidate
Type: System.Collections.Generic.IEnumerable<ModelElement>
The list of the elements to be validated passed in to the Validate(...)/ValidateCustom(...) method
Return Value
Type: System.Collections.Generic.IEnumerable<ExtensionElement>
A list of ExtensionElements that should also be validated
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.