Combu  2.1.14
Unity API Documentation
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Combu.News Class Reference

Public Member Functions

virtual void FromJson (string jsonString)
 Initialize the object from a JSON formatted string. More...
 
virtual void FromHashtable (Hashtable hash)
 Initialize the object from a hashtable. More...
 

Static Public Member Functions

static void Load (int pageNumber, int limit, Action< News[], int, int, string > callback)
 Load the specified pageNumber and limit of news. More...
 
static void Load< T > (int pageNumber, int limit, Action< News[], int, int, string > callback)
 Load the specified pageNumber and limit of news. More...
 

Public Attributes

long id = 0
 
DateTime date = DateTime.MinValue
 
string subject = ""
 
string message = ""
 
string url = ""
 

Member Function Documentation

virtual void Combu.News.FromHashtable ( Hashtable  hash)
virtual

Initialize the object from a hashtable.

Parameters
hashHash.
virtual void Combu.News.FromJson ( string  jsonString)
virtual

Initialize the object from a JSON formatted string.

Parameters
jsonStringJson string.
static void Combu.News.Load ( int  pageNumber,
int  limit,
Action< News[], int, int, string >  callback 
)
static

Load the specified pageNumber and limit of news.

Parameters
pageNumberPage number.
limitLimit.
callbackCallback.
static void Combu.News.Load< T > ( int  pageNumber,
int  limit,
Action< News[], int, int, string >  callback 
)
static

Load the specified pageNumber and limit of news.

Parameters
pageNumberPage number.
limitLimit.
callbackCallback.
Template Parameters
TThe 1st type parameter.
Type Constraints
T :News 
T :new() 

The documentation for this class was generated from the following file: