Partition::GetClosureList Method (ICollection<ModelElement^>^, ClosureType, IEnumerable<DomainRoleInfo^>^, IEnumerable<DomainRoleInfo^>^)
Visual Studio 2015
Gets a closure list of the given type based on the given root element list
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
public:
ReadOnlyCollection<ModelElement^>^ GetClosureList(
ICollection<ModelElement^>^ rootElements,
ClosureType type,
IEnumerable<DomainRoleInfo^>^ domainRolesToNotPropagate,
IEnumerable<DomainRoleInfo^>^ rootDomainRolesToNotVisit
)
Parameters
- rootElements
-
Type:
System.Collections.Generic::ICollection<ModelElement^>^
list of root elements that the closure will be based on
- type
-
Type:
Microsoft.VisualStudio.Modeling::ClosureType
type of closure to form
- domainRolesToNotPropagate
-
Type:
System.Collections.Generic::IEnumerable<DomainRoleInfo^>^
List of DomainRoles to Not Skip
- rootDomainRolesToNotVisit
-
Type:
System.Collections.Generic::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
Show: