Share via


PackageReferenceQueryResultsExtensions.ChangesFrom Method

Definition

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.

Applies to