Aggregate API calls by collection package info in a HashSet before publishing them.
Larger solutions might have multiple projects with the same packages. When the consumerName is given (i.e. not read from each project individually), the dependency package ./. consumer package info is the same for the same packages and does not need to be sent to the API several times. This speeds up the process.
Changes in this pull request:
Add GetHashCode() and Equals() methods to DependencyPackage so it can be used in a HashSet.
Collect packages in HashSet an then iterate over HashSet.
Aggregate API calls by collection package info in a HashSet before publishing them.
Larger solutions might have multiple projects with the same packages. When the consumerName is given (i.e. not read from each project individually), the dependency package ./. consumer package info is the same for the same packages and does not need to be sent to the API several times. This speeds up the process.
Changes in this pull request: