ModuleDependencySolver.Solve Method

Calculates an ordered vector according to the defined dependencies. Non-dependant modules appears at the beginning of the resulting array.

Namespace: Microsoft.Practices.CompositeUI.Services
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Public Function Solve As String()
'Usage
Dim instance As ModuleDependencySolver
Dim returnValue As String()

returnValue = instance.Solve
public string[] Solve ()
public:
array<String^>^ Solve ()
public String[] Solve ()
public function Solve () : String[]

Return Value

The resulting ordered list of modules.

Exceptions

Exception type Condition

CyclicDependencyFoundException

This exception is thrown when a cycle is found in the defined depedency graph.

See Also

Reference

ModuleDependencySolver Class
ModuleDependencySolver Members
Microsoft.Practices.CompositeUI.Services Namespace