Update API usage from Configuration change

Caused by
602ce3723f
This commit is contained in:
Eilon Lipton 2015-07-22 14:01:56 -07:00
Родитель 6b9093679e
Коммит bc409abb7d
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -51,7 +51,7 @@ namespace Microsoft.AspNet.Hosting
};
var builder = new ConfigurationBuilder()
.Add(new MemoryConfigurationSource(vals));
.AddInMemoryCollection(vals);
var config = builder.Build();
var host = CreateBuilder(config).Build();
host.Start();
@ -67,7 +67,7 @@ namespace Microsoft.AspNet.Hosting
};
var builder = new ConfigurationBuilder()
.Add(new MemoryConfigurationSource(vals));
.AddInMemoryCollection(vals);
var config = builder.Build();
var host = CreateBuilder(config).Build();
host.Start();
@ -158,7 +158,7 @@ namespace Microsoft.AspNet.Hosting
};
var builder = new ConfigurationBuilder()
.Add(new MemoryConfigurationSource(vals));
.AddInMemoryCollection(vals);
var config = builder.Build();
var engine = CreateBuilder(config).Build();
@ -175,7 +175,7 @@ namespace Microsoft.AspNet.Hosting
};
var builder = new ConfigurationBuilder()
.Add(new MemoryConfigurationSource(vals));
.AddInMemoryCollection(vals);
var config = builder.Build();
var engine = CreateBuilder(config).Build();