示例#1
0
 private void WithExtra(IReadOnlyItem itemType)
 {
     Morphae.UnionWith(itemType.Relationships("Morphae")
                       .Select(r => r.RelatedId().Attribute("name").Value ?? r.RelatedId().KeyedName().Value));
     ServerEvents.AddRange(itemType.Relationships("Server Event").Select(i => new ServerEvent(i)));
 }