We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Missing information
There is no description of what this Compact() method does, why to use it, and when to use it.
Compact()
https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.caching.memory.memorycache.compact?view=net-8.0-pp&devlangs=csharp&f1url=%3FappId%3DDev17IDEF1%26l%3DEN-US%26k%3Dk(Microsoft.Extensions.Caching.Memory.MemoryCache.Compact)%3Bk(DevLang-csharp)%26rd%3Dtrue
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/Microsoft.Extensions.Caching.Memory/MemoryCache.xml
f172b18c-858d-4cb4-b094-b6b74947fdc6
@dotnet-bot
The text was updated successfully, but these errors were encountered:
Tagging subscribers to this area: @dotnet/area-extensions-caching
Sorry, something went wrong.
You are right, this method should be documented.
For now I can only refer you to the implementation that contains a comment that explains what it does:
https://github.com/dotnet/runtime/blob/6accd39f5852f4a687903a3b19a2d4ac10c2f9e0/src/libraries/Microsoft.Extensions.Caching.Memory/src/MemoryCache.cs#L525-L532
No branches or pull requests
Type of issue
Missing information
Description
There is no description of what this
Compact()
method does, why to use it, and when to use it.Page URL
https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.caching.memory.memorycache.compact?view=net-8.0-pp&devlangs=csharp&f1url=%3FappId%3DDev17IDEF1%26l%3DEN-US%26k%3Dk(Microsoft.Extensions.Caching.Memory.MemoryCache.Compact)%3Bk(DevLang-csharp)%26rd%3Dtrue
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/Microsoft.Extensions.Caching.Memory/MemoryCache.xml
Document Version Independent Id
f172b18c-858d-4cb4-b094-b6b74947fdc6
Article author
@dotnet-bot
The text was updated successfully, but these errors were encountered: