IIssueExtensions.

Rule(IIssue) Method

Summary

Returns the name or id of the rule.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
IIssueExtensions

Syntax

public static string Rule(this IIssue issue)

Parameters

Name Type Description
issue IIssue Issue for which the rule should be returned.

Return Value

Type Description
string Returns RuleName if it is set, otherwise RuleId.
GitHub