我无法理解这段代码。
XDocument loaded = XDocument.Load(PATH);
var devices = new List<Device>(loaded.Descendants("Device").Select(e => new Device
{
UserName = "xxx",
Domain = e.Element("domain").Value,
FQDN = e.Element("fqdn").Value,
Password = e.Element("password").Value,
}));
它如何添加这些元素,并获取设备列表?