C# Класс Simple.Generator.Strings.GeneratorStrings

Показать файл Открыть проект

Открытые методы

Метод Описание
AddOrdinalSuffix ( this number ) : string
AddUnderscores ( this pascalCasedWord ) : string
CleanUp ( this propertyToFilter ) : string
ConvertUnderscoresToDashes ( this underscoredWord ) : string
IsStringNumeric ( this str ) : bool
MakeInitialCaps ( this word ) : string
MakeInitialLowerCase ( this word ) : string
ReplaceId ( this column ) : string
ToHumanCase ( this lowercaseAndUnderscoredWord ) : string
ToPlural ( this word, IPluralizer pluralizer ) : string
ToSingular ( this word, IPluralizer pluralizer ) : string
ToTitleCase ( this word ) : string

Описание методов

AddOrdinalSuffix() публичный статический Метод

public static AddOrdinalSuffix ( this number ) : string
number this
Результат string

AddUnderscores() публичный статический Метод

public static AddUnderscores ( this pascalCasedWord ) : string
pascalCasedWord this
Результат string

CleanUp() публичный статический Метод

public static CleanUp ( this propertyToFilter ) : string
propertyToFilter this
Результат string

ConvertUnderscoresToDashes() публичный статический Метод

public static ConvertUnderscoresToDashes ( this underscoredWord ) : string
underscoredWord this
Результат string

IsStringNumeric() публичный статический Метод

public static IsStringNumeric ( this str ) : bool
str this
Результат bool

MakeInitialCaps() публичный статический Метод

public static MakeInitialCaps ( this word ) : string
word this
Результат string

MakeInitialLowerCase() публичный статический Метод

public static MakeInitialLowerCase ( this word ) : string
word this
Результат string

ReplaceId() публичный статический Метод

public static ReplaceId ( this column ) : string
column this
Результат string

ToHumanCase() публичный статический Метод

public static ToHumanCase ( this lowercaseAndUnderscoredWord ) : string
lowercaseAndUnderscoredWord this
Результат string

ToPlural() публичный статический Метод

public static ToPlural ( this word, IPluralizer pluralizer ) : string
word this
pluralizer IPluralizer
Результат string

ToSingular() публичный статический Метод

public static ToSingular ( this word, IPluralizer pluralizer ) : string
word this
pluralizer IPluralizer
Результат string

ToTitleCase() публичный статический Метод

public static ToTitleCase ( this word ) : string
word this
Результат string