mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 15:11:10 +00:00
Adds strongly typed IOptions<T> binding, with Fluent Validation and shared appsettings for the Web client app
This commit is contained in:
1 parent
cf7981aad4
commit
d8c64920dc
6 files changed
+153
-1
No files matched your search
@@ -35,7 +35,7 @@ public class ValidationBehavior<TRequest, TResponse> : IPipelineBehavior<TReques
|
||||
/// </summary>
|
||||
/// <param name="request">Incoming request.</param>
|
||||
/// <param name="next">Awaitable delegate for the next action in the pipeline. Eventually this delegate represents the handler.</param>
|
||||
/// <param name="cancellationToken">Cancellation token.</param>
|
||||
/// <param name="cancellationToken">Cancellation token that can be used to stop the execution.</param>
|
||||
public async ValueTask<TResponse> Handle(TRequest request, CancellationToken cancellationToken, MessageHandlerDelegate<TRequest, TResponse> next)
|
||||
{
|
||||
// if there is no validator, just invoke the handler
|
||||
|
||||
Reference in new issue
Block a user