/// <summary> /// CONSTRUCTOR /// </summary> public Pathway(CompoundLibrary tag, string name, string id) { if (tag != null) { this.Libraries.Add(tag); } this.Id = id; this._defaultName = !string.IsNullOrWhiteSpace(name) ? name : "Compounds not assigned to any pathway"; }
/// <summary> /// CONSTRUCTOR /// </summary> public Compound(CompoundLibrary tag, string name, string id, decimal mz) { if (tag != null) { this.Libraries.Add(tag); } this._defaultName = RemoveHtml(name); this.Id = id; this.Mass = mz; }