/// <summary>
 /// 构造ApiExecutionContextHandler
 /// </summary>
 /// <param name="attr"></param>
 public ApiExecutionContextHandler(ActionFilterAttribute attr)
 {
     ExceptionHandler = new DefaultApiExceptionHandler();
     ModelStateValidationErrorHandler = new DefaultModelStateValidationErrorHandler();
     UnauthorizedRequestHandler = new DefaultUnauthorizedRequestHandler();
     this.AssociateFilter = attr;
 }
        public ActionFilterAttributeTracer(ActionFilterAttribute innerFilter, ITraceWriter traceWriter)
        {
            Contract.Assert(innerFilter != null);
            Contract.Assert(traceWriter != null);

            _innerFilter = innerFilter;
            _traceWriter = traceWriter;
        }
 public ActionFilterAttributeTracer(ActionFilterAttribute innerFilter, ITraceWriter traceWriter)
 {
     _innerFilter = innerFilter;
     _traceWriter = traceWriter;
 }