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
Extensions for
IIssue
.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["IIssueExtensions"]
class Type type-node
Syntax
public static class IIssueExtensions
Methods
Name | Value | Summary |
---|---|---|
FileDirectory |
string |
Returns the directory of the
AffectedFileRelativePath .
static
|
FileName |
string |
Returns the name of the file of the
AffectedFileRelativePath .
static
|
FilePath |
string |
Returns the full path of the
AffectedFileRelativePath .
static
|
LineRange |
string |
Returns the line range in the format
{Line}:{Column}-{EndLine}:{EndColumn} .
static
|
LineRange |
string |
Returns the line and column range in the format
{Line}:{Column}-{EndLine}:{EndColumn} .
static
|
Message |
string |
Gets the message of the issue in a specific format.
If the message is not available in the specific format, the message in
text format will be returned.
static
|
ProjectDirectory |
string |
Returns the directory of the
ProjectFileRelativePath .
static
|
ProjectPath |
string |
Returns the full path of
ProjectFileRelativePath or null .
static
|
ReplaceIssuePattern |
string |
Returns a string with all patterns replaced by the values of issue.
static
|
Rule |
string |
Returns the name or id of the rule.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|