C# Class Meta.StringExtensions

显示文件 Open project: brandon-kohn/Meta

Public Methods

Method 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 method

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

NormalizePathSeparators() public static method

public static NormalizePathSeparators ( this path ) : string
path this
return string

Quote() public static method

public static Quote ( this s ) : string
s this
return string

Replace() public static method

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

Unquote() public static method

public static Unquote ( this s ) : string
s this
return string