Remove unnecessary code in ResourceManagerStringLocalizer (#300)
Remove lines from empty constructors
This commit is contained in:
parent
63af4318a3
commit
5c18449474
|
|
@ -22,7 +22,6 @@ namespace Microsoft.Extensions.Localization
|
|||
private readonly IResourceNamesCache _resourceNamesCache;
|
||||
private readonly ResourceManager _resourceManager;
|
||||
private readonly IResourceStringProvider _resourceStringProvider;
|
||||
private readonly AssemblyWrapper _resourceAssemblyWrapper;
|
||||
private readonly string _resourceBaseName;
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -43,10 +42,6 @@ namespace Microsoft.Extensions.Localization
|
|||
baseName,
|
||||
resourceNamesCache)
|
||||
{
|
||||
if (resourceAssembly == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(resourceAssembly));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -63,7 +58,6 @@ namespace Microsoft.Extensions.Localization
|
|||
baseName,
|
||||
resourceNamesCache)
|
||||
{
|
||||
_resourceAssemblyWrapper = resourceAssemblyWrapper;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue