@@ -78,48 +78,66 @@ public static int Min<T, TUp>(this IStub<IEnumerable<T>, TUp> enumerable)
7878 throw new NotImplementedException ( ) ;
7979 }
8080
81- public static int Min < T , TUp , TComparer > ( this IStub < IEnumerable < T > , TUp > enumerable , TComparer comparer )
82- where TComparer : IComparer < T >
81+ public static int Min < T , TUp > ( this IStub < IEnumerable < T > , TUp > enumerable , IComparer < T > comparer )
8382 {
8483 throw new NotImplementedException ( ) ;
8584 }
8685
87- // public static int MinBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
88- // Func<T, TKey> selector, IComparer<TKey>? comparer = null)
89- // {
90- // throw new NotImplementedException();
91- // }
92- //
93- // public static int MinBy<T, TUp, TKey, TComparer>(this IStub<IEnumerable<T>, TUp> enumerable,
94- // IStructFunction<T, TKey> keySelector, TComparer comparer)
95- // where TComparer : IComparer<TKey>
96- // {
97- // throw new NotImplementedException();
98- // }
86+ public static int MinBy < T , TUp , TKey > ( this IStub < IEnumerable < T > , TUp > enumerable , Func < T , TKey > keySelector )
87+ {
88+ throw new NotImplementedException ( ) ;
89+ }
90+
91+ public static int MinBy < T , TUp , TKey > ( this IStub < IEnumerable < T > , TUp > enumerable ,
92+ Func < T , TKey > keySelector , IComparer < TKey > comparer )
93+ {
94+ throw new NotImplementedException ( ) ;
95+ }
96+
97+ public static int MinBy < T , TUp , TKey > ( this IStub < IEnumerable < T > , TUp > enumerable ,
98+ IStructFunction < T , TKey > keySelector )
99+ {
100+ throw new NotImplementedException ( ) ;
101+ }
102+
103+ public static int MinBy < T , TUp , TKey > ( this IStub < IEnumerable < T > , TUp > enumerable ,
104+ IStructFunction < T , TKey > keySelector , IComparer < TKey > comparer )
105+ {
106+ throw new NotImplementedException ( ) ;
107+ }
99108
100109 public static int Max < T , TUp > ( this IStub < IEnumerable < T > , TUp > enumerable )
101110 {
102111 throw new NotImplementedException ( ) ;
103112 }
104113
105- public static int Max < T , TUp , TComparer > ( this IStub < IEnumerable < T > , TUp > enumerable , TComparer comparer )
106- where TComparer : IComparer < T >
114+ public static int Max < T , TUp > ( this IStub < IEnumerable < T > , TUp > enumerable , IComparer < T > comparer )
107115 {
108116 throw new NotImplementedException ( ) ;
109117 }
110118
111- // public static int MaxBy<T, TUp, TKey>(this IStub<IEnumerable<T>, TUp> enumerable,
112- // Func<T, TKey> selector, IComparer<TKey>? comparer = null)
113- // {
114- // throw new NotImplementedException();
115- // }
116- //
117- // public static int MaxBy<T, TUp, TKey, TComparer>(this IStub<IEnumerable<T>, TUp> enumerable,
118- // IStructFunction<T, TKey> keySelector, TComparer comparer)
119- // where TComparer : IComparer<TKey>
120- // {
121- // throw new NotImplementedException();
122- // }
119+ public static int MaxBy < T , TUp , TKey > ( this IStub < IEnumerable < T > , TUp > enumerable , Func < T , TKey > keySelector )
120+ {
121+ throw new NotImplementedException ( ) ;
122+ }
123+
124+ public static int MaxBy < T , TUp , TKey > ( this IStub < IEnumerable < T > , TUp > enumerable ,
125+ Func < T , TKey > keySelector , IComparer < TKey > comparer )
126+ {
127+ throw new NotImplementedException ( ) ;
128+ }
129+
130+ public static int MaxBy < T , TUp , TKey > ( this IStub < IEnumerable < T > , TUp > enumerable ,
131+ IStructFunction < T , TKey > keySelector )
132+ {
133+ throw new NotImplementedException ( ) ;
134+ }
135+
136+ public static int MaxBy < T , TUp , TKey > ( this IStub < IEnumerable < T > , TUp > enumerable ,
137+ IStructFunction < T , TKey > keySelector , IComparer < TKey > comparer )
138+ {
139+ throw new NotImplementedException ( ) ;
140+ }
123141
124142 public static List < T > ToList < T , TUp > ( this IStub < IEnumerable < T > , TUp > enumerable )
125143 {
0 commit comments