From 10d5a0ba62626fc69bafa6a81181fb367da8ff7a Mon Sep 17 00:00:00 2001 From: Dairai Nyabando Date: Wed, 4 Dec 2019 20:07:14 -0500 Subject: [PATCH] Correcting XML closing tags #17349 --- src/Http/Http.Abstractions/src/HttpMethods.cs | 20 +++++++++---------- src/Http/Http/src/DefaultHttpContext.cs | 14 ++++++------- src/Http/Http/src/HttpContextAccessor.cs | 2 +- src/Http/Http/src/HttpContextFactory.cs | 14 ++++++------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/Http/Http.Abstractions/src/HttpMethods.cs b/src/Http/Http.Abstractions/src/HttpMethods.cs index a921ea0a84..350b98faf2 100644 --- a/src/Http/Http.Abstractions/src/HttpMethods.cs +++ b/src/Http/Http.Abstractions/src/HttpMethods.cs @@ -7,7 +7,7 @@ namespace Microsoft.AspNetCore.Http { /// /// Contains methods to verify the request method of an HTTP request. - /// + /// public static class HttpMethods { // We are intentionally using 'static readonly' here instead of 'const'. @@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Http /// /// Returns a value that indicates if the HTTP request method is CONNECT. - /// + /// /// The HTTP request method. /// /// if the method is CONNECT; otherwise, . @@ -42,7 +42,7 @@ namespace Microsoft.AspNetCore.Http /// /// Returns a value that indicates if the HTTP request method is DELETE. - /// + /// /// The HTTP request method. /// /// if the method is DELETE; otherwise, . @@ -54,7 +54,7 @@ namespace Microsoft.AspNetCore.Http /// /// Returns a value that indicates if the HTTP request method is GET. - /// + /// /// The HTTP request method. /// /// if the method is GET; otherwise, . @@ -66,7 +66,7 @@ namespace Microsoft.AspNetCore.Http /// /// Returns a value that indicates if the HTTP request method is HEAD. - /// + /// /// The HTTP request method. /// /// if the method is HEAD; otherwise, . @@ -78,7 +78,7 @@ namespace Microsoft.AspNetCore.Http /// /// Returns a value that indicates if the HTTP request method is OPTIONS. - /// + /// /// The HTTP request method. /// /// if the method is OPTIONS; otherwise, . @@ -90,7 +90,7 @@ namespace Microsoft.AspNetCore.Http /// /// Returns a value that indicates if the HTTP request method is PATCH. - /// + /// /// The HTTP request method. /// /// if the method is PATCH; otherwise, . @@ -102,7 +102,7 @@ namespace Microsoft.AspNetCore.Http /// /// Returns a value that indicates if the HTTP request method is POST. - /// + /// /// The HTTP request method. /// /// if the method is POST; otherwise, . @@ -114,7 +114,7 @@ namespace Microsoft.AspNetCore.Http /// /// Returns a value that indicates if the HTTP request method is PUT. - /// + /// /// The HTTP request method. /// /// if the method is PUT; otherwise, . @@ -126,7 +126,7 @@ namespace Microsoft.AspNetCore.Http /// /// Returns a value that indicates if the HTTP request method is TRACE. - /// + /// /// The HTTP request method. /// /// if the method is TRACE; otherwise, . diff --git a/src/Http/Http/src/DefaultHttpContext.cs b/src/Http/Http/src/DefaultHttpContext.cs index 06f4299191..ebe0816633 100644 --- a/src/Http/Http/src/DefaultHttpContext.cs +++ b/src/Http/Http/src/DefaultHttpContext.cs @@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Http { /// /// Represents an implementation of the HTTP Context class. - /// + /// public sealed class DefaultHttpContext : HttpContext { // Lambdas hoisted to static readonly fields to improve inlining https://github.com/dotnet/roslyn/issues/13624 @@ -37,7 +37,7 @@ namespace Microsoft.AspNetCore.Http /// /// Initializes a new instance of the class. - /// + /// public DefaultHttpContext() : this(new FeatureCollection()) { @@ -48,7 +48,7 @@ namespace Microsoft.AspNetCore.Http /// /// Initializes a new instance of the class with provided features. - /// + /// /// Initial set of features for the . public DefaultHttpContext(IFeatureCollection features) { @@ -59,7 +59,7 @@ namespace Microsoft.AspNetCore.Http /// /// Reinitialize the current instant of the class with features passed in. - /// + /// /// /// This method allows the consumer to re-use the for another request, rather than having to allocate a new instance. /// @@ -76,7 +76,7 @@ namespace Microsoft.AspNetCore.Http /// /// Uninitialize all the features in the . - /// + /// public void Uninitialize() { _features = default; @@ -88,7 +88,7 @@ namespace Microsoft.AspNetCore.Http /// /// Gets or set the for this instance. - /// + /// /// /// /// @@ -96,7 +96,7 @@ namespace Microsoft.AspNetCore.Http /// /// Gets or sets the for this instance. - /// + /// /// /// /// diff --git a/src/Http/Http/src/HttpContextAccessor.cs b/src/Http/Http/src/HttpContextAccessor.cs index deea3c266e..762e454c42 100644 --- a/src/Http/Http/src/HttpContextAccessor.cs +++ b/src/Http/Http/src/HttpContextAccessor.cs @@ -7,7 +7,7 @@ namespace Microsoft.AspNetCore.Http { /// /// Provides an implementation of based on the current execution context. - /// + /// public class HttpContextAccessor : IHttpContextAccessor { private static AsyncLocal _httpContextCurrent = new AsyncLocal(); diff --git a/src/Http/Http/src/HttpContextFactory.cs b/src/Http/Http/src/HttpContextFactory.cs index 10688b0572..edddc658d3 100644 --- a/src/Http/Http/src/HttpContextFactory.cs +++ b/src/Http/Http/src/HttpContextFactory.cs @@ -10,7 +10,7 @@ namespace Microsoft.AspNetCore.Http { /// /// Represents methods used to create an HTTP context object. - /// + /// [Obsolete("This is obsolete and will be removed in a future version. Use DefaultHttpContextFactory instead.")] public class HttpContextFactory : IHttpContextFactory { @@ -20,7 +20,7 @@ namespace Microsoft.AspNetCore.Http /// /// Initializes a new instance of the HttpContext class with options passed in. - /// + /// /// Options to set when instantianting the HTTP context object. public HttpContextFactory(IOptions formOptions) : this(formOptions, serviceScopeFactory: null) @@ -29,7 +29,7 @@ namespace Microsoft.AspNetCore.Http /// /// Initializes a new instance of the DefaultHttpContext class with options passed in. - /// + /// /// Options to set when instantianting the HTTP context object. /// Factory object used to create the service scope for the HTTP context. public HttpContextFactory(IOptions formOptions, IServiceScopeFactory serviceScopeFactory) @@ -39,7 +39,7 @@ namespace Microsoft.AspNetCore.Http /// /// Initializes a new instance of the DefaultHttpContext class with options passed in. - /// + /// /// Options to set when instantianting the HTTP context object. /// Object to be used to access the HTTP context instance. public HttpContextFactory(IOptions formOptions, IHttpContextAccessor httpContextAccessor) @@ -49,7 +49,7 @@ namespace Microsoft.AspNetCore.Http /// /// Initializes a new instance of the DefaultHttpContext class with options passed in. - /// + /// /// Options to set when instantianting the HTTP context object. /// Factory object used to create the service scope for the HTTP context. /// Options to set when instantianting the Default HTTP context object. @@ -72,7 +72,7 @@ namespace Microsoft.AspNetCore.Http /// /// Initializes a new instance of the DefaultHttpContext class with options passed in. - /// + /// /// Options to set when instantianting the Default HTTP context object. public HttpContext Create(IFeatureCollection featureCollection) { @@ -95,7 +95,7 @@ namespace Microsoft.AspNetCore.Http /// /// Sets the HTTP context object to null for garbage collection. - /// + /// /// HTTP context to dispose. public void Dispose(HttpContext httpContext) {