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
Dump<ISupportCheckingCommitId>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsCurrentCommitId(string) bool
Checks if a specific commit hash is the last commit on the source branch of a pull request.
Requires the Cake.Issues.PullRequests addin
IsIn<ISupportCheckingCommitId>(ISupportCheckingCommitId[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ISupportCheckingCommitId>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ISupportCheckingCommitId>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<ISupportCheckingCommitId>(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
ThrowIfNull<ISupportCheckingCommitId>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin