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.33k stars 458 forks source link

Infer `RequiresSerializerAttribute` from `ICacheSerializer` in the constructor arguments #292

Open ndrwrbgs opened 4 years ago

ndrwrbgs commented 4 years ago

Since having that argument means the handle requires a serializer for sure (rather than if it, say, read from the configuration), we could provide the same error visibility for handles that miss the attribute just by checking the arguments on the ctor.

https://github.com/maldworth/CacheManager.FileCaching/issues/5