Beispiel #1
0
        private void ConfigureBinds(Container container)
        {
            var queriesDatabaseConfiguration = new QueriesDatabaseConfiguration();

            container.RegisterInstance(queriesDatabaseConfiguration);
            Configuration.Bind("QueriesDatabase", queriesDatabaseConfiguration);
        }
Beispiel #2
0
 public QueryParamWriter(QueriesDatabaseConfiguration configuration)
 {
     Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
 }