public CiteProcRunner(StyleInfo style, GetDatabaseDelegate databaseProvider): this() { this.databaseProvider = databaseProvider; this.style = style; try { engine = Call(CreateEngineCommand, this.style.GetXml()); if (engine == null) throw new InvalidOperationException(); } catch { throw new FailedToCreateCiteProcEngineForStyleException(style); } }
public CiteProcRunner(StyleInfo style, GetDatabaseDelegate databaseProvider) : this() { this.databaseProvider = databaseProvider; this.style = style; try { engine = Call(CreateEngineCommand, this.style.GetXml()); if (engine == null) { throw new InvalidOperationException(); } } catch { throw new FailedToCreateCiteProcEngineForStyleException(style); } }