C# Class Simple.Generator.Strings.GeneratorStrings

Exibir arquivo Open project: juanplopes/simple

Public Methods

Method Description
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

Method Details

AddOrdinalSuffix() public static method

public static AddOrdinalSuffix ( this number ) : string
number this
return string

AddUnderscores() public static method

public static AddUnderscores ( this pascalCasedWord ) : string
pascalCasedWord this
return string

CleanUp() public static method

public static CleanUp ( this propertyToFilter ) : string
propertyToFilter this
return string

ConvertUnderscoresToDashes() public static method

public static ConvertUnderscoresToDashes ( this underscoredWord ) : string
underscoredWord this
return string

IsStringNumeric() public static method

public static IsStringNumeric ( this str ) : bool
str this
return bool

MakeInitialCaps() public static method

public static MakeInitialCaps ( this word ) : string
word this
return string

MakeInitialLowerCase() public static method

public static MakeInitialLowerCase ( this word ) : string
word this
return string

ReplaceId() public static method

public static ReplaceId ( this column ) : string
column this
return string

ToHumanCase() public static method

public static ToHumanCase ( this lowercaseAndUnderscoredWord ) : string
lowercaseAndUnderscoredWord this
return string

ToPlural() public static method

public static ToPlural ( this word, IPluralizer pluralizer ) : string
word this
pluralizer IPluralizer
return string

ToSingular() public static method

public static ToSingular ( this word, IPluralizer pluralizer ) : string
word this
pluralizer IPluralizer
return string

ToTitleCase() public static method

public static ToTitleCase ( this word ) : string
word this
return string