Partilhar via


DefaultVisitorFilter Class

Definition

Class that implements a IElementVisitorFilter that visits all aggregate relationships.

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

Constructors

DefaultVisitorFilter()

Methods

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. By default, return true;

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

Called to ask the filter if a particular role's counterpart should be Visited during traversal. By default, return true;

Applies to