RuleResultQueryResultsExtensions.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 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.