Condividi tramite


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

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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

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

Parameters

  • bypassDemandLoading
    Type: System.Boolean
    True to bypass demand-loading.

Remarks

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

.NET Framework Security

See Also

Reference

ElementClosureWalker Class

ElementClosureWalker Overload

Microsoft.VisualStudio.Modeling Namespace