This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.
Summary
Sets the path to the file affected by the issue and the line and column in the file where the issues have occurred.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- IssueBuilder
Syntax
public IssueBuilder InFile(string filePath, Nullable<int> startLine, Nullable<int> endLine, Nullable<int> startColumn, Nullable<int> endColumn)
Parameters
Name | Type | Description |
---|---|---|
filePath | string | The path to the file affected by the issue.
The path needs to be relative to the repository root.
null or System.String.Empty if issue is not related to a change in a file. |
startLine | Nullable |
The line in the file where the issues have occurred.
null if the issue affects the whole file or an assembly. |
endLine | Nullable |
The end of the line range in the file where the issues have occurred.
null if the issue affects the whole file, an assembly or only a single line. |
startColumn | Nullable |
The column in the file where the issues have occurred.
null if the issue affects the whole file or an assembly. |
endColumn | Nullable |
The end of the column range in the file where the issues have occurred.
null if the issue affects the whole file, an assembly or only a single column. |
Return Value
Type | Description |
---|---|
IssueBuilder | Issue Builder instance. |