public GetDocumentNodes(HtmlDocument documentToParse) { _document = documentToParse; _nodes = JsonLoader.LoadNodeSettings(); }
static DatabaseControl() { var json = JsonLoader.LoadDatabaseSettings(); Connection = new SqlConnection($"Data Source={json.DataSource};Initial Catalog={json.InitialCatalog};Integrated Security={json.IntegratedSecurity}"); }