C# 클래스 GSF.StringExtensions

Defines extension functions related to string manipulation.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
IsPlural ( this value ) : bool

Determines whether the specified word is plural.

IsSingular ( this value ) : bool

Determines whether the specified word is singular.

ToPlural ( this value ) : string

Returns the plural form of the specified word.

ToSingular ( this value ) : string

Returns the singular form of the specified word.

비공개 메소드들

메소드 설명
StringExtensions ( ) : System

메소드 상세

IsPlural() 공개 정적인 메소드

Determines whether the specified word is plural.
public static IsPlural ( this value ) : bool
value this The word to be analyzed.
리턴 bool

IsSingular() 공개 정적인 메소드

Determines whether the specified word is singular.
public static IsSingular ( this value ) : bool
value this The word to be analyzed.
리턴 bool

ToPlural() 공개 정적인 메소드

Returns the plural form of the specified word.
public static ToPlural ( this value ) : string
value this The word to be made plural.
리턴 string

ToSingular() 공개 정적인 메소드

Returns the singular form of the specified word.
public static ToSingular ( this value ) : string
value this The word to be made singular.
리턴 string