NDepend.API Documentation
CreateIssuesSetDiff Method
NDepend.Issue Namespace > ExtensionMethodsIssue Class : CreateIssuesSetDiff Method
The compare context that compares both newerIssuesSet.CodeBase and olderIssuesSet.CodeBase.
The IIssuesSet object that will play the role of the newer rules and issues snapshot from which to compare.
The IIssuesSet object that will play the role of the baseline on which to compare rules and issues.
Create an issues-set-diff object dedicated compare newerIssuesSet and olderIssuesSet and makes convenient to browse diff information about issues, rule and code elements of these two issues sets.
Syntax

Parameters

compareContext
The compare context that compares both newerIssuesSet.CodeBase and olderIssuesSet.CodeBase.
newerIssuesSet
The IIssuesSet object that will play the role of the newer rules and issues snapshot from which to compare.
olderIssuesSet
The IIssuesSet object that will play the role of the baseline on which to compare rules and issues.
Remarks
The returned issue-set-diff has already rules and issues of newerIssuesSet and olderIssuesSet compared, if these issues-set are not empty.
An IIssuesSetDiffBuilder instance can be obtained through IIssuesSetDiff.Builder to fill the both issues-sets with rules and issues.

After calling this methods, newerIssuesSet and olderIssuesSet Builder must not be called anymore to changerules and issues of newerIssuesSet and olderIssuesSet, else this will provoque corrupted states and exceptions.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsIssue Class
ExtensionMethodsIssue Members