Skip to content

Commit

Permalink
Update Polyfill_IEnumerable.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Mar 30, 2024
1 parent 07079fa commit 7eef36a
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions src/Polyfill/Polyfill_IEnumerable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,69 @@ static IEnumerable<TSource[]> ChunkIterator<TSource>(IEnumerable<TSource> source
.OrderBy(keySelector, comparer)
.FirstOrDefault();

public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) =>
throw new NotImplementedException();

public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) =>
throw new NotImplementedException();

public static TSource ElementAt<TSource>(this IEnumerable<TSource> source, Index index) =>
throw new NotImplementedException();

public static TSource ElementAtOrDefault<TSource>(this IEnumerable<TSource> source, Index index) =>
throw new NotImplementedException();

public static IEnumerable<TSource> ExceptBy<TSource, TKey>(this IEnumerable<TSource> first, IEnumerable<TKey> second, Func<TSource, TKey> keySelector) =>
throw new NotImplementedException();

public static IEnumerable<TSource> ExceptBy<TSource, TKey>(this IEnumerable<TSource> first, IEnumerable<TKey> second, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) =>
throw new NotImplementedException();

public static TSource FirstOrDefault<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate, TSource defaultValue) =>
throw new NotImplementedException();

public static TSource FirstOrDefault<TSource>(this IEnumerable<TSource> source, TSource defaultValue) =>
throw new NotImplementedException();

public static IEnumerable<TSource> IntersectBy<TSource, TKey>(this IEnumerable<TSource> first, IEnumerable<TKey> second, Func<TSource, TKey> keySelector) =>
throw new NotImplementedException();

public static IEnumerable<TSource> IntersectBy<TSource, TKey>(this IEnumerable<TSource> first, IEnumerable<TKey> second, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) =>
throw new NotImplementedException();

public static TSource LastOrDefault<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate, TSource defaultValue) =>
throw new NotImplementedException();

public static TSource LastOrDefault<TSource>(this IEnumerable<TSource> source, TSource defaultValue) =>
throw new NotImplementedException();

public static TSource Max<TSource>(this IEnumerable<TSource> source, IComparer<TSource> comparer) =>
throw new NotImplementedException();

public static TSource Min<TSource>(this IEnumerable<TSource> source, IComparer<TSource> comparer) =>
throw new NotImplementedException();

public static TSource SingleOrDefault<TSource>(this IEnumerable<TSource> source, Func<TSource, bool> predicate, TSource defaultValue) =>
throw new NotImplementedException();

public static TSource SingleOrDefault<TSource>(this IEnumerable<TSource> source, TSource defaultValue) =>
throw new NotImplementedException();

public static IEnumerable<TSource> Take<TSource>(this IEnumerable<TSource> source, Range range) =>
throw new NotImplementedException();

public static bool TryGetNonEnumeratedCount<TSource>(this IEnumerable<TSource> source, out int count) =>
throw new NotImplementedException();

public static IEnumerable<TSource> UnionBy<TSource, TKey>(this IEnumerable<TSource> first, IEnumerable<TSource> second, Func<TSource, TKey> keySelector) =>
throw new NotImplementedException();

public static IEnumerable<TSource> UnionBy<TSource, TKey>(this IEnumerable<TSource> first, IEnumerable<TSource> second, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer) =>
throw new NotImplementedException();

public static IEnumerable<ValueTuple<TFirst, TSecond, TThird>> Zip<TFirst, TSecond, TThird>(this IEnumerable<TFirst> first, IEnumerable<TSecond> second, IEnumerable<TThird> third) =>
throw new NotImplementedException();

#endif

#if NET46X || NET47
Expand Down

0 comments on commit 7eef36a

Please sign in to comment.