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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0.dll)
Syntax
'Declaration
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
)
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 static function DetectBrokenReferences(
collection : IEnumerable<ModelElement>,
serviceProvider : IServiceProvider,
brokenReferenceAction : Action<ModelElement, DomainPropertyInfo, ModelBusReference>
)
Parameters
- collection
Type: IEnumerable<ModelElement>
- serviceProvider
Type: IServiceProvider
- brokenReferenceAction
Type: Action<ModelElement, DomainPropertyInfo, ModelBusReference>
.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.
See Also
Reference
DetectBrokenReferences Overload
Microsoft.VisualStudio.Modeling.Integration.Picker Namespace