C# Class FlickrNet.Utils

Internal class providing certain utility functions to other classes.
Exibir arquivo Open project: mono/flickr-sharp

Private Methods

Method Description
DateToUnixTimestamp ( System.DateTime date ) : long

Converts a DateTime object into a unix timestamp number.

ExtrasToString ( PhotoSearchExtras extras ) : string

Utility method to convert the PhotoSearchExtras enum to a string.

PartialOptionsIntoArray ( PartialSearchOptions options, Hashtable parameters ) : void
ReadAsciiString ( Stream s ) : string
ReadInt32 ( Stream s ) : int
ReadString ( Stream s ) : string
SortOrderToString ( PhotoSearchSortOrder order ) : string
ToHex ( char c ) : string
UnixTimestampToDate ( long timestamp ) : System.DateTime

Converts a long, representing a unix timestamp number into a DateTime object.

UnixTimestampToDate ( string timestamp ) : System.DateTime

Converts a string, representing a unix timestamp number into a DateTime object.

UrlEncode ( string oldString ) : string
UrlFormat ( Photo p, string size, string format ) : string
UrlFormat ( PhotoInfo p, string size, string format ) : string
UrlFormat ( Photoset p, string size, string format ) : string
UrlFormat ( string format ) : string
Utils ( ) : System
WriteAsciiString ( Stream s, string str ) : void
WriteInt32 ( Stream s, int i ) : void
WriteString ( Stream s, string str ) : void