AzureDevOpsPullRequestState Class

Summary

Possible states of a pull request.
Assembly
Cake.AzureDevOps.dll
Namespace
Cake.AzureDevOps.Repos.PullRequest
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["AzureDevOpsPullRequestState"] class Type type-node

Syntax

public sealed class AzureDevOpsPullRequestState : Enum

Fields

Name Constant Value Summary
Abandoned 2
Pull request is abandoned.
static
Active 1
Pull request is active.
static
Completed 3
Pull request is completed.
static
NotSet 0
Status is not set.
static
value__

Extension Methods

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