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;
 }
예제 #4
0
 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));
 }