C# Class PCRemote.Core.QQWeiboService

Inheritance: IWeiboService
Datei anzeigen Open project: terryso/PCRemote

Public Methods

Method Description
GetMyFirstWeibo ( ) : PCRemote.Core.Entities.Weibo

获取当前登录用户的第一条微博

QQWeiboService ( string accessToken, string accessTokenSecret ) : System
RemoveWeibo ( string weiboId ) : void

移除一条微博

SendComment ( string weiboId, string comment ) : void

发送一条评论

SendWeibo ( string weibo ) : void

发送一条微博

SendWeiboWithPicture ( string weibo, string pic ) : void

发送一条带图片的微博

VerifyCredentials ( ) : PCRemote.Core.Entities.WeiboUser

验证当前登录用户

Method Details

GetMyFirstWeibo() public method

获取当前登录用户的第一条微博
public GetMyFirstWeibo ( ) : PCRemote.Core.Entities.Weibo
return PCRemote.Core.Entities.Weibo

QQWeiboService() public method

public QQWeiboService ( string accessToken, string accessTokenSecret ) : System
accessToken string
accessTokenSecret string
return System

RemoveWeibo() public method

移除一条微博
public RemoveWeibo ( string weiboId ) : void
weiboId string 微博Id
return void

SendComment() public method

发送一条评论
public SendComment ( string weiboId, string comment ) : void
weiboId string 微博Id
comment string 评论内容
return void

SendWeibo() public method

发送一条微博
public SendWeibo ( string weibo ) : void
weibo string 微博内容
return void

SendWeiboWithPicture() public method

发送一条带图片的微博
public SendWeiboWithPicture ( string weibo, string pic ) : void
weibo string 微博内容
pic string 图片本地地址
return void

VerifyCredentials() public method

验证当前登录用户
public VerifyCredentials ( ) : PCRemote.Core.Entities.WeiboUser
return PCRemote.Core.Entities.WeiboUser