Udostępnij za pośrednictwem


Metoda BrokenReferenceDetector.DetectBrokenReferences — (IEnumerable<ModelElement>, IServiceProvider, Action<ModelElement, DomainPropertyInfo, ModelBusReference>)

Wygląd kolekcji dla nieprawidłowych odniesień i na każdym znalezionych wywołuje invalidAction

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Integration.Picker
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)

Składnia

'Deklaracja
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
)

Parametry

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

BrokenReferenceDetector Klasa

Przeciążenie DetectBrokenReferences

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Integration.Picker