Partition.GetClosureList Method (ICollection<ModelElement>, ClosureType, IEnumerable<DomainRoleInfo>)

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

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

public ReadOnlyCollection<ModelElement> GetClosureList(
	ICollection<ModelElement> rootElements,
	ClosureType type,
	IEnumerable<DomainRoleInfo> domainRolesToNotPropagate
)

Parameters

rootElements
Type: 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: IEnumerable<DomainRoleInfo>

List of DomainRoles to Not Skip

Return Value

Type: ReadOnlyCollection<ModelElement>
ICollection

Show: