コード例 #1
0
ファイル: Molecule.cs プロジェクト: panbaked/SynType
 public Molecule(PeriodicTable pTable)
 {
     atoms = new Dictionary<int, Node>();
     name = "Not named.";
     numberOfAtoms = 0;
     numberOfBonds = 0;
     isChiral = false;
     createdBy = "Not given.";
     buildSoftware = "Not given.";
     comments = "No comments given.";
     this.pTable = pTable;
     bonds = new List<Bond>();
 }
コード例 #2
0
ファイル: Molecule.cs プロジェクト: panbaked/SynType
 public Molecule(AddCompoundForm form)
 {
     atoms = new Dictionary<int, Node>();
     name = "Not named.";
     numberOfAtoms = 0;
     numberOfBonds = 0;
     isChiral = false;
     createdBy = "Not given.";
     buildSoftware = "Not given.";
     comments = "No comments given.";
     bonds = new List<Bond>();
     pTable = new PeriodicTable();
     this.form = form;
 }
コード例 #3
0
ファイル: Molecule.cs プロジェクト: panbaked/SynType
 public Molecule(Dictionary<int, Node> atoms, string name, int numberOfAtoms, int numberOfBonds, string createdBy, string buildSoftware, string comments, List<Bond> bonds, AddCompoundForm form)
 {
     this.atoms = atoms;
     this.name = name;
     this.numberOfAtoms = numberOfAtoms;
     this.numberOfBonds = numberOfBonds;
     this.createdBy = createdBy;
     this.comments = comments;
     this.bonds = bonds;
     this.form = form;
     pTable = new PeriodicTable();
 }