This commit is contained in:
hishamco 2018-01-13 23:34:43 +03:00
parent 29f7e4bd62
commit 2fe9fb4707
2 changed files with 2 additions and 3 deletions

View File

@ -105,7 +105,7 @@ namespace Microsoft.AspNetCore.Builder
if (cultures.Length == 0)
{
throw new ArgumentException(nameof(cultures));
throw new ArgumentException($"The {cultures} cannot be null.", nameof(cultures));
}
var options = new RequestLocalizationOptions()

View File

@ -110,7 +110,6 @@ namespace Microsoft.AspNetCore.Builder
/// </summary>
public IList<IRequestCultureProvider> RequestCultureProviders { get; set; }
/// <summary>
/// Adds the set of the supported cultures by the application.
/// </summary>
@ -147,7 +146,7 @@ namespace Microsoft.AspNetCore.Builder
}
/// <summary>
/// Set the default culture to be used by the application when a supported culture could not be determined by
/// Set the default culture which is used by the application when a supported culture could not be determined by
/// one of the configured <see cref="IRequestCultureProvider"/>s.
/// </summary>
/// <param name="defaultCulture">The default culture to be set.</param>