Removed configuration parameter from AddTypeActivator

This commit is contained in:
David Fowler 2015-03-04 21:23:59 -08:00
parent 9147d6a7b6
commit a6ced0c60c
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ namespace Microsoft.Framework.DependencyInjection
services.TryAdd(ServiceDescriptor.Instance<IApplicationLifetime>(new ApplicationLifetime()));
services.AddTypeActivator(configuration);
services.AddTypeActivator();
// TODO: Do we expect this to be provide by the runtime eventually?
services.AddLogging();
services.TryAdd(ServiceDescriptor.Singleton<IHostingEnvironment, HostingEnvironment>());