asp.net webapi Action过滤器实现这个:
#region 程序集 System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 //
~~\trunk\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll
#endregion
System.Web.Http.Filters.ActionFilterAttribute : FilterAttribute, IActionFilter, IFilter
asp.net mvc Action过滤器实现这个:
#region 程序集 System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 //
~\trunk\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll
#endregion
namespace System.Web.Mvc.ActionFilterAttribute : FilterAttribute, IActionFilter, IResultFilter