https://bugzilla.novell.com/show_bug.cgi?id=433483

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=433483#c3





--- Comment #3 from Marek Habersack <[EMAIL PROTECTED]>  2008-10-09 16:31:11 
MDT ---
How about modifying CacheDependency in two ways - first, maintain an internal
list of CacheItems which depend on this particular instance of CacheDependency
(Cache.Insert would call CacheDependency.AddItem () for instance) and extending
the CacheDependency.DependencyChanged event to pass that list to the handler.
That way, Cache.OnDependencyChanged would know which items exactly are to be
removed. If the list passed to the handler would be null, we'd call
CheckDependencies directly. It would eliminate using CheckDependencies in most
cases. Does that make sense?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to