BasePullRequestSystem Class

Summary

Base class for all pull request system implementations.
graph BT Type-->Base0["BaseIssueComponent<IReportIssuesToPullRequestSettings>"] Base0-->Base1["Object"] Type-.->Interface0["IPullRequestSystem"] click Interface0 "/api/Cake.Issues.PullRequests/IPullRequestSystem" Type-.->Interface1["IBaseIssueComponent<IReportIssuesToPullRequestSettings>"] Type["BasePullRequestSystem"] class Type type-node Derived0["GitHubActionsPullRequestSystem"]-->Type click Derived0 "/api/Cake.Issues.PullRequests.GitHubActions/GitHubActionsPullRequestSystem" Derived1["AppVeyorPullRequestSystem"]-->Type click Derived1 "/api/Cake.Issues.PullRequests.AppVeyor/AppVeyorPullRequestSystem"

Syntax

public abstract class BasePullRequestSystem : 
    BaseIssueComponent<IReportIssuesToPullRequestSettings>, IPullRequestSystem, 
    IBaseIssueComponent<IReportIssuesToPullRequestSettings>

Constructors

Name Summary
BasePullRequestSystem(ICakeLog) Initializes a new instance of the BasePullRequestSystem class.

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.
InternalPostDiscussionThreads(IEnumerable<IIssue>, string) void
Posts discussion threads for all issues which need to be posted. Compared to Cake.Issues.PullRequests.BasePullRequestSystem.PostDiscussionThreads(System.Collections.Generic.IEnumerable{Cake.Issues.IIssue},System.String) it is safe to access Settings from this method.
PostDiscussionThreads(IEnumerable<IIssue>, string) void
Posts discussion threads for all issues which need to be posted.

Extension Methods

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