Skip to content

Commit

Permalink
Add generic type middleware filter /2 (#29560)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick-Anderson committed Jun 20, 2023
1 parent 8141927 commit 3aed4c5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;

namespace FiltersSample.Controllers;

// <snippet_Class>
[MiddlewareFilter(typeof(FilterMiddlewarePipeline))]
[MiddlewareFilter<FilterMiddlewarePipeline>]
public class FilterMiddlewareController : Controller
{
public IActionResult Index() =>
Expand Down

0 comments on commit 3aed4c5

Please sign in to comment.