Show / Hide Table of Contents

    Class GitHubPullRequestSettingsExtensions

    Used within GitHubTasks.

    Inheritance
    System.Object
    GitHubPullRequestSettingsExtensions
    Namespace: Nuke.GitHub
    Assembly: Nuke.GitHub.dll
    Syntax
    public static class GitHubPullRequestSettingsExtensions : object

    Methods

    | Improve this Doc View Source

    ResetBase<T>(T)

    Resets Base

    The name of the branch you want the changes pulled into

    Declaration
    public static T ResetBase<T>(this T toolSettings)
        where T : GitHubPullRequestSettings
    Parameters
    Type Name Description
    T toolSettings
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    ResetBody<T>(T)

    Resets Body

    The optional contents of the pull request

    Declaration
    public static T ResetBody<T>(this T toolSettings)
        where T : GitHubPullRequestSettings
    Parameters
    Type Name Description
    T toolSettings
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    ResetHead<T>(T)

    Resets Head

    The name of the branch where your changes are implemented

    Declaration
    public static T ResetHead<T>(this T toolSettings)
        where T : GitHubPullRequestSettings
    Parameters
    Type Name Description
    T toolSettings
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    ResetTitle<T>(T)

    Resets Title

    The title of the pull request

    Declaration
    public static T ResetTitle<T>(this T toolSettings)
        where T : GitHubPullRequestSettings
    Parameters
    Type Name Description
    T toolSettings
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SetBase<T>(T, String)

    Sets Base

    The name of the branch you want the changes pulled into

    Declaration
    public static T SetBase<T>(this T toolSettings, string base)
        where T : GitHubPullRequestSettings
    Parameters
    Type Name Description
    T toolSettings
    System.String base
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SetBody<T>(T, String)

    Sets Body

    The optional contents of the pull request

    Declaration
    public static T SetBody<T>(this T toolSettings, string body)
        where T : GitHubPullRequestSettings
    Parameters
    Type Name Description
    T toolSettings
    System.String body
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SetHead<T>(T, String)

    Sets Head

    The name of the branch where your changes are implemented

    Declaration
    public static T SetHead<T>(this T toolSettings, string head)
        where T : GitHubPullRequestSettings
    Parameters
    Type Name Description
    T toolSettings
    System.String head
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SetTitle<T>(T, String)

    Sets Title

    The title of the pull request

    Declaration
    public static T SetTitle<T>(this T toolSettings, string title)
        where T : GitHubPullRequestSettings
    Parameters
    Type Name Description
    T toolSettings
    System.String title
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    Back to top © Dangl IT GmbH