Share via


RuleResultItemQueryResultsExtensions.ChangesFrom Method

Definition

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

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.RuleResultItemChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot> currentRuleResultItemCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot> previousRuleResultItemCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.RuleResultItemChanges>
<Extension()>
Public Function ChangesFrom (currentRuleResultItemCollection As IQueryResults(Of IRuleResultItemSnapshot), previousRuleResultItemCollection As IQueryResults(Of IRuleResultItemSnapshot)) As EntityCollectionChanges(Of IRuleResultItemSnapshot, RuleResultItemChanges)

Parameters

currentRuleResultItemCollection
IQueryResults<IRuleResultItemSnapshot>

The current RuleResultItem collection.

previousRuleResultItemCollection
IQueryResults<IRuleResultItemSnapshot>

The previous RuleResultItem collection.

Returns

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

Applies to