ISupportCheckingCommitId Interface

Summary

Interface describing that a pull request system supports checking if commit ID is still up-to-date.
ISupportCheckingCommitId

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.Issues addin
NotNull<ISupportCheckingCommitId>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp 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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin