public int SynchronousAllObject(List <CCacheItem_WuQi <K, T> > litem, ref ICacheStorage_WuQi <K, T> container) { container.Clear(); foreach (CCacheItem_WuQi <K, T> item in litem) { container.Add(item.key, item); } return(container.Count); }
public int SynchronousAllObject(List <CCacheItem_WuQi <K, T> > litem, ref ICacheStorage_WuQi <K, T> container) { container.Clear(); return(container.Count); }
public void Clear(ref ICacheStorage_WuQi <K, T> container) { container.Clear(); }