C# Class GmailClient, code

Inheritance: IDisposable
Afficher le fichier Open project: shendongnian/code Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetMailItem ( int index ) : GmailItem

Returns the GmailItem at the specified index

GetUnreadMail ( ) : void

I'd prefer to return the generic list here instead of using the GetMailItem method to get individual items, but javascript doesn't play nice with generics.

GmailClient ( string userName, string password )

Private Methods

Méthode Description
GetFeedXml ( ) : XmlElement,

Get the XML feed from google and transform it into a deserializable format

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetMailItem() public méthode

Returns the GmailItem at the specified index
public GetMailItem ( int index ) : GmailItem
index int Index if the mail item to return
Résultat GmailItem

GetUnreadMail() public méthode

I'd prefer to return the generic list here instead of using the GetMailItem method to get individual items, but javascript doesn't play nice with generics.
public GetUnreadMail ( ) : void
Résultat void

GmailClient() public méthode

public GmailClient ( string userName, string password )
userName string
password string