alastairtree / LazyCache

An easy to use thread safe in-memory caching service with a simple developer friendly API for c#
https://nuget.org/packages/LazyCache
MIT License
1.72k stars 159 forks source link

Feat policy calbacks should unwrap the lazy #2

Closed tafs7 closed 9 years ago

tafs7 commented 9 years ago

Fixes #1 prevents stack overflow exception and uses the value in the Lazy object to unwrap and set the cache item value