コード例 #1
0
 public SymbolsValidatorMessageHandler(ILogger <SymbolsValidatorMessageHandler> logger,
                                       ISymbolsValidatorService symbolValidatorService,
                                       IValidatorStateService validatorStateService)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _symbolValidatorService = symbolValidatorService ?? throw new ArgumentNullException(nameof(symbolValidatorService));
     _validatorStateService  = validatorStateService ?? throw new ArgumentNullException(nameof(validatorStateService));
 }
コード例 #2
0
 public SymbolsValidatorMessageHandler(
     ISymbolsValidatorService symbolValidatorService,
     IValidatorStateService validatorStateService,
     IPackageValidationEnqueuer validationEnqueuer,
     IFeatureFlagService featureFlagService,
     ILogger <SymbolsValidatorMessageHandler> logger)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _symbolValidatorService = symbolValidatorService ?? throw new ArgumentNullException(nameof(symbolValidatorService));
     _validatorStateService  = validatorStateService ?? throw new ArgumentNullException(nameof(validatorStateService));
     _validationEnqueuer     = validationEnqueuer ?? throw new ArgumentNullException(nameof(validationEnqueuer));
     _featureFlagService     = featureFlagService ?? throw new ArgumentNullException(nameof(featureFlagService));
 }