public BlockStoreResponse processQuery(BlockStoreQuery query) { BlockStoreResponse bsr = new BlockStoreResponse(); bsr.BlockResponses = new List<BlockStoreBlockResponse>(); foreach(int blockID in query.BlockIDs) bsr.BlockResponses.Add(processBlockQuery(query.BlockQuery, blockID)); return bsr; }
public BlockStoreResponse processQuery(BlockStoreQuery query) { BlockStoreResponse bsr = new BlockStoreResponse(); bsr.BlockResponses = new List <BlockStoreBlockResponse>(); foreach (int blockID in query.BlockIDs) { bsr.BlockResponses.Add(processBlockQuery(query.BlockQuery, blockID)); } return(bsr); }