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