Example #1
0
 /// <summary>
 /// Converts the elements in the current list to another type,
 /// and returns a list containing the converted elements.
 /// </summary>
 public static SystemGenerics.List <TOutput> ConvertAll <TOutput>(
     SystemGenerics.List <T> list, Converter <T, TOutput> converter)
 {
     (list as Mock)?.CheckDataRace(false);
     return(list.ConvertAll(converter));
 }