Partager via


Partition.GetClosureList Method

Definition

Overloads

GetClosureList(ICollection<ModelElement>, ClosureType, Boolean, IEnumerable<DomainRoleInfo>, IEnumerable<DomainRoleInfo>)

Gets a closure list of the given type based on the given root element list

GetClosureList(ICollection<ModelElement>, ClosureType, IEnumerable<DomainRoleInfo>, IEnumerable<DomainRoleInfo>)

Gets a closure list of the given type based on the given root element list

GetClosureList(ICollection<ModelElement>, ClosureType, Boolean, IEnumerable<DomainRoleInfo>)

Gets a closure list of the given type based on the given root element list

GetClosureList(ICollection<ModelElement>, ClosureType, Boolean)

Gets a closure list of the given type based on the given root element list

GetClosureList(ICollection<ModelElement>, ClosureType)

Gets a closure list of the given type based on the given root element list

GetClosureList(ICollection<ModelElement>, ClosureType, IEnumerable<DomainRoleInfo>)

Gets a closure list of the given type based on the given root element list

GetClosureList(ICollection<ModelElement>, ClosureType, Boolean, IEnumerable<DomainRoleInfo>, IEnumerable<DomainRoleInfo>)

Gets a closure list of the given type based on the given root element list

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetClosureList(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type, bool bypassDemandLoading, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ domainRolesToNotPropagate, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ rootDomainRolesToNotVisit);
[System.Diagnostics.DebuggerStepThrough]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement> GetClosureList (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type, bool bypassDemandLoading, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> domainRolesToNotPropagate, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> rootDomainRolesToNotVisit);
[<System.Diagnostics.DebuggerStepThrough>]
member this.GetClosureList : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType * bool * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetClosureList (rootElements As ICollection(Of ModelElement), type As ClosureType, bypassDemandLoading As Boolean, domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo), rootDomainRolesToNotVisit As IEnumerable(Of DomainRoleInfo)) As ReadOnlyCollection(Of ModelElement)

Parameters

rootElements
ICollection<ModelElement>

list of root elements that the closure will be based on

type
ClosureType

type of closure to form

bypassDemandLoading
Boolean
domainRolesToNotPropagate
IEnumerable<DomainRoleInfo>

List of DomainRoles to Not Skip

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

Returns

ICollection

Attributes

Applies to

GetClosureList(ICollection<ModelElement>, ClosureType, IEnumerable<DomainRoleInfo>, IEnumerable<DomainRoleInfo>)

Gets a closure list of the given type based on the given root element list

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetClosureList(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ domainRolesToNotPropagate, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ rootDomainRolesToNotVisit);
[System.Diagnostics.DebuggerStepThrough]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement> GetClosureList (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> domainRolesToNotPropagate, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> rootDomainRolesToNotVisit);
[<System.Diagnostics.DebuggerStepThrough>]
member this.GetClosureList : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetClosureList (rootElements As ICollection(Of ModelElement), type As ClosureType, domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo), rootDomainRolesToNotVisit As IEnumerable(Of DomainRoleInfo)) As ReadOnlyCollection(Of ModelElement)

Parameters

rootElements
ICollection<ModelElement>

list of root elements that the closure will be based on

type
ClosureType

type of closure to form

domainRolesToNotPropagate
IEnumerable<DomainRoleInfo>

List of DomainRoles to Not Skip

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

Returns

ICollection

Attributes

Applies to

GetClosureList(ICollection<ModelElement>, ClosureType, Boolean, IEnumerable<DomainRoleInfo>)

Gets a closure list of the given type based on the given root element list

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetClosureList(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type, bool bypassDemandLoading, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ domainRolesToNotPropagate);
[System.Diagnostics.DebuggerStepThrough]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement> GetClosureList (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type, bool bypassDemandLoading, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> domainRolesToNotPropagate);
[<System.Diagnostics.DebuggerStepThrough>]
member this.GetClosureList : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType * bool * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetClosureList (rootElements As ICollection(Of ModelElement), type As ClosureType, bypassDemandLoading As Boolean, domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo)) As ReadOnlyCollection(Of ModelElement)

Parameters

rootElements
ICollection<ModelElement>

list of root elements that the closure will be based on

type
ClosureType

type of closure to form

bypassDemandLoading
Boolean
domainRolesToNotPropagate
IEnumerable<DomainRoleInfo>

List of DomainRoles to Not Skip

Returns

ICollection

Attributes

Applies to

GetClosureList(ICollection<ModelElement>, ClosureType, Boolean)

Gets a closure list of the given type based on the given root element list

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetClosureList(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type, bool bypassDemandLoading);
[System.Diagnostics.DebuggerStepThrough]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement> GetClosureList (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type, bool bypassDemandLoading);
[<System.Diagnostics.DebuggerStepThrough>]
member this.GetClosureList : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType * bool -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetClosureList (rootElements As ICollection(Of ModelElement), type As ClosureType, bypassDemandLoading As Boolean) As ReadOnlyCollection(Of ModelElement)

Parameters

rootElements
ICollection<ModelElement>

list of root elements that the closure will be based on

type
ClosureType

type of closure to form

bypassDemandLoading
Boolean

Returns

ICollection

Attributes

Applies to

GetClosureList(ICollection<ModelElement>, ClosureType)

Gets a closure list of the given type based on the given root element list

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetClosureList(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type);
[System.Diagnostics.DebuggerStepThrough]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement> GetClosureList (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type);
[<System.Diagnostics.DebuggerStepThrough>]
member this.GetClosureList : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetClosureList (rootElements As ICollection(Of ModelElement), type As ClosureType) As ReadOnlyCollection(Of ModelElement)

Parameters

rootElements
ICollection<ModelElement>

list of root elements that the closure will be based on

type
ClosureType

type of closure to form

Returns

ICollection

Attributes

Applies to

GetClosureList(ICollection<ModelElement>, ClosureType, IEnumerable<DomainRoleInfo>)

Gets a closure list of the given type based on the given root element list

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetClosureList(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::DomainRoleInfo ^> ^ domainRolesToNotPropagate);
[System.Diagnostics.DebuggerStepThrough]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement> GetClosureList (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.DomainRoleInfo> domainRolesToNotPropagate);
[<System.Diagnostics.DebuggerStepThrough>]
member this.GetClosureList : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType * seq<Microsoft.VisualStudio.Modeling.DomainRoleInfo> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetClosureList (rootElements As ICollection(Of ModelElement), type As ClosureType, domainRolesToNotPropagate As IEnumerable(Of DomainRoleInfo)) As ReadOnlyCollection(Of ModelElement)

Parameters

rootElements
ICollection<ModelElement>

list of root elements that the closure will be based on

type
ClosureType

type of closure to form

domainRolesToNotPropagate
IEnumerable<DomainRoleInfo>

List of DomainRoles to Not Skip

Returns

ICollection

Attributes

Applies to