Skip to content

Commit

Permalink
Update Mediatr
Browse files Browse the repository at this point in the history
  • Loading branch information
prom3theu5 committed Oct 2, 2022
1 parent 56ffefb commit 41f9239
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/SimCube.Spartan/SimCube.Spartan.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/SimCube.Spartan/Validation/ValidationBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public class ValidationBehavior<TRequest, TResponse> : IPipelineBehavior<TReques
/// Performs the validation.
/// </summary>
/// <param name="request">The request to validate.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <param name="next">The next middleware in the request pipeline.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>The result of the validation, or the result of the next result in the pipeline if validation is successful.</returns>
public async Task<TResponse> Handle(TRequest request, CancellationToken cancellationToken, RequestHandlerDelegate<TResponse> next)
public async Task<TResponse> Handle(TRequest request, RequestHandlerDelegate<TResponse> next, CancellationToken cancellationToken)
{
var context = new ValidationContext<TRequest>(request);

Expand Down

0 comments on commit 41f9239

Please sign in to comment.