C# Class FlickrNet.UnknownResponse

Contains the raw response from Flickr when an unknown method has been called. Used by Flickr.TestGeneric.
Inheritance: IFlickrParsable
Datei anzeigen Open project: liquidboy/X Class Usage Examples

Public Methods

Method Description
GetAttributeValue ( string element, string attribute ) : string

Gets an attribute value from the given response.

GetElementArray ( string elementName ) : string[]

Gets an array of text values of an element from the given response.

GetElementValue ( string element ) : string

Gets a text value of an element from the given response.

GetXDocument ( ) : XDocument
IFlickrParsable ( System reader ) : void

Method Details

GetAttributeValue() public method

Gets an attribute value from the given response.
public GetAttributeValue ( string element, string attribute ) : string
element string The element name to find.
attribute string The attribute of the element to return.
return string

GetElementArray() public method

Gets an array of text values of an element from the given response.
public GetElementArray ( string elementName ) : string[]
elementName string The element name to find.
return string[]

GetElementValue() public method

Gets a text value of an element from the given response.
public GetElementValue ( string element ) : string
element string The element name to find.
return string

GetXDocument() public method

public GetXDocument ( ) : XDocument
return XDocument

IFlickrParsable() public method

public IFlickrParsable ( System reader ) : void
reader System
return void