Skip to content

Commit 540c634

Browse files
committed
update docs
1 parent aa6c0fc commit 540c634

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

FluentValidation.AutoValidation.Endpoints/src/Interceptors/IGlobalValidationInterceptor.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,18 @@ namespace SharpGrip.FluentValidation.AutoValidation.Endpoints.Interceptors
1414
public interface IGlobalValidationInterceptor
1515
{
1616
/// <summary>
17-
/// Executes custom logic before the validation process. Allows intercepting and altering the validation context
18-
/// prior to the execution of the validation rules.
17+
/// Executes custom logic before the validation process. Allows intercepting and altering the validation context prior to the execution of the validation rules.
1918
/// </summary>
2019
/// <param name="endpointFilterInvocationContext">The context of the currently executing endpoint filter, providing access to details about the HTTP request and endpoint.</param>
2120
/// <param name="validationContext">The validation context containing information about the object being validated.</param>
2221
/// <param name="cancellationToken">A token to monitor for cancellation requests.</param>
2322
/// <returns>
24-
/// A transformed or new <see cref="IValidationContext"/> instance to be used in the validation process,
25-
/// or null if no changes need to be applied.
23+
/// A transformed or new <see cref="IValidationContext"/> instance to be used in the validation process, or null if no changes need to be applied.
2624
/// </returns>
2725
public Task<IValidationContext?> BeforeValidation(EndpointFilterInvocationContext endpointFilterInvocationContext, IValidationContext validationContext, CancellationToken cancellationToken = default);
2826

2927
/// <summary>
30-
/// Executes custom logic after the validation process. Allows intercepting and altering the validation result
31-
/// or performing additional operations after the validation has been completed.
28+
/// Executes custom logic after the validation process. Allows intercepting and altering the validation result or performing additional operations after the validation has been completed.
3229
/// </summary>
3330
/// <param name="endpointFilterInvocationContext">The context of the currently executing endpoint filter, providing access to details about the HTTP request and endpoint.</param>
3431
/// <param name="validationContext">The validation context containing information about the object that was validated.</param>

FluentValidation.AutoValidation.Mvc/src/Interceptors/IGlobalValidationInterceptor.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,18 @@ namespace SharpGrip.FluentValidation.AutoValidation.Mvc.Interceptors
1414
public interface IGlobalValidationInterceptor
1515
{
1616
/// <summary>
17-
/// Executes custom logic before the validation process. Allows intercepting and altering the validation context
18-
/// prior to the execution of the validation rules.
17+
/// Executes custom logic before the validation process. Allows intercepting and altering the validation context prior to the execution of the validation rules.
1918
/// </summary>
2019
/// <param name="actionExecutingContext">The context of the currently executing action, providing access to details about the HTTP request and action.</param>
2120
/// <param name="validationContext">The validation context containing information about the object being validated.</param>
2221
/// <param name="cancellationToken">A token to monitor for cancellation requests.</param>
2322
/// <returns>
24-
/// A transformed or new <see cref="IValidationContext"/> instance to be used in the validation process,
25-
/// or null if no changes need to be applied.
23+
/// A transformed or new <see cref="IValidationContext"/> instance to be used in the validation process, or null if no changes need to be applied.
2624
/// </returns>
2725
public Task<IValidationContext?> BeforeValidation(ActionExecutingContext actionExecutingContext, IValidationContext validationContext, CancellationToken cancellationToken = default);
2826

2927
/// <summary>
30-
/// Executes custom logic after the validation process. Allows intercepting and altering the validation result
31-
/// or performing additional operations after the validation has been completed.
28+
/// Executes custom logic after the validation process. Allows intercepting and altering the validation result or performing additional operations after the validation has been completed.
3229
/// </summary>
3330
/// <param name="actionExecutingContext">The context of the currently executing action, providing access to details about the HTTP request and action.</param>
3431
/// <param name="validationContext">The validation context containing information about the object that was validated.</param>

0 commit comments

Comments
 (0)