Skip to content

Commit

Permalink
Contravariant parameter was added to the generic request exception ac…
Browse files Browse the repository at this point in the history
…tion interface
  • Loading branch information
Shumigaj committed Dec 20, 2019
1 parent 89016b1 commit 7967c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MediatR/Pipeline/IRequestExceptionAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public interface IRequestExceptionAction<in TRequest, in TException>
/// <see cref="IRequestExceptionAction{TRequest, TException}" /> interface.
/// </summary>
/// <typeparam name="TRequest">The type of failed request</typeparam>
public interface IRequestExceptionAction<TRequest> : IRequestExceptionAction<TRequest, Exception>
public interface IRequestExceptionAction<in TRequest> : IRequestExceptionAction<TRequest, Exception>
{
}

Expand Down

0 comments on commit 7967c28

Please sign in to comment.