Orderer::Order<TValue, TMetadata> Method (IEnumerable<Lazy<TValue, TMetadata>^>^)
Orders a list of items that are all orderable, that is, items that implement the IOrderable interface.
Assembly: Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
public: generic<typename TValue, typename TMetadata> where TValue : ref class where TMetadata : IOrderable static IList<Lazy<TValue, TMetadata>^>^ Order( IEnumerable<Lazy<TValue, TMetadata>^>^ itemsToOrder )
Parameters
- itemsToOrder
-
Type:
System.Collections.Generic::IEnumerable<Lazy<TValue, TMetadata>^>^
The list of items to order.
Return Value
Type: System.Collections.Generic::IList<Lazy<TValue, TMetadata>^>^The list of sorted items.
Type Parameters
- TValue
The type of the value.
- TMetadata
The type of the metadata.
| Exception | Condition |
|---|---|
| ArgumentNullException | itemsToOrder is null. |
Show: