public ManageDeprecationJsonApiController( IPackageService packageService, IPackageDeprecationService deprecationService, IFeatureFlagService featureFlagService) { _packageService = packageService ?? throw new ArgumentNullException(nameof(packageService)); _deprecationService = deprecationService ?? throw new ArgumentNullException(nameof(deprecationService)); _featureFlagService = featureFlagService ?? throw new ArgumentNullException(nameof(featureFlagService)); }
public PackageDeprecationManagementService( IPackageService packageService, IFeatureFlagService featureFlagService, IPackageDeprecationService deprecationService) { _packageService = packageService ?? throw new ArgumentNullException(nameof(packageService)); _featureFlagService = featureFlagService ?? throw new ArgumentNullException(nameof(featureFlagService)); _deprecationService = deprecationService ?? throw new ArgumentNullException(nameof(deprecationService)); }
public ManageDeprecationJsonApiController( IVulnerabilityAutocompleteService vulnerabilityAutocompleteService, IPackageService packageService, IPackageDeprecationService deprecationService, IFeatureFlagService featureFlagService) { _vulnerabilityAutocompleteService = vulnerabilityAutocompleteService ?? throw new ArgumentNullException(nameof(vulnerabilityAutocompleteService)); _packageService = packageService ?? throw new ArgumentNullException(nameof(packageService)); _deprecationService = deprecationService ?? throw new ArgumentNullException(nameof(deprecationService)); _featureFlagService = featureFlagService ?? throw new ArgumentNullException(nameof(featureFlagService)); }