File tree Expand file tree Collapse file tree 18 files changed +23
-23
lines changed Expand file tree Collapse file tree 18 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class Page<TEntity>
22
22
public long ? Count { get ; set ; }
23
23
24
24
/// <summary>
25
- /// The Uri to the nexty page in the result set.
25
+ /// The Uri to the next page in the result set.
26
26
/// </summary>
27
27
public string ? NextLink { get ; set ; }
28
28
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace CommunityToolkit.Datasync.Client.Offline;
10
10
/// Represents a query that can be evaluated against an OData table.
11
11
/// </summary>
12
12
/// <remarks>
13
- /// Rather than implenting <see cref="IQueryable{T}"/> directly, we've implemented the portion of the LINQ query
13
+ /// Rather than implementing <see cref="IQueryable{T}"/> directly, we've implemented the portion of the LINQ query
14
14
/// pattern we support on a datasync service. You can use the <see cref="IDatasyncQueryable{TEntity}"/> instance
15
15
/// to build up a query using normal LINQ patterns.
16
16
/// </remarks>
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace CommunityToolkit.Datasync.Client.Query;
12
12
/// Represents a query that can be evaluated against an OData table.
13
13
/// </summary>
14
14
/// <remarks>
15
- /// Rather than implenting <see cref="IQueryable{T}"/> directly, we've implemented the portion of the LINQ query
15
+ /// Rather than implementing <see cref="IQueryable{T}"/> directly, we've implemented the portion of the LINQ query
16
16
/// pattern we support on a datasync service. You can use the <see cref="IDatasyncQueryable{TEntity}"/> instance
17
17
/// to build up a query using normal LINQ patterns.
18
18
/// </remarks>
@@ -76,7 +76,7 @@ public IDatasyncQueryable<TEntity> IncludeDeletedItems(bool enabled = true)
76
76
/// Ensure the query will get the total count for all the records that would have been returned
77
77
/// ignoring any take paging/limit clause specified by client or server.
78
78
/// </summary>
79
- /// <param name="enabled">If <c>true</c>, enables this requst .</param>
79
+ /// <param name="enabled">If <c>true</c>, enables this request .</param>
80
80
/// <returns>The composed query object.</returns>
81
81
public IDatasyncQueryable < TEntity > IncludeTotalCount ( bool enabled = true )
82
82
{
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace CommunityToolkit.Datasync.Client.Offline;
10
10
/// Represents a query that can be evaluated against an OData table for pull operations.
11
11
/// </summary>
12
12
/// <remarks>
13
- /// Rather than implenting <see cref="IQueryable{T}"/> directly, we've implemented the portion of the LINQ query
13
+ /// Rather than implementing <see cref="IQueryable{T}"/> directly, we've implemented the portion of the LINQ query
14
14
/// pattern we support on a datasync service. You can use the <see cref="IDatasyncQueryable{TEntity}"/>
15
15
/// instance to build up a query using normal LINQ patterns.
16
16
/// </remarks>
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public interface IDatasyncQueryMethods<TEntity> where TEntity : class
24
24
/// Ensure the query will get the total count for all the records that would have been returned
25
25
/// ignoring any take paging/limit clause specified by client or server.
26
26
/// </summary>
27
- /// <param name="enabled">If <c>true</c>, enables this requst .</param>
27
+ /// <param name="enabled">If <c>true</c>, enables this request .</param>
28
28
/// <returns>The composed query object.</returns>
29
29
IDatasyncQueryable < TEntity > IncludeTotalCount ( bool enabled = true ) ;
30
30
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace CommunityToolkit.Datasync.Client;
10
10
/// Represents a query that can be evaluated against an OData table.
11
11
/// </summary>
12
12
/// <remarks>
13
- /// Rather than implenting <see cref="IQueryable{T}"/> directly, we've implemented the portion of the LINQ query
13
+ /// Rather than implementing <see cref="IQueryable{T}"/> directly, we've implemented the portion of the LINQ query
14
14
/// pattern we support on a datasync service. You can use the <see cref="IDatasyncQueryable{TEntity}"/>
15
15
/// instance to build up a query using normal LINQ patterns.
16
16
/// </remarks>
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ internal static List<Expression> FindIndependentSubtrees(this Expression express
27
27
{
28
28
List < Expression > subtrees = [ ] ;
29
29
30
- // The dependenty and isMemberInit flags are used to communicate between different layers
30
+ // The dependent and isMemberInit flags are used to communicate between different layers
31
31
// of the recursive visitor.
32
32
bool dependent = false ;
33
33
bool isMemberInit = false ;
@@ -50,7 +50,7 @@ internal static List<Expression> FindIndependentSubtrees(this Expression express
50
50
// If nothing in my subtree is dependent
51
51
if ( ! dependent )
52
52
{
53
- // A NewExpression itself will appear to be indepentt , but if the parent is a MemberInitExpression,
53
+ // A NewExpression itself will appear to be independent , but if the parent is a MemberInitExpression,
54
54
// then the NewExpression can't be evaluated by itself. The MemberInitExpression will determine
55
55
// if the full expression is dependent or not, so don't check it here.
56
56
if ( expr is NewExpression newExpression && parentIsMemberInit )
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ internal sealed class MemberAccessNode(QueryNode instance, string memberName) :
183
183
public override QueryNodeKind Kind => QueryNodeKind . MemberAccess ;
184
184
185
185
/// <summary>
186
- /// The name of the member (property, field, etc.) we are acccessing
186
+ /// The name of the member (property, field, etc.) we are accessing
187
187
/// </summary>
188
188
public string MemberName { get ; set ; } = memberName ;
189
189
}
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ internal QueryTranslator(IDatasyncPullQuery<T> query)
63
63
internal JsonNamingPolicy NamingPolicy { get ; }
64
64
65
65
/// <summary>
66
- /// Replacable function for GetTableMemberName.
66
+ /// Replaceable function for GetTableMemberName.
67
67
/// </summary>
68
68
internal Func < MemberExpression , JsonNamingPolicy , string > GetTableMemberName { get ; set ; } = DefaultGetTableMemberName ;
69
69
@@ -146,7 +146,7 @@ internal void AddByMethodName(MethodCallExpression expression, string methodName
146
146
break ;
147
147
148
148
default :
149
- throw new NotSupportedException ( $ "'{ methodName } ' caluse in query expression is not supported.") ;
149
+ throw new NotSupportedException ( $ "'{ methodName } ' clause in query expression is not supported.") ;
150
150
}
151
151
}
152
152
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ internal sealed class VisitorHelper : ExpressionVisitor
31
31
/// <summary>
32
32
/// A visitor callback for the VisitMember method that takes the
33
33
/// MemberExpression along with a function that will recurse and
34
- /// returns the visisted expression or a modified value.
34
+ /// returns the visited expression or a modified value.
35
35
/// </summary>
36
36
private Func < MemberExpression , Func < MemberExpression , Expression > , Expression > memberVisitor ;
37
37
@@ -82,7 +82,7 @@ public static Expression VisitMembers(Expression expression, Func<MemberExpressi
82
82
/// Visit every node.
83
83
/// </summary>
84
84
/// <param name="expression">The expression to visit.</param>
85
- /// <returns>The visisted expression.</returns>
85
+ /// <returns>The visited expression.</returns>
86
86
[ ExcludeFromCodeCoverage ]
87
87
public override Expression Visit ( Expression expression )
88
88
=> this . visitor != null ? this . visitor ( expression , e => base . Visit ( e ) ) : base . Visit ( expression ) ;
You can’t perform that action at this time.
0 commit comments