This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AzureDevOps.
Summary
Settings for aliases handling pull requests.
- Assembly
- Cake
.AzureDevOps .dll - Namespace
- Cake
.AzureDevOps .Repos .PullRequest - Base Types
- Derived Types
graph BT
Type-->Base0["BaseAzureDevOpsPullRequestSettings"]
click Base0 "/api/Cake.AzureDevOps.Repos.PullRequest/BaseAzureDevOpsPullRequestSettings"
Base0-->Base1["BaseAzureDevOpsCredentialsSettings"]
click Base1 "/api/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings"
Base1-->Base2["Object"]
Type["AzureDevOpsPullRequestSettings"]
class Type type-node
Derived0["AzureDevOpsPullRequestSystemSettings"]-->Type
click Derived0 "/api/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystemSettings"
Syntax
public class AzureDevOpsPullRequestSettings : BaseAzureDevOpsPullRequestSettings
Constructors
Name | Summary |
---|---|
Azure |
Initializes a new instance of the AzureDevOpsPullRequestSettings class
based on the instance of a AzureDevOpsPullRequestSettings class.
|
Azure |
Initializes a new instance of the AzureDevOpsPullRequestSettings class using environment variables
as set by an Azure Pipelines build.
|
Azure |
Initializes a new instance of the AzureDevOpsPullRequestSettings class.
|
Azure |
Initializes a new instance of the AzureDevOpsPullRequestSettings class.
|
Properties
Name | Value | Summary |
---|---|---|
Credentials | I |
Gets the credentials used to authenticate against Azure DevOps.
Inherited from Base
|
PullRequestId | Nullable |
Gets the ID of the pull request.
|
RepositoryUrl | Uri |
Gets the full URL of the Git repository, eg.
.
Inherited from Base
|
SourceRefName | string |
Gets the branch for which the pull request is made.
Inherited from Base
|
Throw |
bool |
Gets or sets a value indicating whether an exception should be thrown if
pull request for
SourceRefName or PullRequestId could not be found.
|
Methods
Name | Value | Summary |
---|---|---|
Using |
Azure |
Constructs the settings object using the access token provided by Azure Pipelines.
static
|
Using |
Azure |
Constructs the settings object using the access token provided by Azure Pipelines.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|