PluralizationService Class

Definition

Provides methods for constructing plural and singular forms of words.

public ref class PluralizationService abstract
public abstract class PluralizationService
type PluralizationService = class
Public MustInherit Class PluralizationService
Inheritance
PluralizationService

Remarks

The PluralizationService class applies English rules for constructing plural and singular forms of words. To extend the service to other languages, use the PluralizationService on the EntityModelSchemaGenerator class.

Constructors

PluralizationService()

Initializes a new instance of the PluralizationService class.

Properties

Culture

Gets or sets the PluralizationService culture.

Methods

CreateService(CultureInfo)

Creates a PluralizationService that applies language rules that correspond to the specified CultureInfo.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsPlural(String)

Determines whether the specified word is plural.

IsSingular(String)

Determines whether the specified word is singular.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Pluralize(String)

Returns the plural form of the specified word.

Singularize(String)

Returns the singular form of the specified word.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to