public void OnCustomRemoveCallback(object key, object value, ItemRemoveReason reason, BitSet Flag, EventContext eventContext) { EventCacheItem item = EventUtil.ConvertToItem(eventContext.Item); CacheItemRemovedReason removeReason = EventUtil.ConvertToCIRemoveReason(reason); _listener.OnCustomRemoveCallback((string)key, value, removeReason, Flag, true, item); }