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

GetMechanics() public static method

public static GetMechanics ( this boardgame ) : List
boardgame this
return List
        public static List<GameMechanic> GetMechanics(this XElement boardgame)
        {
            return (from p in boardgame.Elements("link")
                    where p.Attribute("type").Value == "boardgamemechanic"
                    select new GameMechanic
                    {
                        Mechanic = p.Attribute("value").Value,
                        Id = int.Parse(p.Attribute("id").Value)
                    }).ToList();
        }
        public static List<GameCategory> GetCategories(this XElement boardgame)