/// <summary> /// Sets the download size and URL for the selected release. /// </summary> public void SelectedReleaseChanged() { if (SelectedRelease == null) { return; } var downloadInfo = GithubHelper.GetDownloadInfoForAsset(SelectedRelease); this.DownloadSize = downloadInfo?.DownloadSize; this._downloadUrl = downloadInfo?.DownloadUrl; Log.Information($"Selected release changed to {SelectedRelease.tag_name}"); Log.Information($"Current release asset download size is : {this.DownloadSize} MB"); Log.Information($"Current release asset download URL is : {this._downloadUrl}"); }