From a6bdb9b1ec6ed99978a508e71a7f131be7e4d9fb Mon Sep 17 00:00:00 2001 From: Nate Barbettini Date: Fri, 6 Apr 2018 08:09:48 -0700 Subject: [PATCH] Fix typos in code documentation (#1012) * Fix typos in code documentation * Add missing detail to code documentation --- .../HttpRequest.cs | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/Microsoft.AspNetCore.Http.Abstractions/HttpRequest.cs b/src/Microsoft.AspNetCore.Http.Abstractions/HttpRequest.cs index 8df33f62ad..a4337b7766 100644 --- a/src/Microsoft.AspNetCore.Http.Abstractions/HttpRequest.cs +++ b/src/Microsoft.AspNetCore.Http.Abstractions/HttpRequest.cs @@ -18,13 +18,13 @@ namespace Microsoft.AspNetCore.Http public abstract HttpContext HttpContext { get; } /// - /// Gets or set the HTTP method. + /// Gets or sets the HTTP method. /// /// The HTTP method. public abstract string Method { get; set; } /// - /// Gets or set the HTTP request scheme. + /// Gets or sets the HTTP request scheme. /// /// The HTTP request scheme. public abstract string Scheme { get; set; } @@ -36,25 +36,25 @@ namespace Microsoft.AspNetCore.Http public abstract bool IsHttps { get; set; } /// - /// Gets or set the Host header. May include the port. + /// Gets or sets the Host header. May include the port. /// /// The Host header. public abstract HostString Host { get; set; } /// - /// Gets or set the RequestPathBase. + /// Gets or sets the RequestPathBase. /// /// The RequestPathBase. public abstract PathString PathBase { get; set; } /// - /// Gets or set the request path from RequestPath. + /// Gets or sets the request path from RequestPath. /// /// The request path from RequestPath. public abstract PathString Path { get; set; } /// - /// Gets or set the raw query string used to create the query collection in Request.Query. + /// Gets or sets the raw query string used to create the query collection in Request.Query. /// /// The raw query string. public abstract QueryString QueryString { get; set; } @@ -66,7 +66,7 @@ namespace Microsoft.AspNetCore.Http public abstract IQueryCollection Query { get; set; } /// - /// Gets or set the RequestProtocol. + /// Gets or sets the RequestProtocol. /// /// The RequestProtocol. public abstract string Protocol { get; set; } @@ -84,8 +84,9 @@ namespace Microsoft.AspNetCore.Http public abstract IRequestCookieCollection Cookies { get; set; } /// - /// Gets or sets the Content-Length header + /// Gets or sets the Content-Length header. /// + /// The value of the Content-Length header, if any. public abstract long? ContentLength { get; set; } /// @@ -95,14 +96,15 @@ namespace Microsoft.AspNetCore.Http public abstract string ContentType { get; set; } /// - /// Gets or set the RequestBody Stream. + /// Gets or sets the RequestBody Stream. /// /// The RequestBody Stream. public abstract Stream Body { get; set; } /// - /// Checks the content-type header for form types. + /// Checks the Content-Type header for form types. /// + /// true if the Content-Type header represents a form content type; otherwise, false. public abstract bool HasFormContentType { get; } ///