Summary
Settings for aliases handling pull requests.
- Namespace
- Cake
.AzureDevOps .Repos .PullRequest - Base Types
graph BT
Type-->Base0["BaseAzureDevOpsPullRequestSettings"]
click Base0 "/Cake.AzureDevOps/api/Cake.AzureDevOps.Repos.PullRequest/BaseAzureDevOpsPullRequestSettings"
Base0-->Base1["BaseAzureDevOpsCredentialsSettings"]
click Base1 "/Cake.AzureDevOps/api/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings"
Base1-->Base2["object"]
Type["AzureDevOpsPullRequestSettings"]
class Type type-node
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 | int? |
Gets the ID of the pull request.
|
| RepositoryUrl | Uri |
Gets the full URL of the Git repository, eg.
.
Inherited from Base
|
| SourceBranch | string |
Gets the branch for which the pull request is made.
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
|