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")