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