public HttpExceptionFilterAttribute(bool showStackTrace = false, params IExceptionTranslator[] customTranslators)
 {
     ExceptionTranslator = new HttpExceptionTranslator(customTranslators);
     ShowStackTrace = showStackTrace;
 }
예제 #2
0
 public HttpExceptionFilterAttribute(bool showStackTrace = false, params IExceptionTranslator[] customTranslators)
 {
     ExceptionTranslator = new HttpExceptionTranslator(customTranslators);
     ShowStackTrace      = showStackTrace;
 }