Logo Search packages:      
Sourcecode: tasque version File versions  Download package

RtmNet::Utils Class Reference

List of all members.


Detailed Description

Internal class providing certain utility functions to other classes.

Definition at line 13 of file Utils.cs.


Static Private Member Functions

static internal DateTime DateStringToDateTime (string timestring)
static internal long DateToUnixTimestamp (DateTime date)
 Converts a DateTime object into a unix timestamp number.
static internal object Deserialize (System.Xml.XmlNode node, Type type)
static internal Response Deserialize (string responseString)
 Converts the response string (in XML) into the Response object.
static XmlSerializer GetSerializer (Type type)
static internal string ReadAsciiString (Stream s)
static internal int ReadInt32 (Stream s)
static internal string ReadString (Stream s)
static internal DateTime UnixTimestampToDate (long timestamp)
 Converts a long, representing a unix timestamp number into a DateTime object.
static internal DateTime UnixTimestampToDate (string timestamp)
 Converts a string, representing a unix timestamp number into a DateTime object.
static internal string UrlEncode (string oldString)
static internal void WriteAsciiString (Stream s, string str)
static internal void WriteInt32 (Stream s, int i)
static internal void WriteString (Stream s, string str)

Private Attributes

const string photoUrl = "http://farm{0}.static.Rtm.com/{1}/{2}_{3}{4}.{5}"

Static Private Attributes

static readonly Hashtable _serializers = new Hashtable()
static readonly DateTime unixStartDate = new DateTime(1970, 1, 1, 0, 0, 0)

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

Generated by  Doxygen 1.6.0   Back to index