1 write to ReplacementStrings
sdk-tasks (1)
ReplaceFileContents.cs (1)
54ReplacementStrings = ReplacementStrings ?? Array.Empty<ITaskItem>();
6 references to ReplacementStrings
sdk-tasks (6)
ReplaceFileContents.cs (6)
47if (ReplacementItems == null && ReplacementPatterns == null && ReplacementStrings == null) 54ReplacementStrings = ReplacementStrings ?? Array.Empty<ITaskItem>(); 56if (ReplacementPatterns.Length != ReplacementStrings.Length) 58throw new Exception($"Expected {nameof(ReplacementPatterns)} (length {ReplacementPatterns.Length}) and {nameof(ReplacementStrings)} (length {ReplacementStrings.Length}) to have the same length."); 112var replacementString = ReplacementStrings[i].ItemSpec;