dotnet / dotnet/dotnet-api-docs

There is no description of the MemoryCache Compact() method.

Open
#10,662 2 comments 0 reactions 0 assignees View on GitHub
area-Extensions-Caching Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.