@@ -221,8 +221,7 @@ public virtual ObjectResult StatusCode([ActionResultStatusCode] int statusCode,
221
221
}
222
222
223
223
/// <summary>
224
- /// Creates a <see cref="ContentResult"/> object with <see cref="StatusCodes.Status200OK"/> by specifying a
225
- /// <paramref name="content"/> string.
224
+ /// Creates a <see cref="ContentResult"/> object by specifying a <paramref name="content"/> string.
226
225
/// </summary>
227
226
/// <param name="content">The content to write to the response.</param>
228
227
/// <returns>The created <see cref="ContentResult"/> object for the response.</returns>
@@ -231,7 +230,7 @@ public virtual ContentResult Content(string content)
231
230
=> Content ( content , ( MediaTypeHeaderValue ) null ) ;
232
231
233
232
/// <summary>
234
- /// Creates a <see cref="ContentResult"/> object with <see cref="StatusCodes.Status200OK"/> by specifying a
233
+ /// Creates a <see cref="ContentResult"/> object by specifying a
235
234
/// <paramref name="content"/> string and a content type.
236
235
/// </summary>
237
236
/// <param name="content">The content to write to the response.</param>
@@ -242,7 +241,7 @@ public virtual ContentResult Content(string content, string contentType)
242
241
=> Content ( content , MediaTypeHeaderValue . Parse ( contentType ) ) ;
243
242
244
243
/// <summary>
245
- /// Creates a <see cref="ContentResult"/> object with <see cref="StatusCodes.Status200OK"/> by specifying a
244
+ /// Creates a <see cref="ContentResult"/> object by specifying a
246
245
/// <paramref name="content"/> string, a <paramref name="contentType"/>, and <paramref name="contentEncoding"/>.
247
246
/// </summary>
248
247
/// <param name="content">The content to write to the response.</param>
@@ -262,7 +261,7 @@ public virtual ContentResult Content(string content, string contentType, Encodin
262
261
}
263
262
264
263
/// <summary>
265
- /// Creates a <see cref="ContentResult"/> object with <see cref="StatusCodes.Status200OK"/> by specifying a
264
+ /// Creates a <see cref="ContentResult"/> object by specifying a
266
265
/// <paramref name="content"/> string and a <paramref name="contentType"/>.
267
266
/// </summary>
268
267
/// <param name="content">The content to write to the response.</param>
@@ -282,7 +281,7 @@ public virtual ContentResult Content(string content, MediaTypeHeaderValue conten
282
281
283
282
/// <summary>
284
283
/// Creates a <see cref="NoContentResult"/> object that produces an empty
285
- /// <see cref="StatusCodes.Status204NoContent"/> response.
284
+ /// <see cref="StatusCodes.Status204NoContent"/> response.
286
285
/// </summary>
287
286
/// <returns>The created <see cref="NoContentResult"/> object for the response.</returns>
288
287
[ NonAction ]
0 commit comments