Lookup<TKey, TElement>.ApplyResultSelector<TResult> Method (Func<TKey, IEnumerable<TElement>, TResult>)
.NET Framework (current version)
Applies a transform function to each key and its associated values and returns the results.
Assembly: System.Core (in System.Core.dll)
public IEnumerable<TResult> ApplyResultSelector<TResult>(
Func<TKey, IEnumerable<TElement>, TResult> resultSelector
)
Parameters
- resultSelector
-
Type:
System.Func<TKey, IEnumerable<TElement>, TResult>
A function to project a result value from each key and its associated values.
Return Value
Type: System.Collections.Generic.IEnumerable<TResult>A collection that contains one value for each key/value collection pair in the Lookup<TKey, TElement>.
Type Parameters
- TResult
The type of the result values produced by resultSelector.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: