Partilhar via


Método BrokenReferenceDetector.DetectBrokenReferences (IEnumerable<ModelElement>, IServiceProvider, Action<ModelElement, DomainPropertyInfo, ModelBusReference>)

Procura através da coleção de referências inválidas e em cada encontra-se chama invalidAction

Namespace:  Microsoft.VisualStudio.Modeling.Integration.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)

Sintaxe

'Declaração
Public Shared Sub DetectBrokenReferences ( _
    collection As IEnumerable(Of ModelElement), _
    serviceProvider As IServiceProvider, _
    brokenReferenceAction As Action(Of ModelElement, DomainPropertyInfo, ModelBusReference) _
)
public static void DetectBrokenReferences(
    IEnumerable<ModelElement> collection,
    IServiceProvider serviceProvider,
    Action<ModelElement, DomainPropertyInfo, ModelBusReference> brokenReferenceAction
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

BrokenReferenceDetector Classe

Sobrecargas DetectBrokenReferences

Namespace Microsoft.VisualStudio.Modeling.Integration.Picker