-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Add API docs for Caching and WebEncoders #28945
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
@@ -12,11 +12,13 @@ namespace Microsoft.Extensions.WebEncoders.Testing | |||
/// </summary> | |||
public sealed class HtmlTestEncoder : HtmlEncoder | |||
{ | |||
/// <inheritdoc /> |
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.
Could we enhance the summary for this type to say something about not using it in production apps?
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.
Same for the other test encoders
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.
The type summary already indicates that it's used for testing only. Didi you want to add it to all the method docs as well?
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.
It feels a bit spare. How about
<see cref="HtmlEncoder" />
used for unit testing. This encoder does not perform any encoding and should not be used in application code.
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.
Updated for all three encoders.
Co-authored-by: Pranav K <[email protected]>
ping @pranavkm for review. |
Part of #27538.