FileLinkSettings Class

Summary

Settings how issues should be linked to files.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["FileLinkSettings"] class Type type-node Derived0["FileLinkOptionalSettingsBuilder"]-->Type click Derived0 "/api/Cake.Issues.FileLinking/FileLinkOptionalSettingsBuilder"

Syntax

public class FileLinkSettings

Methods

Name Value Summary
ForAction(Func<IIssue, Uri>) FileLinkSettings
Returns settings to link files based on a custom pattern.
static
ForAzureDevOps(Uri) AzureDevOpsFileLinkSettingsBuilder
Returns builder class for settings for linking to files hosted in Azure DevOps.
static
ForGitHub(Uri) GitHubFileLinkSettingsBuilder
Returns builder class for settings for linking to files hosted in GitHub.
static
ForPattern(string) FileLinkSettings
Returns settings to link files based on a custom pattern.
static
GetFileLink(IIssue) Uri
Returns the URL to the file on the source code hosting system for the issue issue.

Extension Methods

Name Value Summary
NotNull<FileLinkSettings>(string) void
Throws an exception if the specified parameter's value is null.
GitHub