Share via


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

 

Looks through the collection for invalid references and on each that is found invokes invalidAction

Namespace:   Microsoft.VisualStudio.Modeling.Integration.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)

Syntax

public static void DetectBrokenReferences(
    IEnumerable<ModelElement> collection,
    IServiceProvider serviceProvider,
    Action<ModelElement, DomainPropertyInfo, ModelBusReference> brokenReferenceAction
)
public:
static void DetectBrokenReferences(
    IEnumerable<ModelElement^>^ collection,
    IServiceProvider^ serviceProvider,
    Action<ModelElement^, DomainPropertyInfo^, ModelBusReference^>^ brokenReferenceAction
)
static member DetectBrokenReferences : 
        collection:IEnumerable<ModelElement> *
        serviceProvider:IServiceProvider *
        brokenReferenceAction:Action<ModelElement, DomainPropertyInfo, ModelBusReference> -> unit
Public Shared Sub DetectBrokenReferences (
    collection As IEnumerable(Of ModelElement),
    serviceProvider As IServiceProvider,
    brokenReferenceAction As Action(Of ModelElement, DomainPropertyInfo, ModelBusReference)
)

Parameters

Return Value

See Also

DetectBrokenReferences Overload
BrokenReferenceDetector Class
Microsoft.VisualStudio.Modeling.Integration.Picker Namespace

Return to top