C# Класс VOTSDR.Utils.StringExtensions

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

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

Метод Описание
AppendLine ( this sb, string str ) : void

Appends the format line.

HtmlEncode ( this s ) : string
IsNotPopulated ( this s ) : bool
IsPopulated ( this s ) : bool
JoinToString ( this items, string separator ) : string

Joins the specified items in the enumerable arrat

Summarize ( this str, int charLimit = null ) : string
ToBoolean ( this s ) : System.Boolean
ToByte ( this s ) : Byte
ToDateTime ( this s ) : System.DateTime
ToInt16 ( this s ) : Int16
ToInt32 ( this s ) : Int32
ToInt64 ( this s ) : System.Int64
ToUInt32 ( this s ) : UInt32
UrlEncode ( this s ) : string

Описание методов

AppendLine() публичный статический Метод

Appends the format line.
public static AppendLine ( this sb, string str ) : void
sb this The sb.
str string The STR.
Результат void

HtmlEncode() публичный статический Метод

public static HtmlEncode ( this s ) : string
s this
Результат string

IsNotPopulated() публичный статический Метод

public static IsNotPopulated ( this s ) : bool
s this
Результат bool

IsPopulated() публичный статический Метод

public static IsPopulated ( this s ) : bool
s this
Результат bool

JoinToString() публичный статический Метод

Joins the specified items in the enumerable arrat
public static JoinToString ( this items, string separator ) : string
items this An enumerable listing of string items.
separator string The separator to place between each.
Результат string

Summarize() публичный статический Метод

public static Summarize ( this str, int charLimit = null ) : string
str this
charLimit int
Результат string

ToBoolean() публичный статический Метод

public static ToBoolean ( this s ) : System.Boolean
s this
Результат System.Boolean

ToByte() публичный статический Метод

public static ToByte ( this s ) : Byte
s this
Результат Byte

ToDateTime() публичный статический Метод

public static ToDateTime ( this s ) : System.DateTime
s this
Результат System.DateTime

ToInt16() публичный статический Метод

public static ToInt16 ( this s ) : Int16
s this
Результат System.Int16

ToInt32() публичный статический Метод

public static ToInt32 ( this s ) : Int32
s this
Результат System.Int32

ToInt64() публичный статический Метод

public static ToInt64 ( this s ) : System.Int64
s this
Результат System.Int64

ToUInt32() публичный статический Метод

public static ToUInt32 ( this s ) : UInt32
s this
Результат System.UInt32

UrlEncode() публичный статический Метод

public static UrlEncode ( this s ) : string
s this
Результат string