BoardGameGeekApiClient.Helpers.BoardGameGeekApiClientHelper.GetBoardGameName C# (CSharp) Method

GetBoardGameName() public static method

public static GetBoardGameName ( this boardgame ) : string
boardgame this
return string
        public static string GetBoardGameName(this XElement boardgame)
        {
            return (boardgame.Elements("name")
                .Where(p => p.Attribute("type").Value == "primary")
                .Select(p => p.Attribute("value").Value)).SingleOrDefault();
        }
        public static bool IsExpansion(this XElement boardgame, string typeAttr = "type")