AzureDevOpsPullRequestVote Class

Summary

Defines the vote for a Azure DevOps pull request.
Assembly
Cake.AzureDevOps.dll
Namespace
Cake.AzureDevOps.Repos.PullRequest
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["AzureDevOpsPullRequestVote"] class Type type-node

Syntax

public sealed class AzureDevOpsPullRequestVote : Enum

Fields

Name Constant Value Summary
Approved 10
Approve the changes.
static
ApprovedWithSuggestions 5
Approve the changes but let the author know there are some suggestions.
static
Rejected -10
The changes aren't acceptable.
static
ResetFeedback 0
Reset a previous vote.
static
value__
WaitingForAuthor -5
Do not approve the changes, the author should take some actions.
static

Extension Methods

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