Show / Hide Table of Contents

    Class GitHubSettingsExtensions

    Used within GitHubTasks.

    Inheritance
    System.Object
    GitHubSettingsExtensions
    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 GitHubSettingsExtensions

    Methods

    | Improve this Doc View Source

    ResetRepositoryName(GitHubSettings)

    Resets RepositoryName.

    The name of the repository

    Declaration
    [Pure]
    public static GitHubSettings ResetRepositoryName(this GitHubSettings toolSettings)
    Parameters
    Type Name Description
    GitHubSettings toolSettings
    Returns
    Type Description
    GitHubSettings
    | Improve this Doc View Source

    ResetRepositoryName<T>(T)

    Resets RepositoryName.

    The name of the repository

    Declaration
    [Pure]
    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(GitHubSettings)

    Resets RepositoryOwner.

    The account under which the repository is hosted

    Declaration
    [Pure]
    public static GitHubSettings ResetRepositoryOwner(this GitHubSettings toolSettings)
    Parameters
    Type Name Description
    GitHubSettings toolSettings
    Returns
    Type Description
    GitHubSettings
    | Improve this Doc View Source

    ResetRepositoryOwner<T>(T)

    Resets RepositoryOwner.

    The account under which the repository is hosted

    Declaration
    [Pure]
    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(GitHubSettings)

    Resets Token.

    The Token for the GitHub API

    Declaration
    [Pure]
    public static GitHubSettings ResetToken(this GitHubSettings toolSettings)
    Parameters
    Type Name Description
    GitHubSettings toolSettings
    Returns
    Type Description
    GitHubSettings
    | Improve this Doc View Source

    ResetToken<T>(T)

    Resets Token.

    The Token for the GitHub API

    Declaration
    [Pure]
    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

    SetRepositoryName(GitHubSettings, String)

    Sets RepositoryName.

    The name of the repository

    Declaration
    [Pure]
    public static GitHubSettings SetRepositoryName(this GitHubSettings toolSettings, string repositoryName)
    Parameters
    Type Name Description
    GitHubSettings toolSettings
    System.String repositoryName
    Returns
    Type Description
    GitHubSettings
    | Improve this Doc View Source

    SetRepositoryName<T>(T, String)

    Sets RepositoryName.

    The name of the repository

    Declaration
    [Pure]
    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(GitHubSettings, String)

    Sets RepositoryOwner.

    The account under which the repository is hosted

    Declaration
    [Pure]
    public static GitHubSettings SetRepositoryOwner(this GitHubSettings toolSettings, string repositoryOwner)
    Parameters
    Type Name Description
    GitHubSettings toolSettings
    System.String repositoryOwner
    Returns
    Type Description
    GitHubSettings
    | Improve this Doc View Source

    SetRepositoryOwner<T>(T, String)

    Sets RepositoryOwner.

    The account under which the repository is hosted

    Declaration
    [Pure]
    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(GitHubSettings, String)

    Sets Token.

    The Token for the GitHub API

    Declaration
    [Pure]
    public static GitHubSettings SetToken(this GitHubSettings toolSettings, string token)
    Parameters
    Type Name Description
    GitHubSettings toolSettings
    System.String token
    Returns
    Type Description
    GitHubSettings
    | Improve this Doc View Source

    SetToken<T>(T, String)

    Sets Token.

    The Token for the GitHub API

    Declaration
    [Pure]
    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
    Back to top © Dangl IT - Georg Dangl