Summary
Registers a new URL resolver with default priority of 0.
Syntax
public static void MarkdownlintAddRuleUrlResolver(this ICakeContext context, Func<MarkdownlintRuleDescription, Uri> resolver)
Examples
Adds a provider with default priority of 0 returning a link for all rules with Id smaller than 20 to
search with Google for the rule:
MarkdownlintAddRuleUrlResolver(x =>
x.RuleId < 20 ?
new Uri("https://www.google.com/search?q=%22" + x.Rule + ":%22+") :
null)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Return Value