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
-
objectIssueRecord
- 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
Severity
Describes found issue's severity.
public IssueSeverity Severity { get; }
Property Value
Methods
ConstructCompactLine(StringBuilder)
protected override void ConstructCompactLine(StringBuilder text)
Parameters
textStringBuilder
ConstructHeader(StringBuilder)
protected override void ConstructHeader(StringBuilder text)
Parameters
textStringBuilder
Fix(bool)
Perform fix attempt. Call only if #IsFixable returns true.
public FixResult Fix(bool batchMode)
Parameters
batchModeboolPass true when fixing more than 1 issue at a time to improve fixing performance using batch approach.
Returns
- FixResult
Fixing attempt result.