Exemplo n.º 1
0
        private void ConfigureBinds(Container container)
        {
            var queriesDatabaseConfiguration = new QueriesDatabaseConfiguration();

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