Метод | Описание | |
---|---|---|
HTMLDecode ( this sourceString ) : string | ||
ParseDateTime ( this date ) : System.DateTime |
Sun Apr 15 02:31:50 +0000 2012 to DateTime
|
|
ToBase64String ( this source ) : String | ||
ToDateTimeOffset ( this date ) : DateTimeOffset |
Sun Apr 15 02:31:50 +0000 2012 to timeoffset to now based on http://stackoverflow.com/a/4975344 |
|
TrimAndTruncate ( this inputString, int targetLength ) : string | ||
TrimLastChar ( this sourceString ) : string |
Remove last character of a string
|
|
UrlEncode ( this inputString ) : string |
public static HTMLDecode ( this sourceString ) : string | ||
sourceString | this | |
Результат | string |
public static ParseDateTime ( this date ) : System.DateTime | ||
date | this | In Sun Apr 15 02:31:50 +0000 2012 format |
Результат | System.DateTime |
public static ToBase64String ( this source ) : String | ||
source | this | |
Результат | String |
public static ToDateTimeOffset ( this date ) : DateTimeOffset | ||
date | this | |
Результат | DateTimeOffset |
public static TrimAndTruncate ( this inputString, int targetLength ) : string | ||
inputString | this | |
targetLength | int | |
Результат | string |
public static TrimLastChar ( this sourceString ) : string | ||
sourceString | this | |
Результат | string |
public static UrlEncode ( this inputString ) : string | ||
inputString | this | |
Результат | string |