UtilGitHubGetReleaseAsync Method
Asynchronously 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 Task<GitHubRelease> GetReleaseAsync(
string userName,
string repositoryName,
Version version
)
Public Shared Function GetReleaseAsync (
userName As String,
repositoryName As String,
version As Version
) As Task(Of GitHubRelease)
Dim userName As String
Dim repositoryName As String
Dim version As Version
Dim returnValue As Task(Of GitHubRelease)
returnValue = UtilGitHub.GetReleaseAsync(userName,
repositoryName, version)
public:
static Task<GitHubRelease^>^ GetReleaseAsync(
String^ userName,
String^ repositoryName,
Version^ version
)
static member GetReleaseAsync :
userName : string *
repositoryName : string *
version : Version -> Task<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.
TaskGitHubRelease
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 = Await GetReleaseAsync("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.