Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsolete ResourceManagerWithCultureStringLocalizer and WithCulture #1133

Merged
merged 4 commits into from
Feb 20, 2019

Conversation

ryanbrandenburg
Copy link

@@ -40,6 +41,7 @@ public interface IStringLocalizer
/// </summary>
/// <param name="culture">The <see cref="CultureInfo"/> to use.</param>
/// <returns>A culture-specific <see cref="IStringLocalizer"/>.</returns>
[Obsolete("Set the CurrentCulture and CurrentUICulture instead.")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is too strict. Let's go with: "This method is obsolete. Use CurrentCulture and CurrentUICulture instead". And please use this patter for the rest of the messages.

@ryanbrandenburg ryanbrandenburg merged commit 924015e into master Feb 20, 2019
@ryanbrandenburg ryanbrandenburg deleted the rybrande/ObsoleteSomeLocFuncs branch February 20, 2019 19:44
JunTaoLuo pushed a commit to dotnet/aspnetcore that referenced this pull request Feb 12, 2020
…otnet/extensions#1133)

Obsolete ResourceManagerWithCultureStringLocalizer and WithCulture
\n\nCommit migrated from dotnet/extensions@924015e
JunTaoLuo pushed a commit to dotnet/aspnetcore that referenced this pull request Feb 15, 2020
…otnet/extensions#1133)

Obsolete ResourceManagerWithCultureStringLocalizer and WithCulture
\n\nCommit migrated from dotnet/extensions@924015e
@ghost ghost locked as resolved and limited conversation to collaborators May 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants