C# Class GmailClient, code

Inheritance: IDisposable
Exibir arquivo Open project: shendongnian/code Class Usage Examples

Public Methods

Method 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

Method Description
GetFeedXml ( ) : XmlElement,

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetMailItem() public method

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

GetUnreadMail() public method

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
return void

GmailClient() public method

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