ElementClosureWalker 构造函数 (Partition, ClosureType, ICollection<ModelElement>, Boolean, IEnumerable<DomainRoleInfo>, IEnumerable<DomainRoleInfo>, IList<ModelElement>)

创建 ElementVisitor 并调用基础的构造函数。 这将导致广泛第一个遍历,序关系图的访问与元素的链接。

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

语法

声明
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
)

参数

  • bypassDemandLoading
    类型:System.Boolean
    true 跳过要求加载。

备注

创建 ElementVisitor 并调用基础的构造函数。 这将导致广泛第一个遍历,序包含元素链接关系图的访问。

.NET Framework 安全性

请参见

参考

ElementClosureWalker 类

ElementClosureWalker 重载

Microsoft.VisualStudio.Modeling 命名空间