コード例 #1
0
 public static MapValuesSeries <TKey, TSource, TResult, TCursor> Map <TKey, TSource, TValue, TResult, TCursor>(
     this MapValuesSeries <TKey, TSource, TValue, TCursor> series, Func <TValue, TResult> selector)
     where TCursor : ICursor <TKey, TSource>
 {
     return(new MapValuesSeries <TKey, TSource, TResult, TCursor>(series._series, CoreUtils.CombineMaps(series._selector, selector)));
 }
コード例 #2
0
 BaseSeries <TKey, TResult1> ICanMapValues <TKey, TResult> .Map <TResult1>(Func <TResult, TResult1> selector, Func <Buffer <TResult>, Buffer <TResult1> > batchSelector)
 {
     return(new MapValuesSeries <TKey, TValue, TResult1, TCursor>(_series, CoreUtils.CombineMaps(_selector, selector)));
 }