WIP
This commit is contained in:
parent
29f7e4bd62
commit
2fe9fb4707
|
|
@ -105,7 +105,7 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
|
|
||||||
if (cultures.Length == 0)
|
if (cultures.Length == 0)
|
||||||
{
|
{
|
||||||
throw new ArgumentException(nameof(cultures));
|
throw new ArgumentException($"The {cultures} cannot be null.", nameof(cultures));
|
||||||
}
|
}
|
||||||
|
|
||||||
var options = new RequestLocalizationOptions()
|
var options = new RequestLocalizationOptions()
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,6 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public IList<IRequestCultureProvider> RequestCultureProviders { get; set; }
|
public IList<IRequestCultureProvider> RequestCultureProviders { get; set; }
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adds the set of the supported cultures by the application.
|
/// Adds the set of the supported cultures by the application.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -147,7 +146,7 @@ namespace Microsoft.AspNetCore.Builder
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <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.
|
/// one of the configured <see cref="IRequestCultureProvider"/>s.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="defaultCulture">The default culture to be set.</param>
|
/// <param name="defaultCulture">The default culture to be set.</param>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue