BoardGameGeekApiClient.Helpers.BoardGameGeekApiClientHelper.GetBoardGameName C# (CSharp) Метод

GetBoardGameName() публичный статический Метод

public static GetBoardGameName ( this boardgame ) : string
boardgame this
Результат 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")