-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
area-Extensions-Cachingneeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsiderationIssue has been initially triaged, but needs deeper consideration or reconsideration
Milestone
Description
Hii,
I've been using TimeProvider (and it's unit testing equivalent) for some time now and noticed recently that MemoryCache still uses the ISystemClock, which I thought was deprecated (In reality, it's most likely a copy of it's equivalent in the ASP.NET Core repo, as it's part of Microsoft.Extensions.Caching.Abstractions).
I know it's perfectly possible to just implement a proxy from ISystemClock towards TimeProvider, but I was wondering whether there were any plans to actually deprecate that remaining symbol and transition MemoryCache towards TimeProvider in the BCL altogether? Especially since HybridCache already uses TimeProvider.
martincostello, WeihanLi, Levi--G, lilinus, Xor-el and 6 more
Metadata
Metadata
Assignees
Labels
area-Extensions-Cachingneeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsiderationIssue has been initially triaged, but needs deeper consideration or reconsideration