ElementClosureWalker Constructor (Partition, ClosureType, ICollection<ModelElement>, IEnumerable<DomainRoleInfo>, IList<DomainRoleInfo>)

Constructor that creates an ElementVisitor and calls base. This results in breadth first traversal, pre-Order visitation of the graph with element links.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    partition As Partition, _
    type As ClosureType, _
    rootList As ICollection(Of ModelElement), _
    domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo), _
    rootDomainRolesToNotVisit As IList(Of DomainRoleInfo) _
)
public ElementClosureWalker(
    Partition partition,
    ClosureType type,
    ICollection<ModelElement> rootList,
    IEnumerable<DomainRoleInfo> domainRolesToNotPropagate,
    IList<DomainRoleInfo> rootDomainRolesToNotVisit
)
public:
ElementClosureWalker(
    Partition^ partition, 
    ClosureType type, 
    ICollection<ModelElement^>^ rootList, 
    IEnumerable<DomainRoleInfo^>^ domainRolesToNotPropagate, 
    IList<DomainRoleInfo^>^ rootDomainRolesToNotVisit
)
new : 
        partition:Partition * 
        type:ClosureType * 
        rootList:ICollection<ModelElement> * 
        domainRolesToNotPropagate:IEnumerable<DomainRoleInfo> * 
        rootDomainRolesToNotVisit:IList<DomainRoleInfo> -> ElementClosureWalker
public function ElementClosureWalker(
    partition : Partition, 
    type : ClosureType, 
    rootList : ICollection<ModelElement>, 
    domainRolesToNotPropagate : IEnumerable<DomainRoleInfo>, 
    rootDomainRolesToNotVisit : IList<DomainRoleInfo>
)

Parameters

  • domainRolesToNotPropagate
    Type: IEnumerable<DomainRoleInfo>

    List of DomainRoles to ignore propagate deleting settings for

  • rootDomainRolesToNotVisit
    Type: IList<DomainRoleInfo>

    List of DomainRoles to not visit on root elements. This list can be used to keep relationships from being included in the closure and traversed

.NET Framework Security

See Also

Reference

ElementClosureWalker Class

ElementClosureWalker Overload

Microsoft.VisualStudio.Modeling Namespace