Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
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) _
)
'使用
Dim partition As Partition
Dim type As ClosureType
Dim rootList As ICollection(Of ModelElement)
Dim bypassDemandLoading As Boolean
Dim domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo)
Dim rootDomainRolesToNotVisit As IEnumerable(Of DomainRoleInfo)
Dim elementsToNotVisit As IList(Of ModelElement)
Dim instance As New ElementClosureWalker(partition, _
type, rootList, bypassDemandLoading, _
domainRolesToNotPropagate, rootDomainRolesToNotVisit, _
elementsToNotVisit)
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
)
public function ElementClosureWalker(
partition : Partition,
type : ClosureType,
rootList : ICollection<ModelElement>,
bypassDemandLoading : boolean,
domainRolesToNotPropagate : IEnumerable<DomainRoleInfo>,
rootDomainRolesToNotVisit : IEnumerable<DomainRoleInfo>,
elementsToNotVisit : IList<ModelElement>
)
Parameters
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
- type
Type: Microsoft.VisualStudio.Modeling.ClosureType
- rootList
Type: System.Collections.Generic.ICollection<ModelElement>
- bypassDemandLoading
Type: System.Boolean
- domainRolesToNotPropagate
Type: System.Collections.Generic.IEnumerable<DomainRoleInfo>
- rootDomainRolesToNotVisit
Type: System.Collections.Generic.IEnumerable<DomainRoleInfo>
- elementsToNotVisit
Type: System.Collections.Generic.IList<ModelElement>
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.