-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Extensions: DI, Configuration, Caching.Memory docs #4107
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
- Microsoft.Extensions.Caching.Memory - Microsoft.Extensions.Configuration - Microsoft.Extensions.DependencyInjection
xml/Microsoft.Extensions.DependencyInjection/DefaultServiceProviderFactory.xml
Outdated
Show resolved
Hide resolved
@@ -185,7 +185,7 @@ | |||
<ReturnType>Microsoft.Extensions.Caching.Memory.MemoryCacheOptions</ReturnType> | |||
</ReturnValue> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>Gets the default configured <typeparamref name="TOptions" /> instance.</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.
I'm not sure whether TOptions is meaningful here? Here's the preview: https://review.docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.caching.memory.memorydistributedcacheoptions?branch=pr-en-us-4107&view=dotnet-plat-ext-3.1#explicit-interface-implementations
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.
Also, the description for CompactOnMemoryPressure on line 131 doesn't seem correct.
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.
Also, the description for CompactOnMemoryPressure on line 131 doesn't seem correct.
@gewarren which part do you think is off for CompactOnMemoryPressure?
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.
@maryamariyan It duplicates the description for ExpirationScanFrequency and doesn't seem to match the property name.
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.
Seems like CompactOnMemoryPressure is already obsolete
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.
Thanks for the PR, @maryamariyan . I left one suggestion to apply.
If you can, please fill out the elements that aren't yet documented.
Also, I don't see any exceptions ported. Can you re-run the tool with -skipExceptions false
, to see if anything gets ported?
…to more-mse-runtime Conflicts: xml/Microsoft.Extensions.DependencyInjection.Specification.Fakes/FakeService.xml xml/Microsoft.Extensions.DependencyInjection/ServiceProvider.xml
Docs Build status updates of commit ed12eba:
|
Applies PR feedback Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com> Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Docs Build status updates of commit 5aa4d00:
|
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.
From our conversation, the rest of the undoc APIs can be addressed later.
The warnings are a known issue in the CI, they don't seem to be caused by the changes in this PR, so we can merge. |
Summary
More docs on: