AutoMergeVote Class

Summary

Defines the vote for a Team Foundation Server or Visual Studio Team Services pull request.
Assembly
Cake.Tfs.AutoMerge.dll
Namespace
Cake.Tfs.AutoMerge
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["AutoMergeVote"] class Type type-node

Syntax

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