C# 클래스 Mercurial.StringEx

This class implements IsNullOrWhiteSpace for .NET 3.5.
파일 보기 프로젝트 열기: TargetProcess/Target-Process-Plugins 1 사용 예제들

공개 메소드들

메소드 설명
ContainsWhiteSpace ( string value ) : bool

Scans the string for any character categorized as whitespace.

EncapsulateInQuotesIfWhitespace ( string value ) : string

Add encapsulating double quotes to the value if it contains whitespace.

IsNullOrWhiteSpace ( string value ) : bool

Compares the value against null and checks if the string contains only whitespace.

메소드 상세

ContainsWhiteSpace() 공개 정적인 메소드

Scans the string for any character categorized as whitespace.
public static ContainsWhiteSpace ( string value ) : bool
value string /// The string to scan for whitespace. ///
리턴 bool

EncapsulateInQuotesIfWhitespace() 공개 정적인 메소드

Add encapsulating double quotes to the value if it contains whitespace.
public static EncapsulateInQuotesIfWhitespace ( string value ) : string
value string /// The value to optionally add double quotes around. ///
리턴 string

IsNullOrWhiteSpace() 공개 정적인 메소드

Compares the value against null and checks if the string contains only whitespace.
public static IsNullOrWhiteSpace ( string value ) : bool
value string /// The string value to check. ///
리턴 bool