C# Class BoardGameGeekApiClient.Helpers.BoardGameGeekApiClientHelper

Show file Open project: NemeStats/NemeStats

Public Methods

Method Description
GetArtists ( this boardgame ) : List
GetBoardGameName ( this boardgame ) : string
GetCategories ( this boardgame ) : List
GetDecimalValue ( this element, string attribute = null, decimal defaultValue = null ) : decimal?
GetDesigners ( this boardgame ) : List
GetExpansionsLinks ( this Boardgame ) : List
GetIntValue ( this element, string attribute = null, int defaultValue = null ) : int?
GetMechanics ( this boardgame ) : List
GetPlayerPollResults ( this xElement ) : List
GetPublishers ( this boardgame ) : List
GetRanking ( this rankingElement ) : int
GetStringValue ( this element, string attribute = null, string defaultValue = "" ) : string
IsExpansion ( this boardgame, string typeAttr = "type" ) : bool

Private Methods

Method Description
GetIntResultScore ( this results, string selector ) : int
GetTypeValue ( System.Xml.Linq.XElement boardgame, string type ) : List
SetNumplayers ( this pResult, System.Xml.Linq.XElement results ) : void

Method Details

GetArtists() public static method

public static GetArtists ( this boardgame ) : List
boardgame this
return List

GetBoardGameName() public static method

public static GetBoardGameName ( this boardgame ) : string
boardgame this
return string

GetCategories() public static method

public static GetCategories ( this boardgame ) : List
boardgame this
return List

GetDecimalValue() public static method

public static GetDecimalValue ( this element, string attribute = null, decimal defaultValue = null ) : decimal?
element this
attribute string
defaultValue decimal
return decimal?

GetDesigners() public static method

public static GetDesigners ( this boardgame ) : List
boardgame this
return List

GetExpansionsLinks() public static method

public static GetExpansionsLinks ( this Boardgame ) : List
Boardgame this
return List

GetIntValue() public static method

public static GetIntValue ( this element, string attribute = null, int defaultValue = null ) : int?
element this
attribute string
defaultValue int
return int?

GetMechanics() public static method

public static GetMechanics ( this boardgame ) : List
boardgame this
return List

GetPlayerPollResults() public static method

public static GetPlayerPollResults ( this xElement ) : List
xElement this
return List

GetPublishers() public static method

public static GetPublishers ( this boardgame ) : List
boardgame this
return List

GetRanking() public static method

public static GetRanking ( this rankingElement ) : int
rankingElement this
return int

GetStringValue() public static method

public static GetStringValue ( this element, string attribute = null, string defaultValue = "" ) : string
element this
attribute string
defaultValue string
return string

IsExpansion() public static method

public static IsExpansion ( this boardgame, string typeAttr = "type" ) : bool
boardgame this
typeAttr string
return bool