Esempio n. 1
0
        YammerContact ParseYammerContact(XElement response)
        {
            YammerContact contact = new YammerContact();

            contact.Id         = response.Element("id").Value;
            contact.ScreenName = response.Element("name").Value;
            contact.FullName   = response.Element("full-name").Value;
            contact.Url        = response.Element("web-url").Value;
            contact.Location   = response.Element("location").Value;
            contact.Title      = response.Element("job-title").Value;
            contact.AvatarUrl  = response.Element("mugshot-url").Value;

            return(contact);
        }
        YammerContact ParseYammerContact(XElement response)
        {
            YammerContact contact = new YammerContact();
            contact.Id = response.Element("id").Value;
            contact.ScreenName = response.Element("name").Value;
            contact.FullName = response.Element("full-name").Value;
            contact.Url = response.Element("web-url").Value;
            contact.Location = response.Element("location").Value;
            contact.Title = response.Element("job-title").Value;
            contact.AvatarUrl = response.Element("mugshot-url").Value;

            return contact;
        }