LazyCache
LazyCache copied to clipboard
Issue72 Deprecate Add<T> method in favor of Set<T>
An attempt to address issue # 72, deprecating the IAppCache.Add<T>(...) method with a .Set<T>() method
Replaces the functionality as-is, adds [Obsolete] attributes to the Add method, and a unit test to confirm that all classes implementing IAppCache have an Obsolete attribute on their Add method
https://github.com/alastairtree/LazyCache/issues/72
Tip:
To prevent IntelliSense from suggestion both Set and Add you can add [EditorBrowsable(EditorBrowsableState.Never)] to the obsolete methods.
Tip: To prevent IntelliSense from suggestion both
SetandAddyou can add[EditorBrowsable(EditorBrowsableState.Never)]to the obsolete methods.
Did not know that, very useful! Let's use it.