[Fixes #1242] Moves IStartupConfigureServicesFilter and IStartupConfigureContainerFilter interfaces to the internal namespace

This commit is contained in:
Javier Calvarro Nelson 2018-04-17 11:17:41 -07:00
parent 7644204569
commit e06b1fd690
3 changed files with 11 additions and 2 deletions

View File

@ -3,8 +3,12 @@
using System; using System;
namespace Microsoft.AspNetCore.Hosting namespace Microsoft.AspNetCore.Hosting.Internal
{ {
/// <summary>
/// This API supports the ASP.NET Core infrastructure and is not intended to be used
/// directly from your code. This API may change or be removed in future releases.
/// </summary>
public interface IStartupConfigureContainerFilter<TContainerBuilder> public interface IStartupConfigureContainerFilter<TContainerBuilder>
{ {
Action<TContainerBuilder> ConfigureContainer(Action<TContainerBuilder> container); Action<TContainerBuilder> ConfigureContainer(Action<TContainerBuilder> container);

View File

@ -4,8 +4,12 @@
using System; using System;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Hosting namespace Microsoft.AspNetCore.Hosting.Internal
{ {
/// <summary>
/// This API supports the ASP.NET Core infrastructure and is not intended to be used
/// directly from your code. This API may change or be removed in future releases.
/// </summary>
public interface IStartupConfigureServicesFilter public interface IStartupConfigureServicesFilter
{ {
Action<IServiceCollection> ConfigureServices(Action<IServiceCollection> next); Action<IServiceCollection> ConfigureServices(Action<IServiceCollection> next);

View File

@ -5,6 +5,7 @@ using System;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Internal;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.TestHost namespace Microsoft.AspNetCore.TestHost