Class GitHubSettingsExtensions
Inheritance
System.Object
GitHubSettingsExtensions
Assembly: Nuke.GitHub.dll
Syntax
public static class GitHubSettingsExtensions : object
Methods
|
Improve this Doc
View Source
ResetRepositoryName<T>(T)
Declaration
public static T ResetRepositoryName<T>(this T toolSettings)
where T : GitHubSettings
Parameters
| Type |
Name |
Description |
| T |
toolSettings |
|
Returns
Type Parameters
|
Improve this Doc
View Source
ResetRepositoryOwner<T>(T)
Declaration
public static T ResetRepositoryOwner<T>(this T toolSettings)
where T : GitHubSettings
Parameters
| Type |
Name |
Description |
| T |
toolSettings |
|
Returns
Type Parameters
|
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 Parameters
|
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 Parameters
|
Improve this Doc
View Source
SetRepositoryName<T>(T, String)
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 Parameters
|
Improve this Doc
View Source
SetRepositoryOwner<T>(T, String)
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 Parameters
|
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 Parameters
|
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 Parameters