Rename ExceptionHandlingLocalizationOptions to ExceptionLocalizationOptions

pull/279/head
Halil İbrahim Kalkan 7 years ago
parent 414cc72b37
commit 61eaff79ea

@ -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<ExceptionHandlingLocalizationOptions> localizationOptions,
IOptions<ExceptionLocalizationOptions> localizationOptions,
IStringLocalizerFactory stringLocalizerFactory)
{
_stringLocalizerFactory = stringLocalizerFactory;

@ -3,11 +3,11 @@ using System.Collections.Generic;
namespace Volo.Abp.Localization.ExceptionHandling
{
public class ExceptionHandlingLocalizationOptions
public class ExceptionLocalizationOptions
{
public Dictionary<string, Type> CodeNamespaceMappings { get; }
public ExceptionHandlingLocalizationOptions()
public ExceptionLocalizationOptions()
{
CodeNamespaceMappings = new Dictionary<string, Type>();
}
Loading…
Cancel
Save