C# Class MSDNSWebAdmin.Controllers.ControllerBase

Base Controller for DNS Web Management
Inheritance: Controller
ファイルを表示 Open project: drorgl/MSDNSWebAdmin

Public Methods

Method Description
Logger ( string component, string method ) : log4net.ILog

Gets a logger instance

Protected Methods

Method Description
OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void

Executes when an unhandled exception happens in the controller.

Method Details

Logger() public method

Gets a logger instance
public Logger ( string component, string method ) : log4net.ILog
component string Component/Controller name
method string The method which inserted the log record
return log4net.ILog

OnException() protected method

Executes when an unhandled exception happens in the controller.
protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext Information about the current request and action.
return void