public CustomCommandController(ICustomCommandService customCommandService) { _customCommandService = customCommandService ?? throw new ArgumentNullException(nameof(customCommandService)); }
public IndexModel(ICustomCommandService commandService) { _commandService = commandService; }
public AddModel(ICustomCommandService customCommandService) { _customCommandService = customCommandService; }
public SystemControlService(ILogger <SystemControlService> logger, ICustomCommandService customCommandService) { _logger = logger; _customCommandService = customCommandService; }
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)); }