diff --git a/Shared/Util/Extensions/IEnumerableTuple.cs b/Shared/Util/Extensions/IEnumerableTuple.cs index fe93574..1608172 100644 --- a/Shared/Util/Extensions/IEnumerableTuple.cs +++ b/Shared/Util/Extensions/IEnumerableTuple.cs @@ -13,11 +13,11 @@ public static string Joined(this IEnumerable<(T1, T2)> src, string delim public static void Add(this List<(T1, T2)> lst, T1 item1, T2 item2) => lst.Add((item1, item2)); - public static IEnumerable SelectT(this IEnumerable<(T1, T2)> src, Func selector) => + public static IEnumerable SelectT(this IEnumerable> src, Func selector) => src.Select(x => selector(x.Item1, x.Item2)); - public static IEnumerable SelectT(this IEnumerable<(T1, T2, T3)> src, Func selector) => + public static IEnumerable SelectT(this IEnumerable> src, Func selector) => src.Select(x => selector(x.Item1, x.Item2)); - public static IEnumerable SelectT(this IEnumerable<(T1, T2, T3, T4)> src, Func selector) => + public static IEnumerable SelectT(this IEnumerable> src, Func selector) => src.Select(x => selector(x.Item1, x.Item2, x.Item3, x.Item4)); } }