Skip to content

Commit

Permalink
Changed CacheItemRemoved event in RuntimeCacheProvider to be protecte…
Browse files Browse the repository at this point in the history
…d virtual to be consistent with the AspNetCacheProvider.
  • Loading branch information
NightOwl888 committed Sep 2, 2014
1 parent 8483d8c commit e256eb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private bool IsTimespanSet(TimeSpan timeSpan)
return (!timeSpan.Equals(TimeSpan.MinValue));
}

private void CacheItemRemoved(CacheEntryRemovedArguments arguments)
protected virtual void CacheItemRemoved(CacheEntryRemovedArguments arguments)
{
var item = arguments.CacheItem;
var args = new MicroCacheItemRemovedEventArgs<T>(item.Key, ((LazyLock)item.Value).Get<T>(null));
Expand Down

0 comments on commit e256eb1

Please sign in to comment.