DependencySortTransform class

Sorts the types within a package (and within each nested package) based on their dependencies, in such a way that dependencies appear before dependents. Dependencies are determined based on generalizations, interface realizations, attributes and operation parameters.

Interface Realizations

Operations

NameReturnsDescription
constructor(dependencyKind)

DependencySortTransform.constructor

X

Constructor. Creates a new DependencySortTransform instance.

Parameters
NameTypeDescription
dependencyKindDependencyKind [0..1]An optional DependencyKind value (or a bitwise combination of values) that indicates what types of dependency must be taken into account. The default is DependencyKind.All.
Return value
Type: DependencySortTransform 
DependencySortTransform Constructor. Creates a new DependencySortTransform instance. 
transform(pack)

DependencySortTransform.transform

X

Parameters
NameTypeDescription
packPackage 
Return value
Type: Package 
Package