BoardGameGeekApiClient.Helpers.BoardGameGeekApiClientHelper.GetTypeValue C# (CSharp) 메소드

GetTypeValue() 개인적인 정적인 메소드

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