Changed property name based on feedback

This commit is contained in:
damianedwards 2015-12-16 12:11:22 -08:00
parent 1c5362bccb
commit 2e8ae969b7
2 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ namespace Microsoft.AspNet.Localization
cultureInfo = GetCultureInfo( cultureInfo = GetCultureInfo(
cultures, cultures,
_options.SupportedCultures, _options.SupportedCultures,
_options.FallbackToAncestorCulture, _options.FallBackToParentCultures,
currentDepth: 0); currentDepth: 0);
} }
@ -87,7 +87,7 @@ namespace Microsoft.AspNet.Localization
uiCultureInfo = GetCultureInfo( uiCultureInfo = GetCultureInfo(
uiCultures, uiCultures,
_options.SupportedUICultures, _options.SupportedUICultures,
_options.FallbackToAncestorUICulture, _options.FallBackToParentUICultures,
currentDepth: 0); currentDepth: 0);
} }

View File

@ -61,7 +61,7 @@ namespace Microsoft.AspNet.Localization
/// culture "fr-FR", and a configured <see cref="IRequestCultureProvider"/> determines a request's culture is /// culture "fr-FR", and a configured <see cref="IRequestCultureProvider"/> determines a request's culture is
/// "fr-FR", then the request's culture will be set to the culture "fr", as it is an ancestor of "fr-FR". /// "fr-FR", then the request's culture will be set to the culture "fr", as it is an ancestor of "fr-FR".
/// </example> /// </example>
public bool FallbackToAncestorCulture { get; set; } = true; public bool FallBackToParentCultures { get; set; } = true;
/// <summary> /// <summary>
/// Gets or sets a value indicating whether to set a request UI culture to an ancestor culture in the case the /// Gets or sets a value indicating whether to set a request UI culture to an ancestor culture in the case the
@ -75,7 +75,7 @@ namespace Microsoft.AspNet.Localization
/// culture is "fr-FR", then the request's UI culture will be set to the culture "fr", as it is an ancestor of /// culture is "fr-FR", then the request's UI culture will be set to the culture "fr", as it is an ancestor of
/// "fr-FR". /// "fr-FR".
/// </example> /// </example>
public bool FallbackToAncestorUICulture { get; set; } = true; public bool FallBackToParentUICultures { get; set; } = true;
/// <summary> /// <summary>
/// The cultures supported by the application. The <see cref="RequestLocalizationMiddleware"/> will only set /// The cultures supported by the application. The <see cref="RequestLocalizationMiddleware"/> will only set