UtilGitHubGetRelease Method
Gets a release that matches the specified version from the specified repository on GitHub.
Namespace: DevCase.ThirdParty.GitHubAssembly: DevCase.net48.ThirdParty.GitHub (in DevCase.net48.ThirdParty.GitHub.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static GitHubRelease GetRelease(
string userName,
string repositoryName,
Version version
)
Public Shared Function GetRelease (
userName As String,
repositoryName As String,
version As Version
) As GitHubRelease
Dim userName As String
Dim repositoryName As String
Dim version As Version
Dim returnValue As GitHubRelease
returnValue = UtilGitHub.GetRelease(userName,
repositoryName, version)
public:
static GitHubRelease^ GetRelease(
String^ userName,
String^ repositoryName,
Version^ version
)
static member GetRelease :
userName : string *
repositoryName : string *
version : Version -> GitHubRelease
No code example is currently available or this language may not be supported.
- userName String
-
The user name.
- repositoryName String
-
The repository name.
- version Version
-
The version of the release.
GitHubRelease
The resulting
GitHubRelease.
This is a code example.
No code example is currently available or this language may not be supported.
Dim release As GitHubRelease = GetRelease("ElektroStudios", "SmartBotKit", New Version("1.3"))
Console.WriteLine("RELEASE: {0}", release.ToString())
Console.WriteLine()
Console.WriteLine("BODY:")
Console.WriteLine(release.Body)
Console.WriteLine()
For Each asset As GitHubAsset In release.Assets
Console.WriteLine("ASSET: {0}", asset.ToString())
Next asset
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.