diff --git a/src/MvcSiteMapProvider/MvcSiteMapProvider/Caching/ICacheProvider.cs b/src/MvcSiteMapProvider/MvcSiteMapProvider/Caching/ICacheProvider.cs index 466c5a6b..a18a2e66 100644 --- a/src/MvcSiteMapProvider/MvcSiteMapProvider/Caching/ICacheProvider.cs +++ b/src/MvcSiteMapProvider/MvcSiteMapProvider/Caching/ICacheProvider.cs @@ -14,6 +14,10 @@ public interface ICacheProvider bool TryGetValue(string key, out LazyLock value); void Add(string key, LazyLock item, ICacheDetails cacheDetails); void Remove(string key); + + // NOTE: In version 5, this should be changed to a ProviderItemRemovedEventArgs to pass the LazyLock + // instead of T back to the MicroCache to make it consistently deal with a LazyLock and the + // MicroCache consistently deal with a T. event EventHandler> ItemRemoved; } }