ContainerSortingProvider.SortLists Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtains a sorted list. This implementation sorts the list using standard List>Object< .Sort(IComparer) method. The IComparer is obtained by GetComparer(ISfcSimpleNode, ISfcSimpleNode) method.
The method is called only if AreListsComparable(ISfcSimpleList, ISfcSimpleList) returns true.
A provider overrides this method if it can provide a faster sorting. If the list is already sorted, the orignal list can be returned.
public void SortLists (Microsoft.SqlServer.Management.Sdk.Sfc.ISfcSimpleList source, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcSimpleList target, out System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Sdk.Sfc.ISfcSimpleNode> sortedSource, out System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Sdk.Sfc.ISfcSimpleNode> sortedTarget);
member this.SortLists : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcSimpleList * Microsoft.SqlServer.Management.Sdk.Sfc.ISfcSimpleList * seq * seq -> unit
Public Sub SortLists (source As ISfcSimpleList, target As ISfcSimpleList, ByRef sortedSource As IEnumerable(Of ISfcSimpleNode), ByRef sortedTarget As IEnumerable(Of ISfcSimpleNode))
Parameters
- source
- ISfcSimpleList
- target
- ISfcSimpleList
- sortedSource
- IEnumerable<ISfcSimpleNode>
- sortedTarget
- IEnumerable<ISfcSimpleNode>