Share via


RuleResultQueryResultsExtensions.ChangesFrom Method

Definition

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

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.RuleResultChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultSnapshot> currentRuleResultCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultSnapshot> previousRuleResultCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.RuleResultChanges>
<Extension()>
Public Function ChangesFrom (currentRuleResultCollection As IQueryResults(Of IRuleResultSnapshot), previousRuleResultCollection As IQueryResults(Of IRuleResultSnapshot)) As EntityCollectionChanges(Of IRuleResultSnapshot, RuleResultChanges)

Parameters

currentRuleResultCollection
IQueryResults<IRuleResultSnapshot>

The current RuleResult collection.

previousRuleResultCollection
IQueryResults<IRuleResultSnapshot>

The previous RuleResult collection.

Returns

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

Applies to