UtilGitHubGetReleasesAsync Method
Asynchronously gets the releases 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<ReadOnlyCollection<GitHubRelease>> GetReleasesAsync(
string userName,
string repositoryName
)
Public Shared Function GetReleasesAsync (
userName As String,
repositoryName As String
) As Task(Of ReadOnlyCollection(Of GitHubRelease))
Dim userName As String
Dim repositoryName As String
Dim returnValue As Task(Of ReadOnlyCollection(Of GitHubRelease))
returnValue = UtilGitHub.GetReleasesAsync(userName,
repositoryName)
public:
static Task<ReadOnlyCollection<GitHubRelease^>^>^ GetReleasesAsync(
String^ userName,
String^ repositoryName
)
static member GetReleasesAsync :
userName : string *
repositoryName : string -> Task<ReadOnlyCollection<GitHubRelease>>
No code example is currently available or this language may not be supported.
- userName String
-
The user name.
- repositoryName String
-
The repository name.
TaskReadOnlyCollectionGitHubRelease
A
TaskTResult containing the releases.
This is a code example.
No code example is currently available or this language may not be supported.
Dim releases As ReadOnlyCollection(Of GitHubRelease) = Await GetReleasesAsync("ElektroStudios", "SmartBotKit")
For Each release As GitHubRelease In releases
Console.WriteLine("RELEASE: {0}", release.ToString())
For Each asset As GitHubAsset In release.Assets
Console.WriteLine("ASSET : {0}", asset.ToString())
Next asset
Console.WriteLine()
Next release
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.