PackageReferenceQueryResultsExtensions.ChangesFrom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates the set of differences with another PackageReference collection./>
public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.PackageReferenceChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot> currentPackageReferenceCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot> previousPackageReferenceCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IPackageReferenceSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.PackageReferenceChanges>
<Extension()>
Public Function ChangesFrom (currentPackageReferenceCollection As IQueryResults(Of IPackageReferenceSnapshot), previousPackageReferenceCollection As IQueryResults(Of IPackageReferenceSnapshot)) As EntityCollectionChanges(Of IPackageReferenceSnapshot, PackageReferenceChanges)
Parameters
- currentPackageReferenceCollection
- IQueryResults<IPackageReferenceSnapshot>
The current PackageReference collection.
- previousPackageReferenceCollection
- IQueryResults<IPackageReferenceSnapshot>
The previous PackageReference collection.
Returns
A EntityCollectionChanges<TEntity,TEntityChanges> with the collection differences.