Rename SieveConfig

This commit is contained in:
Biarity 2018-01-27 18:30:34 +10:00
parent 7df97a6674
commit 45ef2a520e
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.Extensions.Options" Version="2.0.0" /> <PackageReference Include="Microsoft.Extensions.Options" Version="2.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.1-beta3" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -33,7 +33,7 @@ namespace SieveTests
services.AddDbContext<ApplicationDbContext>(options => services.AddDbContext<ApplicationDbContext>(options =>
options.UseSqlServer(Configuration.GetConnectionString("TestSqlServer"))); options.UseSqlServer(Configuration.GetConnectionString("TestSqlServer")));
services.Configure<SieveOptions>(Configuration.GetSection("SieveConfig")); services.Configure<SieveOptions>(Configuration.GetSection("Sieve"));
//services.AddScoped<ISieveProcessor, SieveProcessor>(); //services.AddScoped<ISieveProcessor, SieveProcessor>();