Move extension method out of Microsoft.AspNetCore (#11148)

* Move extension method out of Microsoft.AspNetCore

* Empty commit
This commit is contained in:
Javier Calvarro Nelson 2019-06-13 17:14:58 +02:00 committed by Artak
parent ea2f35c45e
commit 38bc43bad7
2 changed files with 5 additions and 8 deletions

View File

@ -1,13 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore
{
public static partial class StaticWebAssetsWebHostBuilderExtensions
{
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStaticWebAssets(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { throw null; }
}
}
namespace Microsoft.AspNetCore.Hosting namespace Microsoft.AspNetCore.Hosting
{ {
public partial class DelegateStartup : Microsoft.AspNetCore.Hosting.StartupBase<Microsoft.Extensions.DependencyInjection.IServiceCollection> public partial class DelegateStartup : Microsoft.AspNetCore.Hosting.StartupBase<Microsoft.Extensions.DependencyInjection.IServiceCollection>
@ -29,6 +22,10 @@ namespace Microsoft.AspNetCore.Hosting
public virtual void ConfigureContainer(TBuilder builder) { } public virtual void ConfigureContainer(TBuilder builder) { }
public override System.IServiceProvider CreateServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; } public override System.IServiceProvider CreateServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
} }
public static partial class StaticWebAssetsWebHostBuilderExtensions
{
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStaticWebAssets(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { throw null; }
}
public partial class WebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder public partial class WebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder
{ {
public WebHostBuilder() { } public WebHostBuilder() { }

View File

@ -4,7 +4,7 @@
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.StaticWebAssets; using Microsoft.AspNetCore.Hosting.StaticWebAssets;
namespace Microsoft.AspNetCore namespace Microsoft.AspNetCore.Hosting
{ {
/// <summary> /// <summary>
/// Extensions for configuring static web assets for development. /// Extensions for configuring static web assets for development.