次の方法で共有


ElementClosureWalker コンストラクター (Partition, ClosureType, ICollection<ModelElement>, Boolean, IEnumerable<DomainRoleInfo>, IEnumerable<DomainRoleInfo>, IList<ModelElement>)

ElementVisitor を作成し、ベースを呼び出すコンストラクター。 これにより、幅優先走査、要素リンクを持つグラフのプレオーダー ビジテーションが行われます。

名前空間:  Microsoft.VisualStudio.Modeling
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (Microsoft.VisualStudio.Modeling.Sdk.12.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。
  • rootDomainRolesToNotVisit
    型 : System.Collections.Generic.IEnumerable<DomainRoleInfo>
    ルート要素にアクセスしない DomainRole のリスト。この一覧を使用すると、リレーションシップをクロージャに含めたり走査したりするのを禁止できます

解説

ElementVisitor と呼び出しベースを作成するコンストラクター。 これは幅優先の走査で、先行順走査します要素リンクを含むグラフの訪問を発生します。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

ElementClosureWalker クラス

ElementClosureWalker オーバーロード

Microsoft.VisualStudio.Modeling 名前空間