Свойство | Тип | Описание | |
---|---|---|---|
GenderDetectors | IGenderDetector>.Dictionary | ||
NumberWriters | INumberWriter>.Dictionary | ||
Pluralizers | IPluralizer>.Dictionary |
Метод | Описание | |
---|---|---|
ForGenderAndNumber ( this genderAwareText, char gender = null, int number = null ) : string | ||
GetGender ( string name, |
||
GetPronom ( char gender, bool plural, |
||
HasGenders ( |
||
NiceName ( this memberName ) : string | ||
Pluralize ( string singularName, |
||
SpacePascal ( this pascalStr, |
||
SpacePascal ( this pascalStr, bool preserveUppercase ) : string | ||
ToPascal ( this str ) : string | ||
ToPascal ( this str, bool firstUpper ) : string |
Метод | Описание | |
---|---|---|
GetPart ( string textToReplace ) : string | ||
Kind ( string pascalStr, int i ) : CharKind |
public static ForGenderAndNumber ( this genderAwareText, char gender = null, int number = null ) : string | ||
genderAwareText | this | Something like Line[s] or [1m:Man|m:Men|1f:Woman|f:Women] |
gender | char | Masculine, Femenine, Neutrum, Inanimate, Animate |
number | int | |
Результат | string |
public static GetGender ( string name, |
||
name | string | |
culture | ||
Результат | char? |
public static GetPronom ( char gender, bool plural, |
||
gender | char | |
plural | bool | |
culture | ||
Результат | string |
public static HasGenders ( |
||
cultureInfo | ||
Результат | bool |
public static NiceName ( this memberName ) : string | ||
memberName | this | |
Результат | string |
public static Pluralize ( string singularName, |
||
singularName | string | |
culture | ||
Результат | string |
public static SpacePascal ( this pascalStr, |
||
pascalStr | this | |
culture | ||
Результат | string |
public static SpacePascal ( this pascalStr, bool preserveUppercase ) : string | ||
pascalStr | this | |
preserveUppercase | bool | |
Результат | string |
public static ToPascal ( this str ) : string | ||
str | this | |
Результат | string |
public static ToPascal ( this str, bool firstUpper ) : string | ||
str | this | |
firstUpper | bool | |
Результат | string |
public static Dictionary |
||
Результат | IGenderDetector>.Dictionary |
public static Dictionary |
||
Результат | INumberWriter>.Dictionary |