IssueBuilder.

InFile(string, Nullable<int>) Method

Summary

Sets the path to the file affected by the issue and the line in the file where the issues has occurred.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
IssueBuilder

Syntax

public IssueBuilder InFile(string filePath, Nullable<int> line)

Parameters

Name Type Description
filePath string The path to the file affacted 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.
line Nullable<int> The line in the file where the issues has occurred. null if the issue affects the whole file or an asssembly.

Return Value

Type Description
IssueBuilder Issue Builder instance.
GitHub