C# Класс Bloom.Extensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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