7 references to InputFiles
sdk-tasks (7)
ReplaceFileContents.cs (7)
61if (InputFiles.Length != DestinationFiles.Length) 63throw new Exception($"Expected {nameof(InputFiles)} (length {InputFiles.Length}) and {nameof(DestinationFiles)} (length {DestinationFiles.Length}) to have the same length."); 66var filesNotFound = InputFiles.Where(i => !File.Exists(i.ItemSpec)).Select(i => i.ItemSpec); 73Log.LogMessage(MessageImportance.High, $"ReplacingContents for `{InputFiles.Length}` files."); 75for (var i = 0; i < InputFiles.Length; i++) 77ReplaceContents(InputFiles[i].ItemSpec, DestinationFiles[i].ItemSpec);