Table of Contents

Class IssueRecord

Namespace
CodeStage.Maintainer.Issues
Assembly
Build.dll

Base class for all Issues Finder results items.

[Serializable]
public abstract class IssueRecord : RecordBase, IScanListenerResult
Inheritance
object
IssueRecord
Implements
Derived
Inherited Members

Properties

IsFixable

Returns true if current issue type is potentially fixable, returns false otherwise.

public abstract bool IsFixable { get; }

Property Value

bool

Kind

Describes found issue's kind.

public IssueKind Kind { get; }

Property Value

IssueKind

Severity

Describes found issue's severity.

public IssueSeverity Severity { get; }

Property Value

IssueSeverity

Methods

ConstructCompactLine(StringBuilder)

protected override void ConstructCompactLine(StringBuilder text)

Parameters

text StringBuilder

ConstructHeader(StringBuilder)

protected override void ConstructHeader(StringBuilder text)

Parameters

text StringBuilder

Fix(bool)

Perform fix attempt. Call only if #IsFixable returns true.

public FixResult Fix(bool batchMode)

Parameters

batchMode bool

Pass true when fixing more than 1 issue at a time to improve fixing performance using batch approach.

Returns

FixResult

Fixing attempt result.