public ExceptionFilterImpl(ILoggerFactory loggerFactory, bool handleMvcRequests, bool handleApiRequests, ExceptionFilterOptions options) { _logger = loggerFactory.CreateLogger <ExceptionFilterAttribute>(); _handleMvcRequests = handleMvcRequests; _handleApiRequests = handleApiRequests; _options = options; }
public ExceptionFilterAttribute(bool handleMvcRequests, bool handleApiRequests, ExceptionFilterOptions options) : base(typeof(ExceptionFilterImpl)) { Arguments = new object[] { handleMvcRequests, handleApiRequests, options }; }