예제 #1
0
 public IEnumerable <string> GetPreferredMaterials()
 {
     foreach (var material in Archetype.GetPreferredMaterials())
     {
         yield return(material);
     }
     foreach (var material in Domains.SelectMany(d => d.GetPreferredMaterials()))
     {
         yield return(material);
     }
 }