예제 #1
0
 internal GetAction(bool verbose, string jobType, string filePath, JobCache cache)
 {
     this.verbose  = verbose;
     this.jobType  = jobType;
     this.filePath = filePath;
     this.cache    = cache;
 }
예제 #2
0
 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));
 }