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
Gets an instance of the file link settings for linking to files
based on a custom pattern.
- Assembly
- Cake
.Issues .dll - Namespace
- Cake
.Issues - Containing Type
- Aliases
Syntax
public static FileLinkSettings IssueFileLinkSettings(this ICakeContext context, string pattern)
Examples
Creates file link settings to an internal source hosting site:
var fileLinkSettings =
IssueFileLinkSettings("https://awesomesource/{FilePath}?line={Line}");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
pattern | string | Pattern of the file link.
See ReplaceIssuePattern(string, IIssue)
for a list of tokens supported in the pattern. |
Return Value
Type | Description |
---|---|
FileLinkSettings | Settings for linking files. |