exceptionfilterattribute 相关问题


在ExceptionFilter中使用ILogger

我想在 ExceptionFilter 中使用 .NET Core Logger,如下所示: 公共类 GlobalExceptionAttribute :ExceptionFilterAttribute { 私有只读 ILogger _logger;...


© www.soinside.com 2019 - 2024. All rights reserved.