次の方法で共有


ChainingElementVisitorFilter Class

Definition

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

public ref class ChainingElementVisitorFilter sealed : Microsoft::VisualStudio::Modeling::IElementVisitorFilter
public sealed class ChainingElementVisitorFilter : Microsoft.VisualStudio.Modeling.IElementVisitorFilter
type ChainingElementVisitorFilter = class
    interface IElementVisitorFilter
Public NotInheritable Class ChainingElementVisitorFilter
Implements IElementVisitorFilter
Inheritance
ChainingElementVisitorFilter
Implements

Remarks

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

Constructors

ChainingElementVisitorFilter()

Constructor

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