internal GetAction(bool verbose, string jobType, string filePath, JobCache cache) { this.verbose = verbose; this.jobType = jobType; this.filePath = filePath; this.cache = cache; }
public ListAction(bool verbose, bool json, JobCache cache, JsonSchema schema) { this.verbose = verbose; this.json = json; this.cache = cache ?? throw new ArgumentNullException(nameof(cache)); this.schema = schema ?? throw new ArgumentNullException(nameof(schema)); }