parent
cd7eda9a33
commit
a79bb2a79d
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Hosting.WindowsServices
|
namespace Microsoft.AspNetCore.Hosting.WindowsServices
|
||||||
{
|
{
|
||||||
|
[System.ComponentModel.DesignerCategoryAttribute("Code")]
|
||||||
public partial class WebHostService : System.ServiceProcess.ServiceBase
|
public partial class WebHostService : System.ServiceProcess.ServiceBase
|
||||||
{
|
{
|
||||||
public WebHostService(Microsoft.AspNetCore.Hosting.IWebHost host) { }
|
public WebHostService(Microsoft.AspNetCore.Hosting.IWebHost host) { }
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ namespace Microsoft.AspNetCore.Hosting.WindowsServices
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides an implementation of a Windows service that hosts ASP.NET Core.
|
/// Provides an implementation of a Windows service that hosts ASP.NET Core.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[DesignerCategory("Code")]
|
||||||
public class WebHostService : ServiceBase
|
public class WebHostService : ServiceBase
|
||||||
{
|
{
|
||||||
private readonly IWebHost _host;
|
private readonly IWebHost _host;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue