C# Class Xunit.Reporting.Internal.StringExtensions

An extension class for string.
Afficher le fichier Open project: BjRo/xunitbddextensions

Méthodes publiques

Méthode Description
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.

Method Details

CapitalizeFirstLetter() public static méthode

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. ///
Résultat string

LowerCaseFirstLetter() public static méthode

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. ///
Résultat string

ReplaceDoubleUnderscoresWithDoubleQuotes() public static méthode

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. ///
Résultat string

ReplaceUnderscoresWithSpaces() public static méthode

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. ///
Résultat string