5 references to Uri
Microsoft.DotNet.Arcade.Sdk (5)
src\DownloadFile.cs (5)
73if (string.IsNullOrWhiteSpace(Uri) && (Uris == null || Uris.Count() == 0)) 75Log.LogError($"Invalid task parameter value: {nameof(Uri)} and {nameof(Uris)} are empty."); 81if (!string.IsNullOrWhiteSpace(Uri)) 83return DownloadFromUriAsync(Uri, destinationPath).Result; 115Log.LogError($"Failed to download file using addresses in {nameof(Uri)} and/or {nameof(Uris)}.");