diff --git a/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/DefaultExceptionToErrorInfoConverter.cs b/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/DefaultExceptionToErrorInfoConverter.cs index b68211a4e4..65ece43094 100644 --- a/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/DefaultExceptionToErrorInfoConverter.cs +++ b/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ExceptionHandling/DefaultExceptionToErrorInfoConverter.cs @@ -19,11 +19,11 @@ namespace Volo.Abp.AspNetCore.Mvc.ExceptionHandling { public bool SendAllExceptionsToClients { get; set; } = false; - private readonly ExceptionHandlingLocalizationOptions _localizationOptions; + private readonly ExceptionLocalizationOptions _localizationOptions; private readonly IStringLocalizerFactory _stringLocalizerFactory; public DefaultExceptionToErrorInfoConverter( - IOptions localizationOptions, + IOptions localizationOptions, IStringLocalizerFactory stringLocalizerFactory) { _stringLocalizerFactory = stringLocalizerFactory; diff --git a/src/Volo.Abp.Localization/Volo/Abp/Localization/ExceptionHandling/ExceptionHandlingLocalizationOptions.cs b/src/Volo.Abp.Localization/Volo/Abp/Localization/ExceptionHandling/ExceptionLocalizationOptions.cs similarity index 79% rename from src/Volo.Abp.Localization/Volo/Abp/Localization/ExceptionHandling/ExceptionHandlingLocalizationOptions.cs rename to src/Volo.Abp.Localization/Volo/Abp/Localization/ExceptionHandling/ExceptionLocalizationOptions.cs index 9bd860013c..8418d45325 100644 --- a/src/Volo.Abp.Localization/Volo/Abp/Localization/ExceptionHandling/ExceptionHandlingLocalizationOptions.cs +++ b/src/Volo.Abp.Localization/Volo/Abp/Localization/ExceptionHandling/ExceptionLocalizationOptions.cs @@ -3,11 +3,11 @@ using System.Collections.Generic; namespace Volo.Abp.Localization.ExceptionHandling { - public class ExceptionHandlingLocalizationOptions + public class ExceptionLocalizationOptions { public Dictionary CodeNamespaceMappings { get; } - public ExceptionHandlingLocalizationOptions() + public ExceptionLocalizationOptions() { CodeNamespaceMappings = new Dictionary(); }