-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Add doc strings for public APIs in Http.Abstractions and Routing.Abstractions #26468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/Http/Http.Abstractions/src/Extensions/ResponseTrailerExtensions.cs
Outdated
Show resolved
Hide resolved
1491840
to
4e8f212
Compare
Co-authored-by: James Newton-King <[email protected]>
@@ -8,23 +8,45 @@ | |||
|
|||
namespace Microsoft.AspNetCore.Http | |||
{ | |||
/// <summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shoot: #26358. I had some of these documented in an earlier pass. I should have clarified it in the docs
public static class StatusCodes | ||
{ | ||
/// <summary> | ||
/// HTTP status code 100. | ||
/// </summary> | ||
public const int Status100Continue = 100; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good grief. I gave up when I got to this type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little patience and a whole lotta Cmd+V 😝 .
@@ -13,7 +16,7 @@ public class LinkOptions | |||
|
|||
/// <summary> | |||
/// Gets or sets a value indicating whether a generated query strings are lowercase. | |||
/// This property will be unless <see cref="LowercaseUrls" /> is also <c>true</c>. | |||
/// This property will be false unless <see cref="LowercaseUrls" /> is also <c>true</c>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -3,77 +3,338 @@ | |||
|
|||
namespace Microsoft.AspNetCore.Http | |||
{ | |||
// Status Codes listed at http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml | |||
/// <summary> | |||
/// A collection of contants for HTTP status codes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
constants
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oof. I'll fix this in my other PR.
Part of #26397.