asp.net mvc 6 中的 ActionFilterAttribute 在哪里

Where is ActionFilterAttribute in asp.net mvc 6

我应该使用哪个包在 asp.net 5 中创建自定义操作过滤器?在以前的mvc中,我可以通过继承ActionFilterAttribute来创建一个。现在这个class好像动了。

请帮忙。谢谢

ActionFilterAttribute 在 Microsoft.AspNetCore.Mvc.Filters 命名空间中。

MVC 的所有源代码 can be found on GitHub 所以如果您找不到 类 通常可以找到它们的地方,您应该检查那里。