C# Class OpenTween.TwitPic

Inheritance: OpenTween.HttpConnectionOAuthEcho, OpenTween.IMultimediaShareService
Afficher le fichier Open project: rhenium/OpenTween

Méthodes publiques

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

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

Method Details

CheckValidExtension() public méthode

public CheckValidExtension ( string ext ) : bool
ext string
Résultat bool

CheckValidFilesize() public méthode

public CheckValidFilesize ( string ext, long fileSize ) : bool
ext string
fileSize long
Résultat bool

Configuration() public méthode

public Configuration ( string key, object value ) : bool
key string
value object
Résultat bool

GetFileOpenDialogFilter() public méthode

public GetFileOpenDialogFilter ( ) : string
Résultat string

GetFileType() public méthode

public GetFileType ( string ext ) : OpenTween.MyCommon.UploadFileType
ext string
Résultat OpenTween.MyCommon.UploadFileType

IsSupportedFileType() public méthode

public IsSupportedFileType ( OpenTween.MyCommon.UploadFileType type ) : bool
type OpenTween.MyCommon.UploadFileType
Résultat bool

TwitPic() public méthode

public TwitPic ( Twitter twitter ) : System.Collections.Generic
twitter Twitter
Résultat System.Collections.Generic

Upload() public méthode

public Upload ( string &filePath, string &message, long reply_to ) : string
filePath string
message string
reply_to long
Résultat string