Show / Hide Table of Contents

    Class GitHubSettingsExtensions

    Used within GitHubTasks.

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

    Methods

    | Improve this Doc View Source

    ResetRepositoryName<T>(T)

    Resets RepositoryName

    The name of the repository

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

    ResetRepositoryOwner<T>(T)

    Resets RepositoryOwner

    The account under which the repository is hosted

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

    ResetToken<T>(T)

    Resets Token

    The Token for the GitHub API

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

    ResetUrl<T>(T)

    Resets Url

    The URL for GitHub Enterprise

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

    SetRepositoryName<T>(T, String)

    Sets RepositoryName

    The name of the repository

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

    SetRepositoryOwner<T>(T, String)

    Sets RepositoryOwner

    The account under which the repository is hosted

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

    SetToken<T>(T, String)

    Sets Token

    The Token for the GitHub API

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

    SetUrl<T>(T, String)

    Sets Url

    The URL for GitHub Enterprise

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