Summary
Class to create instances of
IIssue
with a fluent API.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["IssueBuilder"]
class Type type-node
Syntax
public class IssueBuilder
Methods
Name | Value | Summary |
---|---|---|
Create |
IIssue |
Creates a new
IIssue .
|
ForRun |
IssueBuilder |
Sets the name of the run where the issue was reported.
|
InFile |
IssueBuilder |
Sets the path to the file affected by the issue.
|
InFile |
IssueBuilder |
Sets the path to the file affected by the issue and the line in the file where the issues has occurred.
|
InFile |
IssueBuilder |
Sets the path to the file affected by the issue and the line and column in the file where the issues has occurred.
|
InFile |
IssueBuilder |
Sets the path to the file affected by the issue and the line and column in the file where the issues has occurred.
|
InProject |
IssueBuilder |
Sets the project to which the file affected by the issue belongs.
|
InProjectFile |
IssueBuilder |
Sets the path of the project to which the file affected by the issue belongs.
|
InProjectOfName |
IssueBuilder |
Sets the name of the project to which the file affected by the issue belongs.
|
NewIssue |
IssueBuilder |
Initiates the creation of a new
IIssue with message as identifier.
static
|
NewIssue |
IssueBuilder |
Initiates the creation of a new
IIssue .
static
|
NewIssue |
IssueBuilder |
Initiates the creation of a new
IIssue .
static
|
NewIssue |
IssueBuilder |
Initiates the creation of a new
IIssue with message
as identifier.
static
|
OfRule |
IssueBuilder |
Sets the rule of the issue.
|
OfRule |
IssueBuilder |
Sets the rule of the issue.
|
OfRule |
IssueBuilder |
Sets the rule of the issue.
|
OfRule |
IssueBuilder |
Sets the rule of the issue.
|
With |
IssueBuilder |
Sets additional information regarding the issue.
|
With |
IssueBuilder |
Sets additional information regarding the issue.
|
WithFileLink |
IssueBuilder |
Sets the the link to the position in the file where the issue occurred.
|
WithFileLinkSettings |
IssueBuilder |
Sets a
FileLinkSettings to create the link of the position in the file where the issue occurred.
|
With |
IssueBuilder |
Sets the message in HTML format.
|
With |
IssueBuilder |
Sets the message in Markdown format.
|
WithPriority |
IssueBuilder |
Sets the priority of the issue.
|
WithPriority |
IssueBuilder |
Sets the priority of the issue.
|
Extension Methods
Name | Value | Summary |
---|---|---|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
|