Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Commit

Permalink
Adding ILogger<> to the manifest
Browse files Browse the repository at this point in the history
Change from Hao.
  • Loading branch information
Praburaj committed Mar 4, 2015
1 parent 718d923 commit 2af7332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Microsoft.AspNet.Hosting/HostingServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public HostingManifest(IServiceProvider fallback)
typeof(ITypeActivator),
typeof(IHostingEnvironment),
typeof(ILoggerFactory),
typeof(ILogger<>),
typeof(IHttpContextAccessor),
typeof(IApplicationLifetime)
}.Concat(manifest.Services).Distinct();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public void EnsureRequestServicesSetsRequestServices(bool initializeApplicationS
[InlineData(typeof(ITypeActivator))]
[InlineData(typeof(IHostingEnvironment))]
[InlineData(typeof(ILoggerFactory))]
[InlineData(typeof(ILogger<IHostingEngine>))]
[InlineData(typeof(IHttpContextAccessor))]
[InlineData(typeof(IApplicationLifetime))]
public void UseRequestServicesHostingImportedServicesAreDefined(Type service)
Expand Down

0 comments on commit 2af7332

Please sign in to comment.