Skip to content

Commit 38bc43b

Browse files
javiercnmkArtakMSFT
authored andcommitted
Move extension method out of Microsoft.AspNetCore (#11148)
* Move extension method out of Microsoft.AspNetCore * Empty commit
1 parent ea2f35c commit 38bc43b

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.netcoreapp3.0.cs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
namespace Microsoft.AspNetCore
5-
{
6-
public static partial class StaticWebAssetsWebHostBuilderExtensions
7-
{
8-
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStaticWebAssets(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { throw null; }
9-
}
10-
}
114
namespace Microsoft.AspNetCore.Hosting
125
{
136
public partial class DelegateStartup : Microsoft.AspNetCore.Hosting.StartupBase<Microsoft.Extensions.DependencyInjection.IServiceCollection>
@@ -29,6 +22,10 @@ public StartupBase(Microsoft.Extensions.DependencyInjection.IServiceProviderFact
2922
public virtual void ConfigureContainer(TBuilder builder) { }
3023
public override System.IServiceProvider CreateServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
3124
}
25+
public static partial class StaticWebAssetsWebHostBuilderExtensions
26+
{
27+
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseStaticWebAssets(this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { throw null; }
28+
}
3229
public partial class WebHostBuilder : Microsoft.AspNetCore.Hosting.IWebHostBuilder
3330
{
3431
public WebHostBuilder() { }

src/Hosting/Hosting/src/StaticWebAssets/StaticWebAssetsWebHostBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using Microsoft.AspNetCore.Hosting;
55
using Microsoft.AspNetCore.Hosting.StaticWebAssets;
66

7-
namespace Microsoft.AspNetCore
7+
namespace Microsoft.AspNetCore.Hosting
88
{
99
/// <summary>
1010
/// Extensions for configuring static web assets for development.

0 commit comments

Comments
 (0)