Removed configuration parameter from AddTypeActivator
This commit is contained in:
parent
9147d6a7b6
commit
a6ced0c60c
|
|
@ -32,7 +32,8 @@ namespace Microsoft.Framework.DependencyInjection
|
||||||
|
|
||||||
services.TryAdd(ServiceDescriptor.Instance<IApplicationLifetime>(new ApplicationLifetime()));
|
services.TryAdd(ServiceDescriptor.Instance<IApplicationLifetime>(new ApplicationLifetime()));
|
||||||
|
|
||||||
services.AddTypeActivator(configuration);
|
services.AddTypeActivator();
|
||||||
|
|
||||||
// TODO: Do we expect this to be provide by the runtime eventually?
|
// TODO: Do we expect this to be provide by the runtime eventually?
|
||||||
services.AddLogging();
|
services.AddLogging();
|
||||||
services.TryAdd(ServiceDescriptor.Singleton<IHostingEnvironment, HostingEnvironment>());
|
services.TryAdd(ServiceDescriptor.Singleton<IHostingEnvironment, HostingEnvironment>());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue