C# Class VOTSDR.Utils.StringExtensions

Afficher le fichier Open project: apoco/valleyofthesundogrescue

Méthodes publiques

Méthode Description
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

Method Details

AppendLine() public static méthode

Appends the format line.
public static AppendLine ( this sb, string str ) : void
sb this The sb.
str string The STR.
Résultat void

HtmlEncode() public static méthode

public static HtmlEncode ( this s ) : string
s this
Résultat string

IsNotPopulated() public static méthode

public static IsNotPopulated ( this s ) : bool
s this
Résultat bool

IsPopulated() public static méthode

public static IsPopulated ( this s ) : bool
s this
Résultat bool

JoinToString() public static méthode

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.
Résultat string

Summarize() public static méthode

public static Summarize ( this str, int charLimit = null ) : string
str this
charLimit int
Résultat string

ToBoolean() public static méthode

public static ToBoolean ( this s ) : System.Boolean
s this
Résultat System.Boolean

ToByte() public static méthode

public static ToByte ( this s ) : Byte
s this
Résultat Byte

ToDateTime() public static méthode

public static ToDateTime ( this s ) : System.DateTime
s this
Résultat System.DateTime

ToInt16() public static méthode

public static ToInt16 ( this s ) : Int16
s this
Résultat System.Int16

ToInt32() public static méthode

public static ToInt32 ( this s ) : Int32
s this
Résultat System.Int32

ToInt64() public static méthode

public static ToInt64 ( this s ) : System.Int64
s this
Résultat System.Int64

ToUInt32() public static méthode

public static ToUInt32 ( this s ) : UInt32
s this
Résultat System.UInt32

UrlEncode() public static méthode

public static UrlEncode ( this s ) : string
s this
Résultat string