C# 클래스 Framework.Core.Extensions.StringExtensions

Extends string class functionality.
파일 보기 프로젝트 열기: coreframework/Core-Framework

공개 메소드들

메소드 설명
Capitalize ( this word ) : String

Capitalizes a word.

Humanize ( this propertyName ) : String

Translate camelCase or PascalCase property name to human readable name (splits it to words and capitilize first word).

Pluralize ( this word ) : String

Return the plural of a word.

Singularize ( this word ) : String

Return the singular of a word.

메소드 상세

Capitalize() 공개 정적인 메소드

Capitalizes a word.
public static Capitalize ( this word ) : String
word this The word to be capitalized.
리턴 String

Humanize() 공개 정적인 메소드

Translate camelCase or PascalCase property name to human readable name (splits it to words and capitilize first word).
public static Humanize ( this propertyName ) : String
propertyName this Property name in camelCase or PascalCase.
리턴 String

Pluralize() 공개 정적인 메소드

Return the plural of a word.
public static Pluralize ( this word ) : String
word this The singular form.
리턴 String

Singularize() 공개 정적인 메소드

Return the singular of a word.
public static Singularize ( this word ) : String
word this The plural form.
리턴 String