PluralizationService PluralizationService PluralizationService 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
PluralizationServicePluralizationServicePluralizationServicePluralizationService

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() PluralizationService() PluralizationService() PluralizationService()

Initializes a new instance of the PluralizationService class.

Properties

Culture Culture Culture Culture

Gets or sets the PluralizationService culture.

Methods

CreateService(CultureInfo) CreateService(CultureInfo) CreateService(CultureInfo) CreateService(CultureInfo)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsPlural(String) IsPlural(String) IsPlural(String) IsPlural(String)

Determines whether the specified word is plural.

IsSingular(String) IsSingular(String) IsSingular(String) IsSingular(String)

Determines whether the specified word is singular.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Pluralize(String) Pluralize(String) Pluralize(String) Pluralize(String)

Returns the plural form of the specified word

Singularize(String) Singularize(String) Singularize(String) Singularize(String)

Returns the singular form of the specified word.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to