From cc892071b20d350ebdafa63d108d949f547711eb Mon Sep 17 00:00:00 2001 From: Pranav K Date: Wed, 16 Jan 2019 16:36:56 -0800 Subject: [PATCH] Fixup doc comments for ContentResult Fixes https://github.com/aspnet/AspNetCore/issues/5159 --- .../Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs index 22078bb2a5..359b43c14d 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs @@ -221,8 +221,7 @@ namespace Microsoft.AspNetCore.Mvc } /// - /// Creates a object with by specifying a - /// string. + /// Creates a object by specifying a string. /// /// The content to write to the response. /// The created object for the response. @@ -231,7 +230,7 @@ namespace Microsoft.AspNetCore.Mvc => Content(content, (MediaTypeHeaderValue)null); /// - /// Creates a object with by specifying a + /// Creates a object by specifying a /// string and a content type. /// /// The content to write to the response. @@ -242,7 +241,7 @@ namespace Microsoft.AspNetCore.Mvc => Content(content, MediaTypeHeaderValue.Parse(contentType)); /// - /// Creates a object with by specifying a + /// Creates a object by specifying a /// string, a , and . /// /// The content to write to the response. @@ -262,7 +261,7 @@ namespace Microsoft.AspNetCore.Mvc } /// - /// Creates a object with by specifying a + /// Creates a object by specifying a /// string and a . /// /// The content to write to the response. @@ -282,7 +281,7 @@ namespace Microsoft.AspNetCore.Mvc /// /// Creates a object that produces an empty - /// response. + /// response. /// /// The created object for the response. [NonAction]