PluralizationService.IsPlural(String) Método

Definição

Determina se a palavra especificada está no plural.Determines whether the specified word is plural.

public:
 abstract bool IsPlural(System::String ^ word);
public abstract bool IsPlural (string word);
abstract member IsPlural : string -> bool
Public MustOverride Function IsPlural (word As String) As Boolean

Parâmetros

word
String

O valor a ser analisado.The value to be analyzed.

Retornos

Boolean

true se a palavra estiver no plural, caso contrário, false.true if the word is plural; otherwise, false.

Comentários

A PluralizationService classe aplica regras em inglês para construir formas de palavras no plural e singulares.The PluralizationService class applies English rules for constructing plural and singular forms of words. Para estender o serviço para outros idiomas, use o PluralizationService na EntityModelSchemaGenerator classe.To extend the service to other languages, use the PluralizationService on the EntityModelSchemaGenerator class.

Os IsPlural métodos e IsSingular podem retornar true para a mesma palavra.Both the IsPlural and IsSingular methods can return true for the same word. Por exemplo, os dois métodos retornarão true para a palavra "peixe".For example, both methods will return true for the word "fish".

Aplica-se a