ModuleCatalog.Sort Method

Sorts a list of ModuleInfos. This method is called by CompleteListWithDependencies(IEnumerable<ModuleInfo>) to return a sorted list.

Namespace:  Microsoft.Practices.Composite.Modularity
Assembly:  Microsoft.Practices.Composite (in Microsoft.Practices.Composite.dll)

Syntax

'Declaration
Protected Overridable Function Sort ( _
    modules As IEnumerable(Of ModuleInfo) _
) As IEnumerable(Of ModuleInfo)
protected virtual IEnumerable<ModuleInfo> Sort(
    IEnumerable<ModuleInfo> modules
)
protected:
virtual IEnumerable<ModuleInfo^>^ Sort(
    IEnumerable<ModuleInfo^>^ modules
)
function sort(modules);

Parameters

Return Value

Sorted list of ModuleInfos

See Also

ModuleCatalog Class

Microsoft.Practices.Composite.Modularity Namespace