Exemplo n.º 1
0
 public IReadOnlyListExt <TOut> Map <TOut>(Func <T, TOut> map)
 {
     return(MappedReadOnlyListSpan <T, TOut> .Create(_innerList, map, _offset, Count));
 }
Exemplo n.º 2
0
 public IReadOnlyListExt <TOut> Slice(int start, int length)
 {
     return(MappedReadOnlyListSpan <TIn, TOut> .Create(_innerList, _map, start, length));
 }