C# Class MvcApplication1.Filters.TransactionFilter

Inheritance: IActionFilter
显示文件 Open project: RichardWilliams/MVC-NHibernate-Ninject

Public Methods

Method Description
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
TransactionFilter ( ISession session ) : System.Web.Mvc

Method Details

OnActionExecuted() public method

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
return void

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
return void

TransactionFilter() public method

public TransactionFilter ( ISession session ) : System.Web.Mvc
session ISession
return System.Web.Mvc