Entity resource convention that pluralizes singular-named entity types to make the resource name. If the entity type is already a plural name, returns it as-is.
Inheritance: IEntityResourceNameConvention
Ejemplo n.º 1
0
		public void WhenFormatLowerCase_ThenTurnsFirstLetterLowerCase()
		{
			var pluralizer = new PluralizerResourceConvention(
				PluralizationService.CreateService(new System.Globalization.CultureInfo("en-US")), PluralizerResourceFormat.CamelCase);

			Assert.Equal("helloWorlds", pluralizer.GetResourceName(typeof(HelloWorld)));
		}