Skip to content

Commit

Permalink
Merge pull request #475 from Shumigaj/master
Browse files Browse the repository at this point in the history
Contravariant parameter was added to the generic request exception action interface
  • Loading branch information
jbogard authored Dec 20, 2019
2 parents 89016b1 + 7967c28 commit f8f6778
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 f8f6778

Please sign in to comment.