Пример #1
0
        public static async Task <VersionObject <Release> > GetLatestReleaseAsync()
        {
            var obj = await Releases.GetReleasesAsync(GitHub.GitHub.NUMCRepositoriesName);

            if (obj == null || obj.ResponseObject == null || obj.ResponseObject == null || obj.ResponseObject.Count < 1)
            {
                return(null);
            }

            return(obj.ResponseObject.GetLatestRelease());
        }