From 4597fe3e944541192239211a1c4b10c4c3c9b0bc Mon Sep 17 00:00:00 2001 From: Gerard Smit Date: Thu, 21 Dec 2023 19:44:20 +0100 Subject: [PATCH] chore: update MediatR.Contracts --- src/Mediator/Handlers/IRequestHandler.cs | 4 ++-- src/Mediator/Mediator.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mediator/Handlers/IRequestHandler.cs b/src/Mediator/Handlers/IRequestHandler.cs index 35d0f78..415b55b 100644 --- a/src/Mediator/Handlers/IRequestHandler.cs +++ b/src/Mediator/Handlers/IRequestHandler.cs @@ -38,7 +38,7 @@ public interface IRequestHandler : IRequestHandler /// /// The type of request being handled public abstract class AsyncRequestHandler : IRequestHandler - where TRequest : IRequest + where TRequest : IRequest { async ValueTask IRequestHandler.Handle(IServiceProvider provider, TRequest request, CancellationToken cancellationToken) { @@ -82,7 +82,7 @@ ValueTask IRequestHandler.Handle(IServiceProvide /// /// The type of request being handled public abstract class RequestHandler : IRequestHandler - where TRequest : IRequest + where TRequest : IRequest { ValueTask IRequestHandler.Handle(IServiceProvider provider, TRequest request, CancellationToken cancellationToken) diff --git a/src/Mediator/Mediator.csproj b/src/Mediator/Mediator.csproj index ef986c1..fe0e027 100644 --- a/src/Mediator/Mediator.csproj +++ b/src/Mediator/Mediator.csproj @@ -13,7 +13,7 @@ - +