class

ScanDiffResult

Namespace
RefSafe.Pro
Assembly
RefSafe.Pro.Core
public sealed class ScanDiffResult

Result of comparing current scan against a cached scan.

Constructors

ScanDiffResult
public ScanDiffResult( List<ScanIssue> newIssues, HashSet<string> newIssueHashes, List<CachedIssue> resolvedIssues, int unchangedCount, int previousTotal, int currentTotal)

No description available.

Properties

NewIssues
public IReadOnlyList<ScanIssue> NewIssues { get; }

Issues that are new (not in the previous scan).

NewIssueHashes
public HashSet<string> NewIssueHashes { get; }

Hashes of new issues for fast lookup.

ResolvedIssues
public IReadOnlyList<CachedIssue> ResolvedIssues { get; }

Issues that were resolved (in previous scan but not current).

UnchangedCount
public int UnchangedCount { get; }

Number of issues unchanged between scans.

PreviousTotal
public int PreviousTotal { get; }

Total issues in the previous (cached) scan.

CurrentTotal
public int CurrentTotal { get; }

Total issues in the current scan.

Methods

IsNew
public bool IsNew(ScanIssue issue)

Returns true if the given issue is new (not in previous scan).

Generated from Core/Scanning/ScanDiffResult.cs in RefSafe Pro 2.2.0.