Class GitHubPullRequestSettingsExtensions
Used within GitHubTasks.
Inheritance
System.Object
GitHubPullRequestSettingsExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Nuke.GitHub
Assembly: Nuke.GitHub.dll
Syntax
[PublicAPI]
public static class GitHubPullRequestSettingsExtensions
Methods
| Improve this Doc View SourceResetBase(GitHubPullRequestSettings)
Resets Base.
The name of the branch you want the changes pulled into
Declaration
[Pure]
public static GitHubPullRequestSettings ResetBase(this GitHubPullRequestSettings toolSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| GitHubPullRequestSettings | toolSettings |
Returns
| Type | Description |
|---|---|
| GitHubPullRequestSettings |
ResetBody(GitHubPullRequestSettings)
Resets Body.
The optional contents of the pull request
Declaration
[Pure]
public static GitHubPullRequestSettings ResetBody(this GitHubPullRequestSettings toolSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| GitHubPullRequestSettings | toolSettings |
Returns
| Type | Description |
|---|---|
| GitHubPullRequestSettings |
ResetHead(GitHubPullRequestSettings)
Resets Head.
The name of the branch where your changes are implemented
Declaration
[Pure]
public static GitHubPullRequestSettings ResetHead(this GitHubPullRequestSettings toolSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| GitHubPullRequestSettings | toolSettings |
Returns
| Type | Description |
|---|---|
| GitHubPullRequestSettings |
ResetTitle(GitHubPullRequestSettings)
Resets Title.
The title of the pull request
Declaration
[Pure]
public static GitHubPullRequestSettings ResetTitle(this GitHubPullRequestSettings toolSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| GitHubPullRequestSettings | toolSettings |
Returns
| Type | Description |
|---|---|
| GitHubPullRequestSettings |
SetBase(GitHubPullRequestSettings, String)
Sets Base.
The name of the branch you want the changes pulled into
Declaration
[Pure]
public static GitHubPullRequestSettings SetBase(this GitHubPullRequestSettings toolSettings, string base)
Parameters
| Type | Name | Description |
|---|---|---|
| GitHubPullRequestSettings | toolSettings | |
| System.String | base |
Returns
| Type | Description |
|---|---|
| GitHubPullRequestSettings |
SetBody(GitHubPullRequestSettings, String)
Sets Body.
The optional contents of the pull request
Declaration
[Pure]
public static GitHubPullRequestSettings SetBody(this GitHubPullRequestSettings toolSettings, string body)
Parameters
| Type | Name | Description |
|---|---|---|
| GitHubPullRequestSettings | toolSettings | |
| System.String | body |
Returns
| Type | Description |
|---|---|
| GitHubPullRequestSettings |
SetHead(GitHubPullRequestSettings, String)
Sets Head.
The name of the branch where your changes are implemented
Declaration
[Pure]
public static GitHubPullRequestSettings SetHead(this GitHubPullRequestSettings toolSettings, string head)
Parameters
| Type | Name | Description |
|---|---|---|
| GitHubPullRequestSettings | toolSettings | |
| System.String | head |
Returns
| Type | Description |
|---|---|
| GitHubPullRequestSettings |
SetTitle(GitHubPullRequestSettings, String)
Sets Title.
The title of the pull request
Declaration
[Pure]
public static GitHubPullRequestSettings SetTitle(this GitHubPullRequestSettings toolSettings, string title)
Parameters
| Type | Name | Description |
|---|---|---|
| GitHubPullRequestSettings | toolSettings | |
| System.String | title |
Returns
| Type | Description |
|---|---|
| GitHubPullRequestSettings |