C# 클래스 Bloom.Extensions

파일 보기 프로젝트 열기: BloomBooks/BloomDesktop

공개 메소드들

메소드 설명
AppendLineFormat ( this sb, string format ) : void
EscapeCharsForHttp ( this fileName ) : string

Escapes a number of characters that need it for our url/http processing.

Note that calls to EscapeCharsForHttp() must be matched by an equal number of subsequent calls to UnescapeCharsForHttp(). (Normally each is called once.)

FromLocalhost ( this uri ) : string
SizeTextRectangleToText ( this args ) : void
ToInt ( this value ) : int
ToLocalhost ( this fileName ) : string
UnescapeCharsForHttp ( this uri ) : string

Remove the escaping of characters that need it for our url/http processing to restore a valid file pathname.

Note that calls to UnescapeCharsForHttp() must be matched by an equal number of previous calls to EscapeCharsForHttp(). (Normally each is called once.)

메소드 상세

AppendLineFormat() 공개 정적인 메소드

public static AppendLineFormat ( this sb, string format ) : void
sb this
format string
리턴 void

EscapeCharsForHttp() 공개 정적인 메소드

Escapes a number of characters that need it for our url/http processing.
Note that calls to EscapeCharsForHttp() must be matched by an equal number of subsequent calls to UnescapeCharsForHttp(). (Normally each is called once.)
public static EscapeCharsForHttp ( this fileName ) : string
fileName this
리턴 string

FromLocalhost() 공개 정적인 메소드

public static FromLocalhost ( this uri ) : string
uri this
리턴 string

SizeTextRectangleToText() 공개 정적인 메소드

public static SizeTextRectangleToText ( this args ) : void
args this
리턴 void

ToInt() 공개 정적인 메소드

public static ToInt ( this value ) : int
value this
리턴 int

ToLocalhost() 공개 정적인 메소드

public static ToLocalhost ( this fileName ) : string
fileName this
리턴 string

UnescapeCharsForHttp() 공개 정적인 메소드

Remove the escaping of characters that need it for our url/http processing to restore a valid file pathname.
Note that calls to UnescapeCharsForHttp() must be matched by an equal number of previous calls to EscapeCharsForHttp(). (Normally each is called once.)
public static UnescapeCharsForHttp ( this uri ) : string
uri this
리턴 string