C# 클래스 BoxKite.Twitter.Extensions.StringExtensions

파일 보기 프로젝트 열기: nickhodge/BoxKite.Twitter

공개 메소드들

메소드 설명
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

메소드 상세

HTMLDecode() 공개 정적인 메소드

public static HTMLDecode ( this sourceString ) : string
sourceString this
리턴 string

ParseDateTime() 공개 정적인 메소드

Sun Apr 15 02:31:50 +0000 2012 to DateTime
public static ParseDateTime ( this date ) : System.DateTime
date this In Sun Apr 15 02:31:50 +0000 2012 format
리턴 System.DateTime

ToBase64String() 공개 정적인 메소드

public static ToBase64String ( this source ) : String
source this
리턴 String

ToDateTimeOffset() 공개 정적인 메소드

Sun Apr 15 02:31:50 +0000 2012 to timeoffset to now
based on http://stackoverflow.com/a/4975344
public static ToDateTimeOffset ( this date ) : DateTimeOffset
date this
리턴 DateTimeOffset

TrimAndTruncate() 공개 정적인 메소드

public static TrimAndTruncate ( this inputString, int targetLength ) : string
inputString this
targetLength int
리턴 string

TrimLastChar() 공개 정적인 메소드

Remove last character of a string
public static TrimLastChar ( this sourceString ) : string
sourceString this
리턴 string

UrlEncode() 공개 정적인 메소드

public static UrlEncode ( this inputString ) : string
inputString this
리턴 string