Compartir a través de


ProjectReferenceQueryResultsExtensions.ChangesFrom Method

Definition

Calculates the set of differences with another ProjectReference collection./>

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.ProjectReferenceChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot> currentProjectReferenceCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot> previousProjectReferenceCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IProjectReferenceSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.ProjectReferenceChanges>
<Extension()>
Public Function ChangesFrom (currentProjectReferenceCollection As IQueryResults(Of IProjectReferenceSnapshot), previousProjectReferenceCollection As IQueryResults(Of IProjectReferenceSnapshot)) As EntityCollectionChanges(Of IProjectReferenceSnapshot, ProjectReferenceChanges)

Parameters

currentProjectReferenceCollection
IQueryResults<IProjectReferenceSnapshot>

The current ProjectReference collection.

previousProjectReferenceCollection
IQueryResults<IProjectReferenceSnapshot>

The previous ProjectReference collection.

Returns

A EntityCollectionChanges<TEntity,TEntityChanges> with the collection differences.

Applies to