ElementClosureWalker Constructor (Partition, ClosureType, ICollection<ModelElement>, Boolean, IEnumerable<DomainRoleInfo>, IList<DomainRoleInfo>, Boolean)
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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
partition As Partition, _
type As ClosureType, _
rootList As ICollection(Of ModelElement), _
bypassDemandLoading As Boolean, _
domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo), _
rootDomainRolesToNotVisit As IList(Of DomainRoleInfo), _
includeLinkIfLinkEndsIncluded As Boolean _
)
public ElementClosureWalker(
Partition partition,
ClosureType type,
ICollection<ModelElement> rootList,
bool bypassDemandLoading,
IEnumerable<DomainRoleInfo> domainRolesToNotPropagate,
IList<DomainRoleInfo> rootDomainRolesToNotVisit,
bool includeLinkIfLinkEndsIncluded
)
public:
ElementClosureWalker(
Partition^ partition,
ClosureType type,
ICollection<ModelElement^>^ rootList,
bool bypassDemandLoading,
IEnumerable<DomainRoleInfo^>^ domainRolesToNotPropagate,
IList<DomainRoleInfo^>^ rootDomainRolesToNotVisit,
bool includeLinkIfLinkEndsIncluded
)
new :
partition:Partition *
type:ClosureType *
rootList:ICollection<ModelElement> *
bypassDemandLoading:bool *
domainRolesToNotPropagate:IEnumerable<DomainRoleInfo> *
rootDomainRolesToNotVisit:IList<DomainRoleInfo> *
includeLinkIfLinkEndsIncluded:bool -> ElementClosureWalker
public function ElementClosureWalker(
partition : Partition,
type : ClosureType,
rootList : ICollection<ModelElement>,
bypassDemandLoading : boolean,
domainRolesToNotPropagate : IEnumerable<DomainRoleInfo>,
rootDomainRolesToNotVisit : IList<DomainRoleInfo>,
includeLinkIfLinkEndsIncluded : boolean
)
Parameters
partition
Type: Microsoft.VisualStudio.Modeling.PartitionPartition.
type
Type: Microsoft.VisualStudio.Modeling.ClosureTypeClosureType.
rootList
Type: System.Collections.Generic.ICollection<ModelElement>RootList.
bypassDemandLoading
Type: System.BooleanTrue to bypass demand-loading.
domainRolesToNotPropagate
Type: System.Collections.Generic.IEnumerable<DomainRoleInfo>List of DomainRoles to ignore propagate deleting settings for
rootDomainRolesToNotVisit
Type: System.Collections.Generic.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
includeLinkIfLinkEndsIncluded
Type: System.Booleanif true, link is included in closure if all its linkends are in closure
Remarks
The Constructor that creates an ElementVisitor and calls base. This results in breadth first traversal, pre-Order visitation of the graph with element links.
.NET Framework Security
- 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.