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)
84stringFactory.Create(type.Name, assemblyName.Name); 218var result1 = factory.Create("baseName", location); 219var result2 = factory.Create("baseName", location); 237var result1 = factory.Create("baseName1", location); 238var result2 = factory.Create("baseName2", location); 257var result1 = factory.Create("baseName", location1); 258var result2 = factory.Create("baseName", location2); 280var result1 = factory.Create("baseName", location: "Microsoft.Extensions.Localization.Tests"); 297Assert.Throws<ArgumentNullException>(() => factory.Create("baseName", location: null!));