Implemented interface member:
method
Create
Microsoft.Extensions.Localization.IStringLocalizerFactory.Create(System.String, System.String)
9 references to Create
Microsoft.Extensions.Localization.Tests (9)
ResourceManagerStringLocalizerFactoryTest.cs (9)
84
stringFactory.
Create
(type.Name, assemblyName.Name);
218
var result1 = factory.
Create
("baseName", location);
219
var result2 = factory.
Create
("baseName", location);
237
var result1 = factory.
Create
("baseName1", location);
238
var result2 = factory.
Create
("baseName2", location);
257
var result1 = factory.
Create
("baseName", location1);
258
var result2 = factory.
Create
("baseName", location2);
280
var result1 = factory.
Create
("baseName", location: "Microsoft.Extensions.Localization.Tests");
297
Assert.Throws<ArgumentNullException>(() => factory.
Create
("baseName", location: null!));