ChainingElementVisitorFilter Class

Definition

Standardized chaining visitor filter that takes a list of other filters to work on.

C++
public ref class ChainingElementVisitorFilter sealed : Microsoft::VisualStudio::Modeling::IElementVisitorFilter
Inheritance
ChainingElementVisitorFilter
Implements

Remarks

Can be used for copy, remove or other visitor filter implementations

Constructors

Methods

AddFilter(IElementVisitorFilter)

Add a filter to the chain

ShouldVisitRelationship(ElementWalker, ModelElement, DomainRoleInfo, DomainRelationshipInfo, ElementLink)

Called to ask the filter if a particular relationship from a source element should be included in the traversal.

ShouldVisitRolePlayer(ElementWalker, ModelElement, ElementLink, DomainRoleInfo, ModelElement)

Called to ask the filter if a particular role player should be Visited during traversal.

Applies to

Produkt Wersje
Visual Studio SDK 2017, 2019, 2022