public override void AddElement(Elements.IElement element) { if (_conditions.Count > 0) { _conditions[_conditions.Count - 1].AddElement(element); } }
public static NCDK.IAtom ToNcdkAtom(this Elements.IElement element) { if (element == null) { return(null); } return(new Atom(element.Symbol)); }
public override void AddElement(Elements.IElement element) { if (_else == null) { _conditions[_conditions.Count - 1].AddElement(element); } else { _else.AddElement(element); } }
public override void AddElement(Elements.IElement element) { if (_else == null) { base.AddElement(element); } else { _else.AddElement(element); } }