Update MultiInput to IEnumerable

This commit is contained in:
AddyMills 2024-03-01 07:13:55 -06:00
parent 8a764eccc7
commit 8f6d1aa8e9

View file

@ -6,15 +6,15 @@
public class MultiInputArgument : IInputArgument
{
public readonly bool VerifyExists;
public readonly string[] FilePaths;
public readonly IEnumerable<string> FilePaths;
public MultiInputArgument(bool verifyExists, params string[] filePaths)
public MultiInputArgument(bool verifyExists, IEnumerable<string> filePaths)
{
VerifyExists = verifyExists;
FilePaths = filePaths;
}
public MultiInputArgument(string[] filePaths, bool verifyExists) : this(verifyExists, filePaths) { }
public MultiInputArgument(IEnumerable<string> filePaths, bool verifyExists) : this(verifyExists, filePaths) { }
public void Pre()
{