C# Class BoardGameGeekApiClient.Helpers.BoardGameGeekApiClientHelper

Afficher le fichier Open project: NemeStats/NemeStats

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static GetArtists ( this boardgame ) : List
boardgame this
Résultat List

GetBoardGameName() public static méthode

public static GetBoardGameName ( this boardgame ) : string
boardgame this
Résultat string

GetCategories() public static méthode

public static GetCategories ( this boardgame ) : List
boardgame this
Résultat List

GetDecimalValue() public static méthode

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

GetDesigners() public static méthode

public static GetDesigners ( this boardgame ) : List
boardgame this
Résultat List

GetExpansionsLinks() public static méthode

public static GetExpansionsLinks ( this Boardgame ) : List
Boardgame this
Résultat List

GetIntValue() public static méthode

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

GetMechanics() public static méthode

public static GetMechanics ( this boardgame ) : List
boardgame this
Résultat List

GetPlayerPollResults() public static méthode

public static GetPlayerPollResults ( this xElement ) : List
xElement this
Résultat List

GetPublishers() public static méthode

public static GetPublishers ( this boardgame ) : List
boardgame this
Résultat List

GetRanking() public static méthode

public static GetRanking ( this rankingElement ) : int
rankingElement this
Résultat int

GetStringValue() public static méthode

public static GetStringValue ( this element, string attribute = null, string defaultValue = "" ) : string
element this
attribute string
defaultValue string
Résultat string

IsExpansion() public static méthode

public static IsExpansion ( this boardgame, string typeAttr = "type" ) : bool
boardgame this
typeAttr string
Résultat bool