BoardGameGeekApiClient.Helpers.BoardGameGeekApiClientHelper.GetTypeValue C# (CSharp) Méthode

GetTypeValue() private static méthode

private static GetTypeValue ( System.Xml.Linq.XElement boardgame, string type ) : List
boardgame System.Xml.Linq.XElement
type string
Résultat 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();
        }