public async Task <IReadOnlyList <EntityCommit <PackageRegistrationEntity> > > GetCommitsAsync( DateTimeOffset start, DateTimeOffset end, int batchSize) { return(await EnumeratorUtility.GetCommitsAsync( GetRangeAsync, x => x.CommitTimestamp, InitializePackageRegistrationCommit, start, end, batchSize)); }
public async Task <IReadOnlyList <EntityCommit <PackageEntity> > > GetCommitsAsync( QueryEntities <PackageEntity> queryEntities, DateTimeOffset start, DateTimeOffset end, int batchSize) { return(await EnumeratorUtility.GetCommitsAsync( (s, e, b) => GetRangeAsync(queryEntities, s, e, b), x => x.CatalogPackage.LastCommitTimestamp, InitializePackageCommit, start, end, batchSize)); }