C# Class Meta.StringExtensions

Afficher le fichier Open project: brandon-kohn/Meta

Méthodes publiques

Méthode Description
HasWhiteSpace ( this s ) : bool

Determines whether the string has white space.

NormalizePathSeparators ( this path ) : string
Quote ( this s ) : string
Replace ( this originalString, string oldValue, string newValue, System.StringComparison comparisonType ) : string
Unquote ( this s ) : string

Method Details

HasWhiteSpace() public static méthode

Determines whether the string has white space.
public static HasWhiteSpace ( this s ) : bool
s this The string to test for white space.
Résultat bool

NormalizePathSeparators() public static méthode

public static NormalizePathSeparators ( this path ) : string
path this
Résultat string

Quote() public static méthode

public static Quote ( this s ) : string
s this
Résultat string

Replace() public static méthode

public static Replace ( this originalString, string oldValue, string newValue, System.StringComparison comparisonType ) : string
originalString this
oldValue string
newValue string
comparisonType System.StringComparison
Résultat string

Unquote() public static méthode

public static Unquote ( this s ) : string
s this
Résultat string