日期:2014-05-17  浏览次数:20444 次

关于cache添加的一段代码~ 看不懂 求助
C# code

HttpContext.Current.Cache.Add(DummyCacheItemKey, String.Empty, null,

            DateTime.MaxValue, TimeSpan.FromMinutes(1), System.Web.Caching.CacheItemPriority.Normal,

            new System.Web.Caching.CacheItemRemovedCallback((x, y, z) => new System.Net.WebClient().DownloadData("HTTP://127.0.0.1/index.aspx" )));




new System.Web.Caching.CacheItemRemovedCallback((x, y, z) => new System.Net.WebClient().DownloadData("HTTP://127.0.0.1/index.aspx" ))
中xyz 是什么 ?要干什么~

------解决方案--------------------
貌似是lambda表达式
------解决方案--------------------
CacheItemRemovedCallback转到定义 ,看看.