C# 클래스 Cornerstone.Extensions.StringExtensions

파일 보기 프로젝트 열기: damienhaynes/moving-pictures

공개 메소드들

메소드 설명
IsNullOrWhiteSpace ( this self ) : bool

Indicates whether a specified string is null, empty, or consists only of white-space characters.

RemoveDiacritics ( this self ) : string

Translates characters to their base form. ( ë/é/è -> e)

source: http://blogs.msdn.com/michkap/archive/2007/05/14/2629747.aspx

ToValidFilename ( this self ) : string

Converts the string so it can be safely used as a filename.

TrimWhiteSpace ( this self ) : string

Replaces multiple white-spaces with one space

메소드 상세

IsNullOrWhiteSpace() 공개 정적인 메소드

Indicates whether a specified string is null, empty, or consists only of white-space characters.
public static IsNullOrWhiteSpace ( this self ) : bool
self this a string
리턴 bool

RemoveDiacritics() 공개 정적인 메소드

Translates characters to their base form. ( ë/é/è -> e)
source: http://blogs.msdn.com/michkap/archive/2007/05/14/2629747.aspx
public static RemoveDiacritics ( this self ) : string
self this
리턴 string

ToValidFilename() 공개 정적인 메소드

Converts the string so it can be safely used as a filename.
public static ToValidFilename ( this self ) : string
self this
리턴 string

TrimWhiteSpace() 공개 정적인 메소드

Replaces multiple white-spaces with one space
public static TrimWhiteSpace ( this self ) : string
self this
리턴 string