예제 #1
0
 internal static IEnumerable <Task <Tuple <CasHash, long> > > GetContentSizes(this ICacheReadOnlySession session, IEnumerable <CasHash> casEntries)
 {
     foreach (var casHash in casEntries)
     {
         yield return(session.GetContentSizeAsync(casHash));
     }
 }