public CustomCommandController(ICustomCommandService customCommandService)
 {
     _customCommandService = customCommandService ?? throw new ArgumentNullException(nameof(customCommandService));
 }
示例#2
0
 public IndexModel(ICustomCommandService commandService)
 {
     _commandService = commandService;
 }
示例#3
0
 public AddModel(ICustomCommandService customCommandService)
 {
     _customCommandService = customCommandService;
 }
 public SystemControlService(ILogger <SystemControlService> logger, ICustomCommandService customCommandService)
 {
     _logger = logger;
     _customCommandService = customCommandService;
 }
示例#5
0
 public CustomCommandConfigurationService(IFileSystemService fileSystemService, IJsonSerializerService jsonSerializerService, ICustomCommandService customCommandService)
 {
     _fileSystemService     = fileSystemService ?? throw new ArgumentNullException(nameof(fileSystemService));
     _jsonSerializerService = jsonSerializerService ?? throw new ArgumentNullException(nameof(jsonSerializerService));
     _customCommandService  = customCommandService ?? throw new ArgumentNullException(nameof(customCommandService));
 }