JumpListHelperToAlphaGroupsTSource Method |
Groups and sorts into a list of alpha groups based on a string selector.
Namespace: foodez.Common.JumpListAssembly: foodez.WindowsPhone (in foodez.WindowsPhone.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static List<JumpListGroup<TSource>> ToAlphaGroups<TSource>(
this IEnumerable<TSource> source,
Func<TSource, string> selector
)
<ExtensionAttribute>
Public Shared Function ToAlphaGroups(Of TSource) (
source As IEnumerable(Of TSource),
selector As Func(Of TSource, String)
) As List(Of JumpListGroup(Of TSource))
public:
[ExtensionAttribute]
generic<typename TSource>
static List<JumpListGroup<TSource>^>^ ToAlphaGroups(
IEnumerable<TSource>^ source,
Func<TSource, String^>^ selector
)
[<ExtensionAttribute>]
static member ToAlphaGroups :
source : IEnumerable<'TSource> *
selector : Func<'TSource, string> -> List<JumpListGroup<'TSource>>
Parameters
- source
- Type: System.Collections.GenericIEnumerableTSource
List to be grouped and sorted. - selector
- Type: SystemFuncTSource, String
A selector that will provide a value that items to be sorted and grouped by.
Type Parameters
- TSource
- Type of the items in the list.
Return Value
Type:
ListJumpListGroupTSourceA list of JumpListGroups.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableTSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also