System.UnitTestHelper.keySelector C# (CSharp) Method

keySelector() private method

private keySelector ( ) : NUnit.Framework
return NUnit.Framework
        public static DictionaryCanRepeatKey<TKey, TElement> ToDictionaryCanRepeatKey<TSource, TKey, TElement>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) => new DictionaryCanRepeatKey<TKey, TElement>(source.Select(x => (keySelector(x), elementSelector(x))).ToArray());