博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年10月24日

摘要: /**//// /// 防盗链Filter./// public class AntiOutSiteLinkAttribute : ActionFilterAttribute, IActionFilter{ public AntiOutSiteLinkAttribute(FileType fi... 阅读全文

posted @ 2014-10-24 17:14 Wuqh 阅读(212) 评论(0) 推荐(0) 编辑

摘要: 接口public interface IExceptionFilter { void OnException(ExceptionContext filterContext); }ExceptionContext继承于ControllerContext,从中可以获得路由数据route data、Ht... 阅读全文

posted @ 2014-10-24 17:09 Wuqh 阅读(238) 评论(0) 推荐(0) 编辑