예제 #1
0
 private IEnumerable <string> reactionNamesIn(IContainer container)
 {
     return((from molecule in container.GetAllChildren <IReaction>()
             select molecule.Name).ToList());
 }
예제 #2
0
 private IEnumerable <string> moleculeNamesIn(IContainer container)
 {
     return((from molecule in container.GetAllChildren <IMoleculeAmount>()
             select molecule.Name).ToList());
 }