Esempio n. 1
0
 public Task <IEnumerable <CatalogCommitItemBatch> > CreateBatchesAsync(IEnumerable <CatalogCommitItem> catalogItems)
 {
     // Create a single batch of all unprocessed catalog items so that we can have complete control of the
     // parallelism in this class.
     return(Task.FromResult(_utility.CreateSingleBatch(catalogItems)));
 }
 public Task <IEnumerable <CatalogCommitItemBatch> > CreateBatchesAsync(IEnumerable <CatalogCommitItem> catalogItems)
 {
     return(Task.FromResult(_utility.CreateSingleBatch(catalogItems)));
 }