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