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