Class ConvertHelper
- Namespace
- StackExchange.Redis
- Assembly
- StackExchange.Redis.StrongName.dll
Helper for Array.ConvertAll() as it's missing on .Net Core.
public static class ConvertHelper
- Inheritance
-
ConvertHelper
- Inherited Members
Methods
ConvertAll<TInput, TOutput>(TInput[], Func<TInput, TOutput>)
Converts array of one type to an array of another type.
public static TOutput[] ConvertAll<TInput, TOutput>(TInput[] source, Func<TInput, TOutput> selector)
Parameters
source
TInput[]source
selector
Func<TInput, TOutput>selector
Returns
- TOutput[]
Type Parameters
TInput
Input type
TOutput
Output type