MichaCo / CacheManager

CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.
http://cachemanager.michaco.net
Apache License 2.0
2.34k stars 457 forks source link

Adding GetClone<T> #242

Closed AeonDave closed 6 years ago

AeonDave commented 6 years ago

is possible to add a method (or maybe is alredy implemented?) which return a copy of the object itself. Because sometimes i want to manipulate an object but i want to keep the original inside the cache

Ty

D

MichaCo commented 6 years ago

That's something you'd have to deal with outside of the cache. There are many different ways doing that and highly depends on how complex the object you want to clone actually is.

So, no, that's not something I'd add to CacheManager, sorry ;)