Skip to content
代码片段 群组 项目
未验证 提交 a79bb2a7 编辑于 作者: Andrew Stanton-Nurse's avatar Andrew Stanton-Nurse 提交者: GitHub
浏览文件

fix #11114 by setting DesignerCategory for WebHostService (#11123)

上级 cd7eda9a
No related branches found
No related tags found
无相关合并请求
......@@ -3,6 +3,7 @@
namespace Microsoft.AspNetCore.Hosting.WindowsServices
{
[System.ComponentModel.DesignerCategoryAttribute("Code")]
public partial class WebHostService : System.ServiceProcess.ServiceBase
{
public WebHostService(Microsoft.AspNetCore.Hosting.IWebHost host) { }
......
......@@ -12,6 +12,7 @@ namespace Microsoft.AspNetCore.Hosting.WindowsServices
/// <summary>
/// Provides an implementation of a Windows service that hosts ASP.NET Core.
/// </summary>
[DesignerCategory("Code")]
public class WebHostService : ServiceBase
{
private readonly IWebHost _host;
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册