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

GetTypeValue() private static method

private static GetTypeValue ( System.Xml.Linq.XElement boardgame, string type ) : List
boardgame System.Xml.Linq.XElement
type string
return List
        private static List<string> GetTypeValue(XElement boardgame, string type)
        {
            return (from p in boardgame.Elements("link")
                    where p.Attribute("type").Value == type
                    select p.Attribute("value").Value).ToList();
        }