Partilhar via


ElementClosureWalker Constructors

Definition

Overloads

ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>)

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

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

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

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

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

ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>, Boolean, IEnumerable<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.

ElementClosureWalker(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.

ElementClosureWalker(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.

ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>)

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

public:
 ElementClosureWalker(Microsoft::VisualStudio::Modeling::Partition ^ partition, Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootList);
public ElementClosureWalker (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootList);
new Microsoft.VisualStudio.Modeling.ElementClosureWalker : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.ElementClosureWalker
Public Sub New (partition As Partition, type As ClosureType, rootList As ICollection(Of ModelElement))

Parameters

partition
Partition

Partition.

type
ClosureType

ClosureType.

rootList
ICollection<ModelElement>

RootList.

Applies to

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

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

public:
 ElementClosureWalker(Microsoft::VisualStudio::Modeling::Partition ^ partition, Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootList, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ domainRolesToNotPropagate);
public ElementClosureWalker (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootList, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> domainRolesToNotPropagate);
new Microsoft.VisualStudio.Modeling.ElementClosureWalker : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> -> Microsoft.VisualStudio.Modeling.ElementClosureWalker
Public Sub New (partition As Partition, type As ClosureType, rootList As ICollection(Of ModelElement), domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo))

Parameters

partition
Partition

Partition.

type
ClosureType

ClosureType.

rootList
ICollection<ModelElement>

RootList.

domainRolesToNotPropagate
IEnumerable<DomainRoleInfo>

List of DomainRoles to ignore propagate deleting settings for

Applies to

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

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

public:
 ElementClosureWalker(Microsoft::VisualStudio::Modeling::Partition ^ partition, Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootList, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ domainRolesToNotPropagate, System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ rootDomainRolesToNotVisit);
public ElementClosureWalker (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootList, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> domainRolesToNotPropagate, System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.DomainRoleInfo> rootDomainRolesToNotVisit);
new Microsoft.VisualStudio.Modeling.ElementClosureWalker : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> * System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.DomainRoleInfo> -> Microsoft.VisualStudio.Modeling.ElementClosureWalker
Public Sub New (partition As Partition, type As ClosureType, rootList As ICollection(Of ModelElement), domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo), rootDomainRolesToNotVisit As IList(Of DomainRoleInfo))

Parameters

partition
Partition

Partition.

type
ClosureType

ClosureType.

rootList
ICollection<ModelElement>

RootList.

domainRolesToNotPropagate
IEnumerable<DomainRoleInfo>

List of DomainRoles to ignore propagate deleting settings for

rootDomainRolesToNotVisit
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

Applies to

ElementClosureWalker(Partition, ClosureType, ICollection<ModelElement>, Boolean, IEnumerable<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.

public ElementClosureWalker (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootList, bool bypassDemandLoading, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> domainRolesToNotPropagate = default, bool includeLinkIfLinkEndsIncluded = false);
new Microsoft.VisualStudio.Modeling.ElementClosureWalker : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * bool * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> * bool -> Microsoft.VisualStudio.Modeling.ElementClosureWalker
Public Sub New (partition As Partition, type As ClosureType, rootList As ICollection(Of ModelElement), bypassDemandLoading As Boolean, Optional domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo) = Nothing, Optional includeLinkIfLinkEndsIncluded As Boolean = false)

Parameters

partition
Partition

Partition.

type
ClosureType

ClosureType.

rootList
ICollection<ModelElement>

RootList.

bypassDemandLoading
Boolean

True to bypass demand-loading.

domainRolesToNotPropagate
IEnumerable<DomainRoleInfo>

List of DomainRoles to ignore propagate deleting settings for

includeLinkIfLinkEndsIncluded
Boolean

if true, link is included in closure if all its linkends are in closure

Applies to

ElementClosureWalker(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.

public:
 ElementClosureWalker(Microsoft::VisualStudio::Modeling::Partition ^ partition, Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootList, bool bypassDemandLoading, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ domainRolesToNotPropagate, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ rootDomainRolesToNotVisit, System::Collections::Generic::IList<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ elementsToNotVisit);
public ElementClosureWalker (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootList, bool bypassDemandLoading, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> domainRolesToNotPropagate, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> rootDomainRolesToNotVisit, System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement> elementsToNotVisit);
new Microsoft.VisualStudio.Modeling.ElementClosureWalker : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * bool * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> * System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.ModelElement> -> Microsoft.VisualStudio.Modeling.ElementClosureWalker
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))

Parameters

partition
Partition

Partition.

type
ClosureType

ClosureType.

rootList
ICollection<ModelElement>

RootList.

bypassDemandLoading
Boolean

True to bypass demand-loading.

domainRolesToNotPropagate
IEnumerable<DomainRoleInfo>

List of DomainRoles to ignore propagate deleting settings for

rootDomainRolesToNotVisit
IEnumerable<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

elementsToNotVisit
IList<ModelElement>

List of elements to not visit

Applies to

ElementClosureWalker(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.

public ElementClosureWalker (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootList, bool bypassDemandLoading, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> domainRolesToNotPropagate, System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.DomainRoleInfo> rootDomainRolesToNotVisit, bool includeLinkIfLinkEndsIncluded = false);
new Microsoft.VisualStudio.Modeling.ElementClosureWalker : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.ClosureType * System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * bool * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> * System.Collections.Generic.IList<Microsoft.VisualStudio.Modeling.DomainRoleInfo> * bool -> Microsoft.VisualStudio.Modeling.ElementClosureWalker
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), Optional includeLinkIfLinkEndsIncluded As Boolean = false)

Parameters

partition
Partition

Partition.

type
ClosureType

ClosureType.

rootList
ICollection<ModelElement>

RootList.

bypassDemandLoading
Boolean

True to bypass demand-loading.

domainRolesToNotPropagate
IEnumerable<DomainRoleInfo>

List of DomainRoles to ignore propagate deleting settings for

rootDomainRolesToNotVisit
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
Boolean

if true, link is included in closure if all its linkends are in closure

Applies to