예제 #1
0
 public GetDocumentNodes(HtmlDocument documentToParse)
 {
     _document = documentToParse;
     _nodes    = JsonLoader.LoadNodeSettings();
 }
예제 #2
0
        static DatabaseControl()
        {
            var json = JsonLoader.LoadDatabaseSettings();

            Connection = new SqlConnection($"Data Source={json.DataSource};Initial Catalog={json.InitialCatalog};Integrated Security={json.IntegratedSecurity}");
        }