Skip to content

Commit 3eb4470

Browse files
update more text
1 parent 968c29d commit 3eb4470

File tree

1 file changed

+4
-37
lines changed

1 file changed

+4
-37
lines changed

src/System.Linq.Dynamic.Core/DynamicQueryableExtensions.cs

Lines changed: 4 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -690,12 +690,6 @@ public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] Par
690690
/// <param name="equalityComparer">The comparer to use.</param>
691691
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
692692
/// <returns>A <see cref="IQueryable"/> where each element represents a projection over a group and its key.</returns>
693-
/// <example>
694-
/// <code>
695-
/// var groupResult1 = queryable.GroupBy("NumberPropertyAsKey", "StringProperty");
696-
/// var groupResult2 = queryable.GroupBy("new (NumberPropertyAsKey, StringPropertyAsKey)", "new (StringProperty1, StringProperty2)");
697-
/// </code>
698-
/// </example>
699693
public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string keySelector, [NotNull] string resultSelector, IEqualityComparer equalityComparer, object[] args)
700694
{
701695
return InternalGroupBy(source, config, keySelector, resultSelector, equalityComparer, args);
@@ -782,12 +776,6 @@ public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] str
782776
/// <param name="resultSelector">A string expression to specify a result value from each group.</param>
783777
/// <param name="equalityComparer">The comparer to use.</param>
784778
/// <returns>A <see cref="IQueryable"/> where each element represents a projection over a group and its key.</returns>
785-
/// <example>
786-
/// <code>
787-
/// var groupResult1 = queryable.GroupBy("NumberPropertyAsKey", "StringProperty");
788-
/// var groupResult2 = queryable.GroupBy("new (NumberPropertyAsKey, StringPropertyAsKey)", "new (StringProperty1, StringProperty2)");
789-
/// </code>
790-
/// </example>
791779
public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string keySelector, [NotNull] string resultSelector, IEqualityComparer equalityComparer)
792780
{
793781
return InternalGroupBy(source, config, keySelector, resultSelector, equalityComparer, null);
@@ -830,12 +818,6 @@ public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] Par
830818
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
831819
/// <param name="equalityComparer">The comparer to use.</param>
832820
/// <returns>A <see cref="IQueryable"/> where each element represents a projection over a group and its key.</returns>
833-
/// <example>
834-
/// <code>
835-
/// var groupResult1 = queryable.GroupBy("NumberPropertyAsKey");
836-
/// var groupResult2 = queryable.GroupBy("new (NumberPropertyAsKey, StringPropertyAsKey)");
837-
/// </code>
838-
/// </example>
839821
public static IQueryable GroupBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string keySelector, IEqualityComparer equalityComparer, [CanBeNull] params object[] args)
840822
{
841823
return InternalGroupBy(source, config, keySelector, equalityComparer, args);
@@ -1399,7 +1381,7 @@ public static IOrderedQueryable<TSource> OrderBy<TSource>([NotNull] this IQuerya
13991381
/// <param name="source">A sequence of values to order.</param>
14001382
/// <param name="config">The <see cref="ParsingConfig"/>.</param>
14011383
/// <param name="ordering">An expression string to indicate values to order by.</param>
1402-
/// <param name="comparer">The comparer to use to order by.</param>
1384+
/// <param name="comparer">The comparer to use.</param>
14031385
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
14041386
/// <returns>A <see cref="IQueryable{T}"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
14051387
public static IOrderedQueryable<TSource> OrderBy<TSource>([NotNull] this IQueryable<TSource> source, [NotNull] ParsingConfig config, [NotNull] string ordering, IComparer comparer, params object[] args)
@@ -1413,7 +1395,7 @@ public static IOrderedQueryable<TSource> OrderBy<TSource>([NotNull] this IQuerya
14131395
/// <typeparam name="TSource">The type of the elements of source.</typeparam>
14141396
/// <param name="source">A sequence of values to order.</param>
14151397
/// <param name="ordering">An expression string to indicate values to order by.</param>
1416-
/// <param name="comparer">The comparer to use to order by.</param>
1398+
/// <param name="comparer">The comparer to use.</param>
14171399
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
14181400
/// <returns>A <see cref="IQueryable{T}"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
14191401
public static IOrderedQueryable<TSource> OrderBy<TSource>([NotNull] this IQueryable<TSource> source, [NotNull] string ordering, IComparer comparer, params object[] args)
@@ -1450,13 +1432,6 @@ public static IOrderedQueryable OrderBy([NotNull] this IQueryable source, [NotNu
14501432
/// <param name="comparer">The comparer to use.</param>
14511433
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
14521434
/// <returns>A <see cref="IQueryable"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
1453-
/// <example>
1454-
/// <code>
1455-
/// var resultSingle = queryable.OrderBy("NumberProperty");
1456-
/// var resultSingleDescending = queryable.OrderBy("NumberProperty DESC");
1457-
/// var resultMultiple = queryable.OrderBy("NumberProperty, StringProperty DESC");
1458-
/// </code>
1459-
/// </example>
14601435
public static IOrderedQueryable OrderBy([NotNull] this IQueryable source, [NotNull] ParsingConfig config, [NotNull] string ordering, IComparer comparer, params object[] args)
14611436
{
14621437
return InternalOrderBy(source, config, ordering, comparer, args);
@@ -2376,7 +2351,7 @@ public static IOrderedQueryable<TSource> ThenBy<TSource>([NotNull] this IOrdered
23762351
/// <param name="source">A sequence of values to order.</param>
23772352
/// <param name="config">The <see cref="ParsingConfig"/>.</param>
23782353
/// <param name="ordering">An expression string to indicate values to order by.</param>
2379-
/// <param name="comparer">The comparer to use to order by.</param>
2354+
/// <param name="comparer">The comparer to use.</param>
23802355
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
23812356
/// <returns>A <see cref="IOrderedQueryable{T}"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
23822357
public static IOrderedQueryable<TSource> ThenBy<TSource>([NotNull] this IOrderedQueryable<TSource> source, [NotNull] ParsingConfig config, [NotNull] string ordering, IComparer comparer, params object[] args)
@@ -2390,7 +2365,7 @@ public static IOrderedQueryable<TSource> ThenBy<TSource>([NotNull] this IOrdered
23902365
/// <typeparam name="TSource">The type of the elements of source.</typeparam>
23912366
/// <param name="source">A sequence of values to order.</param>
23922367
/// <param name="ordering">An expression string to indicate values to order by.</param>
2393-
/// <param name="comparer">The comparer to use to order by.</param>
2368+
/// <param name="comparer">The comparer to use.</param>
23942369
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
23952370
/// <returns>A <see cref="IOrderedQueryable{T}"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
23962371
public static IOrderedQueryable<TSource> ThenBy<TSource>([NotNull] this IOrderedQueryable<TSource> source, [NotNull] string ordering, IComparer comparer, params object[] args)
@@ -2428,14 +2403,6 @@ public static IOrderedQueryable ThenBy([NotNull] this IOrderedQueryable source,
24282403
/// <param name="comparer">The comparer to use.</param>
24292404
/// <param name="args">An object array that contains zero or more objects to insert into the predicate as parameters. Similar to the way String.Format formats strings.</param>
24302405
/// <returns>A <see cref="IQueryable"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
2431-
/// <example>
2432-
/// <code>
2433-
/// var result = queryable.OrderBy("LastName");
2434-
/// var resultSingle = result.OrderBy("NumberProperty");
2435-
/// var resultSingleDescending = result.OrderBy("NumberProperty DESC");
2436-
/// var resultMultiple = result.OrderBy("NumberProperty, StringProperty DESC");
2437-
/// </code>
2438-
/// </example>
24392406
public static IOrderedQueryable ThenBy([NotNull] this IOrderedQueryable source, [NotNull] ParsingConfig config, [NotNull] string ordering, IComparer comparer, params object[] args)
24402407
{
24412408
return InternalThenBy(source, config, ordering, comparer, args);

0 commit comments

Comments
 (0)