diff --git a/src/Microsoft.AspNetCore.Hosting.Abstractions/IApplicationLifetime.cs b/src/Microsoft.AspNetCore.Hosting.Abstractions/IApplicationLifetime.cs index c3e4336521..953b29fa6f 100644 --- a/src/Microsoft.AspNetCore.Hosting.Abstractions/IApplicationLifetime.cs +++ b/src/Microsoft.AspNetCore.Hosting.Abstractions/IApplicationLifetime.cs @@ -18,9 +18,8 @@ namespace Microsoft.AspNetCore.Hosting /// /// Triggered when the application host is performing a graceful shutdown. - /// Request may still be in flight. Shutdown will block until this event completes. + /// Requests may still be in flight. Shutdown will block until this event completes. /// - /// CancellationToken ApplicationStopping { get; } /// @@ -28,7 +27,6 @@ namespace Microsoft.AspNetCore.Hosting /// All requests should be complete at this point. Shutdown will block /// until this event completes. /// - /// CancellationToken ApplicationStopped { get; } /// diff --git a/src/Microsoft.AspNetCore.Hosting.Abstractions/IHostingEnvironment.cs b/src/Microsoft.AspNetCore.Hosting.Abstractions/IHostingEnvironment.cs index b6cc64252f..bc108e5f4d 100644 --- a/src/Microsoft.AspNetCore.Hosting.Abstractions/IHostingEnvironment.cs +++ b/src/Microsoft.AspNetCore.Hosting.Abstractions/IHostingEnvironment.cs @@ -14,38 +14,32 @@ namespace Microsoft.AspNetCore.Hosting /// Gets or sets the name of the environment. This property is automatically set by the host to the value /// of the "Hosting:Environment" (on Windows) or "Hosting__Environment" (on Linux & OS X) environment variable. /// - // This must be settable! string EnvironmentName { get; set; } /// /// Gets or sets the name of the application. This property is automatically set by the host to the assembly containing /// the application entry point. /// - // This must be settable! string ApplicationName { get; set; } /// /// Gets or sets the absolute path to the directory that contains the web-servable application content files. /// - // This must be settable! string WebRootPath { get; set; } /// /// Gets or sets an pointing at . /// - // This must be settable! IFileProvider WebRootFileProvider { get; set; } /// /// Gets or sets the absolute path to the directory that contains the application content files. /// - // This must be settable! string ContentRootPath { get; set; } /// /// Gets or sets an pointing at . /// - // This must be settable! IFileProvider ContentRootFileProvider { get; set; } } } \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Hosting.Abstractions/IWebHost.cs b/src/Microsoft.AspNetCore.Hosting.Abstractions/IWebHost.cs index dbf80ea53a..06796c4bf4 100644 --- a/src/Microsoft.AspNetCore.Hosting.Abstractions/IWebHost.cs +++ b/src/Microsoft.AspNetCore.Hosting.Abstractions/IWebHost.cs @@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Http.Features; namespace Microsoft.AspNetCore.Hosting { /// - /// Represents a configured web host + /// Represents a configured web host. /// public interface IWebHost : IDisposable { @@ -24,7 +24,6 @@ namespace Microsoft.AspNetCore.Hosting /// /// Starts listening on the configured addresses. /// - /// void Start(); } } diff --git a/src/Microsoft.AspNetCore.Hosting.Abstractions/IWebHostBuilder.cs b/src/Microsoft.AspNetCore.Hosting.Abstractions/IWebHostBuilder.cs index 1b7510cf7e..20ce17007e 100644 --- a/src/Microsoft.AspNetCore.Hosting.Abstractions/IWebHostBuilder.cs +++ b/src/Microsoft.AspNetCore.Hosting.Abstractions/IWebHostBuilder.cs @@ -9,7 +9,7 @@ using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Hosting { /// - /// A builder for + /// A builder for . /// public interface IWebHostBuilder { diff --git a/src/Microsoft.AspNetCore.Hosting/Internal/ApplicationLifetime.cs b/src/Microsoft.AspNetCore.Hosting/Internal/ApplicationLifetime.cs index 5f3e7cc960..d2cd26f6d9 100644 --- a/src/Microsoft.AspNetCore.Hosting/Internal/ApplicationLifetime.cs +++ b/src/Microsoft.AspNetCore.Hosting/Internal/ApplicationLifetime.cs @@ -25,7 +25,6 @@ namespace Microsoft.AspNetCore.Hosting.Internal /// Triggered when the application host is performing a graceful shutdown. /// Request may still be in flight. Shutdown will block until this event completes. /// - /// public CancellationToken ApplicationStopping => _stoppingSource.Token; /// @@ -33,7 +32,6 @@ namespace Microsoft.AspNetCore.Hosting.Internal /// All requests should be complete at this point. Shutdown will block /// until this event completes. /// - /// public CancellationToken ApplicationStopped => _stoppedSource.Token; /// diff --git a/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs b/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs index 3718c80f1c..380aeb7ac8 100644 --- a/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs +++ b/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs @@ -31,10 +31,10 @@ namespace Microsoft.AspNetCore.Hosting } /// - /// Runs a web application and block the calling thread until token is triggered or shutdown is triggered + /// Runs a web application and block the calling thread until token is triggered or shutdown is triggered. /// /// - /// The token to trigger shutdown + /// The token to trigger shutdown. public static void Run(this IWebHost host, CancellationToken token) { host.Run(token, shutdownMessage: null);