IPullRequestSystem Interface

Summary

Interface describing a pull request server.
graph BT Type-.->Interface0["IBaseIssueComponent<IReportIssuesToPullRequestSettings>"] Type["IPullRequestSystem"] class Type type-node Implementing0["BasePullRequestSystem"]-.->Type click Implementing0 "/api/Cake.Issues.PullRequests/BasePullRequestSystem" Implementing1["AppVeyorPullRequestSystem"]-.->Type click Implementing1 "/api/Cake.Issues.PullRequests.AppVeyor/AppVeyorPullRequestSystem" Implementing2["GitHubActionsPullRequestSystem"]-.->Type click Implementing2 "/api/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem"

Syntax

public interface IPullRequestSystem : IBaseIssueComponent<IReportIssuesToPullRequestSettings>

Methods

Name Value Summary
AddCapability(IPullRequestSystemCapability) void
Adds a capability.
GetCapability<T>() T
Returns the instance of a specific capability.
HasCapability<T>() bool
Checks if a pull request has a specific capability.
PostDiscussionThreads(IEnumerable<IIssue>, string) void
Posts discussion threads for all issues which need to be posted.

Extension Methods

Name Value Summary
Dump<IPullRequestSystem>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IPullRequestSystem>(IPullRequestSystem[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IPullRequestSystem>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<IPullRequestSystem>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<IPullRequestSystem>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<IPullRequestSystem>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin