C# 클래스 Simple.Generator.Strings.GeneratorStrings

파일 보기 프로젝트 열기: juanplopes/simple

공개 메소드들

메소드 설명
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