MyFilter類別繼承ActionFilterAttribute, IActionFilter,並覆寫OnActionExecuting方法。(還有OnActionExecuted等事件,依需求選擇要覆寫的事件).
確定! 回上一頁