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