Skip to content

Commit 5b0cc29

Browse files
committed
Remove WithCulture()
1 parent e5f8954 commit 5b0cc29

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/My.Extensions.Localization.Json/JsonStringLocalizer.cs

-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ public LocalizedString this[string name]
8181
public virtual IEnumerable<LocalizedString> GetAllStrings(bool includeParentCultures) =>
8282
GetAllStrings(includeParentCultures, CultureInfo.CurrentUICulture);
8383

84-
[Obsolete("This method is obsolete and will be removed in a future version.")]
85-
public IStringLocalizer WithCulture(CultureInfo culture) => this;
86-
8784
protected virtual IEnumerable<LocalizedString> GetAllStrings(bool includeParentCultures, CultureInfo culture)
8885
{
8986
ArgumentNullException.ThrowIfNull(culture);

0 commit comments

Comments
 (0)