C# Class PetaPocoWebApplication.Infrastructure.PetaPocoContextAttribute.PetaPocoFilter

Inheritance: IActionFilter, IExceptionFilter
Datei anzeigen Open project: schotime/PetaPocoSampleWebApplication

Public Methods

Method Description
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
PetaPocoFilter ( IDatabase database ) : System

Private Methods

Method Description
EndSession ( bool isException, bool modelstateValid ) : void

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

OnException() public method

public OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext
return void

PetaPocoFilter() public method

public PetaPocoFilter ( IDatabase database ) : System
database IDatabase
return System