Skip to content

Commit

Permalink
comments fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Feb 19, 2025
1 parent a4bd9d5 commit 44094cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Radzen.Blazor/QueryableExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ internal static string RemoveVariableReference(string expression)
/// <summary>
/// Sorts the elements of a sequence in ascending or descending order according to a key.
/// </summary>
/// <returns>A <see cref="IQueryable{T}"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
/// <returns>A <see cref="IQueryable{T}"/> whose elements are sorted according to the specified <paramref name="selector"/>.</returns>
public static IOrderedQueryable<T> OrderBy<T>(this IQueryable<T> source, string selector = null)
{
selector = selector.Contains("=>") ? RemoveVariableReference(selector) : selector;
Expand All @@ -115,7 +115,7 @@ public static IOrderedQueryable<T> OrderBy<T>(this IQueryable<T> source, string
/// <summary>
/// Sorts the elements of a sequence in ascending or descending order according to a key.
/// </summary>
/// <returns>A <see cref="IQueryable"/> whose elements are sorted according to the specified <paramref name="ordering"/>.</returns>
/// <returns>A <see cref="IQueryable"/> whose elements are sorted according to the specified <paramref name="selector"/>.</returns>
public static IQueryable OrderBy(this IQueryable source, string selector = null)
{
selector = selector.Contains("=>") ? RemoveVariableReference(selector) : selector;
Expand Down

0 comments on commit 44094cd

Please sign in to comment.