Skip to content

Commit 75c33e5

Browse files
committed
Run code cleanup
1 parent c0450ff commit 75c33e5

9 files changed

Lines changed: 23 additions & 21 deletions

File tree

src/JsonApiDotNetCore/Configuration/IJsonApiOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ public interface IJsonApiOptions
170170
int? MaximumOperationsPerRequest { get; }
171171

172172
/// <summary>
173-
/// Enables overriding the default isolation level for database transactions to balance between consistency and performance. Defaults to
174-
/// <c>null</c>, which leaves this up to Entity Framework Core to choose (and then it varies per database provider).
173+
/// Enables overriding the default isolation level for database transactions to balance between consistency and performance. Defaults to <c>null</c>,
174+
/// which leaves this up to Entity Framework Core to choose (and then it varies per database provider).
175175
/// </summary>
176176
IsolationLevel? TransactionIsolationLevel { get; }
177177

src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
namespace JsonApiDotNetCore.Queries.Expressions;
77

88
/// <summary>
9-
/// This expression tests if an attribute value equals any of the specified constants. It represents the "any" filter function, resulting from
10-
/// text such as:
9+
/// This expression tests if an attribute value equals any of the specified constants. It represents the "any" filter function, resulting from text such
10+
/// as:
1111
/// <c>
1212
/// any(owner.name,'Jack','Joe','John')
1313
/// </c>

src/JsonApiDotNetCore/Queries/Expressions/CountExpression.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
namespace JsonApiDotNetCore.Queries.Expressions;
55

66
/// <summary>
7-
/// This expression determines the number of related resources in a to-many relationship. It represents the "count" function, resulting from
8-
/// text such as:
7+
/// This expression determines the number of related resources in a to-many relationship. It represents the "count" function, resulting from text such
8+
/// as:
99
/// <c>
1010
/// count(articles)
1111
/// </c>

src/JsonApiDotNetCore/Queries/Expressions/IsTypeExpression.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
namespace JsonApiDotNetCore.Queries.Expressions;
77

88
/// <summary>
9-
/// This expression tests if a resource in an inheritance hierarchy can be upcast to a derived type, optionally with a condition where the
10-
/// derived type is accessible. It represents the "isType" filter function, resulting from text such as:
9+
/// This expression tests if a resource in an inheritance hierarchy can be upcast to a derived type, optionally with a condition where the derived type
10+
/// is accessible. It represents the "isType" filter function, resulting from text such as:
1111
/// <c>
1212
/// isType(,men)
1313
/// </c>

src/JsonApiDotNetCore/Queries/Expressions/LogicalExpression.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
namespace JsonApiDotNetCore.Queries.Expressions;
77

88
/// <summary>
9-
/// This expression tests whether one or all of its boolean operands are true. It represents the logical AND/OR filter functions, resulting from
10-
/// text such as:
9+
/// This expression tests whether one or all of its boolean operands are true. It represents the logical AND/OR filter functions, resulting from text
10+
/// such as:
1111
/// <c>
1212
/// and(equals(title,'Work'),has(articles))
1313
/// </c>

src/JsonApiDotNetCore/Resources/IResourceDefinition.cs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ public interface IResourceDefinition<TResource, in TId>
176176
/// <summary>
177177
/// Executes before setting the resources at the right side of a to-many relationship. This replaces on existing set.
178178
/// <para>
179-
/// Implementing this method enables performing validations and making changes to <paramref name="rightResourceIds" />, before the relationship is updated.
179+
/// Implementing this method enables performing validations and making changes to <paramref name="rightResourceIds" />, before the relationship is
180+
/// updated.
180181
/// </para>
181182
/// </summary>
182183
/// <param name="leftResource">
@@ -202,7 +203,8 @@ Task OnSetToManyRelationshipAsync(TResource leftResource, HasManyAttribute hasMa
202203
/// <summary>
203204
/// Executes before adding resources to the right side of a to-many relationship, as part of a POST relationship request.
204205
/// <para>
205-
/// Implementing this method enables performing validations and making changes to <paramref name="rightResourceIds" />, before the relationship is updated.
206+
/// Implementing this method enables performing validations and making changes to <paramref name="rightResourceIds" />, before the relationship is
207+
/// updated.
206208
/// </para>
207209
/// </summary>
208210
/// <param name="leftResource">
@@ -237,7 +239,8 @@ Task OnAddToRelationshipAsync(TResource leftResource, HasManyAttribute hasManyRe
237239
/// <summary>
238240
/// Executes before removing resources from the right side of a to-many relationship, as part of a DELETE relationship request.
239241
/// <para>
240-
/// Implementing this method enables performing validations and making changes to <paramref name="rightResourceIds" />, before the relationship is updated.
242+
/// Implementing this method enables performing validations and making changes to <paramref name="rightResourceIds" />, before the relationship is
243+
/// updated.
241244
/// </para>
242245
/// </summary>
243246
/// <param name="leftResource">
@@ -260,8 +263,8 @@ Task OnRemoveFromRelationshipAsync(TResource leftResource, HasManyAttribute hasM
260263
/// <summary>
261264
/// Executes before writing the changed resource to the underlying data store, as part of a write request.
262265
/// <para>
263-
/// Implementing this method enables performing validations and making changes to <paramref name="resource" />, after the fields from the request have been
264-
/// copied into it.
266+
/// Implementing this method enables performing validations and making changes to <paramref name="resource" />, after the fields from the request have
267+
/// been copied into it.
265268
/// </para>
266269
/// <para>
267270
/// An example usage is to set the last-modification timestamp, overwriting the value from the incoming request.

test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/CustomFunctions/Decrypt/DecryptExpression.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
namespace JsonApiDotNetCoreTests.IntegrationTests.QueryStrings.CustomFunctions.Decrypt;
55

66
/// <summary>
7-
/// This expression calls the user-defined "decrypt_column_value" database function. It represents the "decrypt" function, resulting from text
8-
/// such as:
7+
/// This expression calls the user-defined "decrypt_column_value" database function. It represents the "decrypt" function, resulting from text such as:
98
/// <c>
109
/// decrypt(title)
1110
/// </c>

test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/CustomFunctions/IsUpperCase/IsUpperCaseExpression.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
namespace JsonApiDotNetCoreTests.IntegrationTests.QueryStrings.CustomFunctions.IsUpperCase;
55

66
/// <summary>
7-
/// This expression tests if the value of a JSON:API attribute is upper case. It represents the "isUpperCase" filter function, resulting from
8-
/// text such as:
7+
/// This expression tests if the value of a JSON:API attribute is upper case. It represents the "isUpperCase" filter function, resulting from text such
8+
/// as:
99
/// <c>
1010
/// isUpperCase(title)
1111
/// </c>

test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/CustomFunctions/Sum/SumExpression.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
namespace JsonApiDotNetCoreTests.IntegrationTests.QueryStrings.CustomFunctions.Sum;
55

66
/// <summary>
7-
/// This expression determines the sum of values in the related resources of a to-many relationship. It represents the "sum" function, resulting
8-
/// from text such as:
7+
/// This expression determines the sum of values in the related resources of a to-many relationship. It represents the "sum" function, resulting from
8+
/// text such as:
99
/// <c>
1010
/// sum(orderLines,quantity)
1111
/// </c>

0 commit comments

Comments
 (0)