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
- modules
Type: System.Collections.Generic.IEnumerable<ModuleInfo>
The ModuleInfos to sort.
Return Value
Sorted list of ModuleInfos