コード例 #1
0
 public AttrSubcommand(Primary app, ILogger <AttrSubcommand> logger)
 {
     _app    = app ?? throw new ArgumentNullException(nameof(app));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
コード例 #2
0
 public SubCommand1(Primary app)
 {
     _app = app ?? throw new ArgumentNullException(nameof(app));
 }