C# Class ConsoleApplication.PrintMethods

Datei anzeigen Open project: TradeMe/trade-me-api-wrapper Class Usage Examples

Public Methods

Method Description
PrintCategories ( Category categoryTest ) : string

Returns a string representation of the given Category.

PrintCategory ( Category category, string tab ) : string

Returns a string representation of the given Category - indenting for each subsequent sub-category

PrintListingInto ( ListedItemDetail listing ) : string

Returns a string representation of the given Listing

PrintWatchlist ( Watchlist watchList ) : string

Returns a string representation of the given Watchlist.

Method Details

PrintCategories() public static method

Returns a string representation of the given Category.
public static PrintCategories ( Category categoryTest ) : string
categoryTest Category
return string

PrintCategory() public static method

Returns a string representation of the given Category - indenting for each subsequent sub-category
public static PrintCategory ( Category category, string tab ) : string
category Category
tab string
return string

PrintListingInto() public static method

Returns a string representation of the given Listing
public static PrintListingInto ( ListedItemDetail listing ) : string
listing ListedItemDetail
return string

PrintWatchlist() public static method

Returns a string representation of the given Watchlist.
public static PrintWatchlist ( Watchlist watchList ) : string
watchList Watchlist
return string