Update ValidatorBehavior.cs
This commit is contained in:
parent
2817a72bd3
commit
f45c4cb075
@ -1,6 +1,6 @@
|
||||
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.Behaviors;
|
||||
|
||||
public class ValidatorBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> : where TRequest : IRequest<TResponse>
|
||||
public class ValidatorBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> where TRequest : IRequest<TResponse>
|
||||
{
|
||||
private readonly ILogger<ValidatorBehavior<TRequest, TResponse>> _logger;
|
||||
private readonly IEnumerable<IValidator<TRequest>> _validators;
|
||||
@ -33,4 +33,4 @@ public class ValidatorBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest
|
||||
|
||||
return await next();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user