C# Class OpenTween.TwitPic

Inheritance: OpenTween.HttpConnectionOAuthEcho, OpenTween.IMultimediaShareService
Mostrar archivo Open project: rhenium/OpenTween

Public Methods

Method Description
CheckValidExtension ( string ext ) : bool
CheckValidFilesize ( string ext, long fileSize ) : bool
Configuration ( string key, object value ) : bool
GetFileOpenDialogFilter ( ) : string
GetFileType ( string ext ) : OpenTween.MyCommon.UploadFileType
IsSupportedFileType ( OpenTween.MyCommon.UploadFileType type ) : bool
TwitPic ( Twitter twitter ) : System.Collections.Generic
Upload ( string &filePath, string &message, long reply_to ) : string

Private Methods

Method Description
UploadFile ( System.IO.FileInfo mediaFile, string message, string &content ) : System.Net.HttpStatusCode

Method Details

CheckValidExtension() public method

public CheckValidExtension ( string ext ) : bool
ext string
return bool

CheckValidFilesize() public method

public CheckValidFilesize ( string ext, long fileSize ) : bool
ext string
fileSize long
return bool

Configuration() public method

public Configuration ( string key, object value ) : bool
key string
value object
return bool

GetFileOpenDialogFilter() public method

public GetFileOpenDialogFilter ( ) : string
return string

GetFileType() public method

public GetFileType ( string ext ) : OpenTween.MyCommon.UploadFileType
ext string
return OpenTween.MyCommon.UploadFileType

IsSupportedFileType() public method

public IsSupportedFileType ( OpenTween.MyCommon.UploadFileType type ) : bool
type OpenTween.MyCommon.UploadFileType
return bool

TwitPic() public method

public TwitPic ( Twitter twitter ) : System.Collections.Generic
twitter Twitter
return System.Collections.Generic

Upload() public method

public Upload ( string &filePath, string &message, long reply_to ) : string
filePath string
message string
reply_to long
return string