C# 클래스 Xunit.Reporting.Internal.StringExtensions

An extension class for string.
파일 보기 프로젝트 열기: BjRo/xunitbddextensions

공개 메소드들

메소드 설명
CapitalizeFirstLetter ( this input ) : string

Creates a string in which the first letter of the input string is capitalized.

LowerCaseFirstLetter ( this input ) : string

Creates a string in which the first letter of the input string is lower cased.

ReplaceDoubleUnderscoresWithDoubleQuotes ( this input ) : string

Creates a string in which all double underscores contained in the input string are replaced with double quotes.

ReplaceUnderscoresWithSpaces ( this input ) : string

Creates a string in which all underscores contained in the input string are replaced with spaces.

메소드 상세

CapitalizeFirstLetter() 공개 정적인 메소드

Creates a string in which the first letter of the input string is capitalized.
public static CapitalizeFirstLetter ( this input ) : string
input this /// Specifies the input string. ///
리턴 string

LowerCaseFirstLetter() 공개 정적인 메소드

Creates a string in which the first letter of the input string is lower cased.
public static LowerCaseFirstLetter ( this input ) : string
input this /// Specifies the input string. ///
리턴 string

ReplaceDoubleUnderscoresWithDoubleQuotes() 공개 정적인 메소드

Creates a string in which all double underscores contained in the input string are replaced with double quotes.
public static ReplaceDoubleUnderscoresWithDoubleQuotes ( this input ) : string
input this /// Specifies the input string. ///
리턴 string

ReplaceUnderscoresWithSpaces() 공개 정적인 메소드

Creates a string in which all underscores contained in the input string are replaced with spaces.
public static ReplaceUnderscoresWithSpaces ( this input ) : string
input this /// Specifies the input string. ///
리턴 string