8 references to StringLocalizer
Microsoft.Extensions.Localization.Tests (8)
StringLocalizerOfTTest.cs (8)
17() => new StringLocalizer<object>(factory: null!)); 29_ = new StringLocalizer<object>(factory.Object); 44var localizer = new StringLocalizer<object>(factory.Object); 61var localizer = new StringLocalizer<object>(factory.Object); 79var localizer = new StringLocalizer<object>(factory.Object); 96var localizer = new StringLocalizer<object>(factory.Object); 114var localizer = new StringLocalizer<object>(factory.Object); 127IStringLocalizer<BaseType> localizer = new StringLocalizer<DerivedType>(Mock.Of<IStringLocalizerFactory>());