TfsPullRequestSettings Class

Summary

Settings for TfsPullRequestSystem.
Assembly
Cake.Prca.PullRequests.Tfs.dll
Namespace
Cake.Prca.PullRequests.Tfs
Base Types
  • object
graph TD Base0["object"]-->Type Type["TfsPullRequestSettings"] class Type type-node

Syntax

public class TfsPullRequestSettings

Constructors

Name Summary
TfsPullRequestSettings(Uri, int, IPrcaCredentials) Initializes a new instance of the TfsPullRequestSettings class.
TfsPullRequestSettings(Uri, string, IPrcaCredentials) Initializes a new instance of the TfsPullRequestSettings class.

Properties

Name Value Summary
Credentials IPrcaCredentials
Gets the credentials used to authenticate against Team Foundation Server or Visual Studio Team Services.
PullRequestId Nullable<T>
Gets the ID of the pull request.
RepositoryUrl Uri
Gets the full URL of the Git repository, eg.
http://myserver:8080/tfs/defaultcollection/myproject/_git/myrepository
.
SourceBranch string
Gets the branch for which the pull request is made.
ThrowExceptionIfPullRequestDoesNotExist bool
Gets or sets a value indicating whether an exception should be thrown if no pull request exists or not.

Extension Methods

Name Value Summary
NotNull<TfsPullRequestSettings>(string) void
Throws an exception if the specified parameter's value is null.
GitHub