ISupportCheckingCommitId Interface

Summary

Interface describing that a pull request system supports checking if commit Id is still up to date.
graph BT Type-.->Interface0["IPullRequestSystemCapability"] click Interface0 "/api/Cake.Issues.PullRequests/IPullRequestSystemCapability" Type["ISupportCheckingCommitId"] class Type type-node Implementing0["BaseCheckingCommitIdCapability<T>"]-.->Type click Implementing0 "/api/Cake.Issues.PullRequests/BaseCheckingCommitIdCapability_1"

Syntax

public interface ISupportCheckingCommitId : IPullRequestSystemCapability

Methods

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

Extension Methods

Name Value Summary
IsCurrentCommitId(string) bool
Checks if a specific commit hash is the last commit on the source branch of a pull request.
NotNull<ISupportCheckingCommitId>(string) void
Throws an exception if the specified parameter's value is null.
GitHub