C# Класс Customer.Project.Mvc.Instrumentation.Report

Показать файл Открыть проект

Открытые методы

Метод Описание
Error ( BaseController controller, Exception ex, string prefix ) : void

Logs error to IFormatLogger and Elmah and adds a non descriptive error message to the modelstate

Error ( BaseController controller, string errorDescription ) : void

Logs error to IFormatLogger and Elmah and adds a non descriptive error message to the modelstate

LogAndRaiseErrorImplementation ( string errorDescription ) : void
LogInfo ( Exception ex, string prefix ) : void

Logs error to IFormatLogger and Elmah

ReportAuthorizationError ( this controller ) : void
ReturnJsonAuthorizationError ( this controller ) : object

Приватные методы

Метод Описание
LogAndRaiseAuthorizationError ( BaseController controller ) : void

Описание методов

Error() публичный статический Метод

Logs error to IFormatLogger and Elmah and adds a non descriptive error message to the modelstate
public static Error ( BaseController controller, Exception ex, string prefix ) : void
controller Customer.Project.Mvc.Controllers.BaseController
ex System.Exception
prefix string
Результат void

Error() публичный статический Метод

Logs error to IFormatLogger and Elmah and adds a non descriptive error message to the modelstate
public static Error ( BaseController controller, string errorDescription ) : void
controller Customer.Project.Mvc.Controllers.BaseController
errorDescription string
Результат void

LogAndRaiseErrorImplementation() публичный статический Метод

public static LogAndRaiseErrorImplementation ( string errorDescription ) : void
errorDescription string
Результат void

LogInfo() публичный статический Метод

Logs error to IFormatLogger and Elmah
public static LogInfo ( Exception ex, string prefix ) : void
ex System.Exception
prefix string
Результат void

ReportAuthorizationError() публичный статический Метод

public static ReportAuthorizationError ( this controller ) : void
controller this
Результат void

ReturnJsonAuthorizationError() публичный статический Метод

public static ReturnJsonAuthorizationError ( this controller ) : object
controller this
Результат object