BaseCheckingCommitIdCapability<T> Class

Summary

Capability to post issues only if pull request is for a specific commit.
graph BT Type-->Base0["BasePullRequestSystemCapability<T>"] Base0-->Base1["Object"] Type-.->Interface0["ISupportCheckingCommitId"] click Interface0 "/api/Cake.Issues.PullRequests/ISupportCheckingCommitId" Type-.->Interface1["IPullRequestSystemCapability"] click Interface1 "/api/Cake.Issues.PullRequests/IPullRequestSystemCapability" Type["BaseCheckingCommitIdCapability<T>"] class Type type-node

Syntax

public abstract class BaseCheckingCommitIdCapability<T> : BasePullRequestSystemCapability<T>, 
    ISupportCheckingCommitId, IPullRequestSystemCapability
    where T : class, IPullRequestSystem

Type Parameters

Name Description
T Type of the pull request system to which this capability belongs.

Constructors

Name Summary
BaseCheckingCommitIdCapability(ICakeLog, T) Initializes a new instance of the BaseCheckingCommitIdCapability<T> class.

Methods

Name Value Summary
GetLastSourceCommitId() string
Gets the hash of the latest commit on the source branch.

Extension Methods

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