C# Класс Xunit.Reporting.Internal.StringExtensions

An extension class for string.
Показать файл Открыть проект

Открытые методы

Метод Описание
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