AzureDevOpsCommit Class

Summary

Description of a commit.
Assembly
Cake.AzureDevOps.dll
Namespace
Cake.AzureDevOps.Repos
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["AzureDevOpsCommit"] class Type type-node

Syntax

public class AzureDevOpsCommit

Properties

Name Value Summary
Id string
Gets the ID (SHA-1) of the commit.
IsMessageTruncated bool
Gets a value indicating whether the comment is truncated from the full Git commit comment message or not.
Message string
Gets the Comment or message of the commit.
ParentIds IEnumerable<string>
Gets the parent commit IDs of the commit.
RemoteUrl string
Gets the remote URL path to the commit.

Extension Methods

Name Value Summary
Dump<AzureDevOpsCommit>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AzureDevOpsCommit>(AzureDevOpsCommit[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AzureDevOpsCommit>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AzureDevOpsCommit>(string) void
Requires the Cake.Issues addin
ThrowIfNull<AzureDevOpsCommit>(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<AzureDevOpsCommit>(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
Requires the Cake.Issues addin