/// <summary> /// Constructor. /// <param name="inchi">InChI string</param> /// <param name="opts">Options</param> /// </summary> public NInchiInputInchi(string inchi, IEnumerable <InChIOption> opts) { Inchi = inchi; Options = NInchiWrapper.CheckOptions(opts); }
/// <summary> /// Constructor. /// </summary> /// <param name="opts">List of options.</param> public NInchiInput(IList <InChIOption> opts) { Options = NInchiWrapper.CheckOptions(opts); }
/// <summary> /// Constructor. /// <param name="inchi">InChI string</param> /// <param name="opts">Options</param> /// </summary> public NInchiInputInchi(string inchi, string opts) { this.Inchi = inchi; this.Options = NInchiWrapper.CheckOptions(opts); }
/// <summary> /// Constructor. /// </summary> /// <param name="opts">Options string.</param> public NInchiInput(string opts) { Options = opts == null ? "" : NInchiWrapper.CheckOptions(opts); }