DI API changes

This commit is contained in:
Brennan 2015-03-05 14:39:19 -08:00
parent f7c78b8fbc
commit ca9d6bcd77
3 changed files with 0 additions and 4 deletions

View File

@ -68,7 +68,6 @@ namespace Microsoft.AspNet.Hosting
public HostingManifest(IServiceCollection hostServices)
{
Services = new Type[] {
typeof(ITypeActivator),
typeof(IHostingEnvironment),
typeof(ILoggerFactory),
typeof(IHttpContextAccessor),

View File

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

View File

@ -78,7 +78,6 @@ namespace Microsoft.AspNet.Hosting.Tests
}
[Theory]
[InlineData(typeof(ITypeActivator))]
[InlineData(typeof(IHostingEnvironment))]
[InlineData(typeof(ILoggerFactory))]
[InlineData(typeof(IHttpContextAccessor))]