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