public CuratedPackagesController(
     ICuratedFeedService curatedFeedService,
     IEntitiesContext entitiesContext)
 {
     this.CuratedFeedService = curatedFeedService;
     this.EntitiesContext    = entitiesContext;
 }
 public CuratedPackagesController(
     ICuratedFeedService curatedFeedService,
     IEntitiesContext entitiesContext)
 {
     this.CuratedFeedService = curatedFeedService;
     this.EntitiesContext = entitiesContext;
 }
Exemple #3
0
 public UsersController(
     ICuratedFeedService feedsQuery,
     IUserService userService,
     IPackageService packageService,
     IPackageOwnerRequestService packageOwnerRequestService,
     IMessageService messageService,
     IAppConfiguration config,
     AuthenticationService authService,
     ICredentialBuilder credentialBuilder,
     IDeleteAccountService deleteAccountService,
     ISupportRequestService supportRequestService,
     ITelemetryService telemetryService,
     ISecurityPolicyService securityPolicyService,
     ICertificateService certificateService,
     IContentObjectService contentObjectService)
     : base(
         authService,
         feedsQuery,
         packageService,
         messageService,
         userService,
         telemetryService,
         securityPolicyService,
         certificateService,
         contentObjectService)
 {
     _packageOwnerRequestService = packageOwnerRequestService ?? throw new ArgumentNullException(nameof(packageOwnerRequestService));
     _config                = config ?? throw new ArgumentNullException(nameof(config));
     _credentialBuilder     = credentialBuilder ?? throw new ArgumentNullException(nameof(credentialBuilder));
     _deleteAccountService  = deleteAccountService ?? throw new ArgumentNullException(nameof(deleteAccountService));
     _supportRequestService = supportRequestService ?? throw new ArgumentNullException(nameof(supportRequestService));
 }
 public OrganizationsController(
     AuthenticationService authService,
     ICuratedFeedService curatedFeedService,
     IMessageService messageService,
     IUserService userService)
     : base(authService, curatedFeedService, messageService, userService)
 {
 }
 public CuratedPackagesController(
     ICuratedFeedService curatedFeedService,
     IEntitiesContext entitiesContext,
     IAutomaticallyCuratePackageCommand autoCuratedPackageCmd)
 {
     this.CuratedFeedService = curatedFeedService;
     this.EntitiesContext = entitiesContext;
     this.AutoCuratedPackageCmd = autoCuratedPackageCmd;
 }
Exemple #6
0
 public CuratedPackagesController(
     ICuratedFeedService curatedFeedService,
     IEntitiesContext entitiesContext,
     IAutomaticallyCuratePackageCommand autoCuratedPackageCmd)
 {
     this.CuratedFeedService    = curatedFeedService;
     this.EntitiesContext       = entitiesContext;
     this.AutoCuratedPackageCmd = autoCuratedPackageCmd;
 }
 public AccountsController(
     AuthenticationService authenticationService,
     ICuratedFeedService curatedFeedService,
     IMessageService messageService,
     IUserService userService)
 {
     AuthenticationService = authenticationService ?? throw new ArgumentNullException(nameof(authenticationService));
     CuratedFeedService    = curatedFeedService ?? throw new ArgumentNullException(nameof(curatedFeedService));
     MessageService        = messageService ?? throw new ArgumentNullException(nameof(messageService));
     UserService           = userService ?? throw new ArgumentNullException(nameof(userService));
 }
Exemple #8
0
 public ODataV2CuratedFeedController(
     IEntitiesContext entities,
     IGalleryConfigurationService configurationService,
     ISearchService searchService,
     ICuratedFeedService curatedFeedService)
     : base(configurationService)
 {
     _entities             = entities;
     _configurationService = configurationService;
     _searchService        = searchService;
     _curatedFeedService   = curatedFeedService;
 }
 public ODataV2CuratedFeedController(
     IEntitiesContext entities,
     IGalleryConfigurationService configurationService,
     ISearchService searchService,
     ICuratedFeedService curatedFeedService)
     : base(configurationService)
 {
     _entities = entities;
     _configurationService = configurationService;
     _searchService = searchService;
     _curatedFeedService = curatedFeedService;
 }
 public ODataV2CuratedFeedController(
     IGalleryConfigurationService configurationService,
     ISearchService searchService,
     ICuratedFeedService curatedFeedService,
     IEntityRepository <Package> packagesRepository)
     : base(configurationService)
 {
     _configurationService = configurationService;
     _searchService        = searchService;
     _curatedFeedService   = curatedFeedService;
     _packagesRepository   = packagesRepository;
 }
        public UsersController(
            ICuratedFeedService feedsQuery,
            IUserService userService,
            IPackageService packageService,
            IMessageService messageService,
            IAppConfiguration config,
            AuthenticationService authService,
            ICredentialBuilder credentialBuilder)
        {
            if (feedsQuery == null)
            {
                throw new ArgumentNullException(nameof(feedsQuery));
            }

            if (userService == null)
            {
                throw new ArgumentNullException(nameof(userService));
            }

            if (packageService == null)
            {
                throw new ArgumentNullException(nameof(packageService));
            }

            if (messageService == null)
            {
                throw new ArgumentNullException(nameof(messageService));
            }

            if (config == null)
            {
                throw new ArgumentNullException(nameof(config));
            }

            if (authService == null)
            {
                throw new ArgumentNullException(nameof(authService));
            }

            if (credentialBuilder == null)
            {
                throw new ArgumentNullException(nameof(credentialBuilder));
            }

            _curatedFeedService = feedsQuery;
            _userService        = userService;
            _packageService     = packageService;
            _messageService     = messageService;
            _config             = config;
            _authService        = authService;
            _credentialBuilder  = credentialBuilder;
        }
        public UsersController(
            ICuratedFeedService feedsQuery,
            IUserService userService,
            IPackageService packageService,
            IMessageService messageService,
            IAppConfiguration config,
            AuthenticationService authService,
            ICredentialBuilder credentialBuilder)
        {
            if (feedsQuery == null)
            {
                throw new ArgumentNullException(nameof(feedsQuery));
            }

            if (userService == null)
            {
                throw new ArgumentNullException(nameof(userService));
            }

            if (packageService == null)
            {
                throw new ArgumentNullException(nameof(packageService));
            }

            if (messageService == null)
            {
                throw new ArgumentNullException(nameof(messageService));
            }

            if (config == null)
            {
                throw new ArgumentNullException(nameof(config));
            }

            if (authService == null)
            {
                throw new ArgumentNullException(nameof(authService));
            }

            if (credentialBuilder == null)
            {
                throw new ArgumentNullException(nameof(credentialBuilder));
            }

            _curatedFeedService = feedsQuery;
            _userService = userService;
            _packageService = packageService;
            _messageService = messageService;
            _config = config;
            _authService = authService;
            _credentialBuilder = credentialBuilder;
        }
 public UsersController(
     ICuratedFeedService feedsQuery,
     IUserService userService,
     IPackageService packageService,
     IMessageService messageService,
     IAppConfiguration config) : this()
 {
     CuratedFeedService = feedsQuery;
     UserService = userService;
     PackageService = packageService;
     MessageService = messageService;
     Config = config;
 }
 public UsersController(
     ICuratedFeedService feedsQuery,
     IUserService userService,
     IPackageService packageService,
     IMessageService messageService,
     IAppConfiguration config,
     IPrincipal currentUser) : this()
 {
     CuratedFeedService = feedsQuery;
     UserService        = userService;
     PackageService     = packageService;
     MessageService     = messageService;
     Config             = config;
     CurrentUser        = currentUser;
 }
Exemple #15
0
 public PackageService(
     IEntityRepository <PackageRegistration> packageRegistrationRepository,
     IEntityRepository <Package> packageRepository,
     IEntityRepository <PackageStatistics> packageStatsRepository,
     IEntityRepository <PackageOwnerRequest> packageOwnerRequestRepository,
     IIndexingService indexingService,
     ICuratedFeedService curatedFeedService)
 {
     _packageRegistrationRepository = packageRegistrationRepository;
     _packageRepository             = packageRepository;
     _packageStatsRepository        = packageStatsRepository;
     _packageOwnerRequestRepository = packageOwnerRequestRepository;
     _indexingService    = indexingService;
     _curatedFeedService = curatedFeedService;
 }
 public PackageService(
     IEntityRepository<PackageRegistration> packageRegistrationRepository,
     IEntityRepository<Package> packageRepository,
     IEntityRepository<PackageStatistics> packageStatsRepository,
     IEntityRepository<PackageOwnerRequest> packageOwnerRequestRepository,
     IIndexingService indexingService,
     ICuratedFeedService curatedFeedService)
 {
     _packageRegistrationRepository = packageRegistrationRepository;
     _packageRepository = packageRepository;
     _packageStatsRepository = packageStatsRepository;
     _packageOwnerRequestRepository = packageOwnerRequestRepository;
     _indexingService = indexingService;
     _curatedFeedService = curatedFeedService;
 }
 public UsersController(
     ICuratedFeedService feedsQuery,
     IUserService userService,
     IPackageService packageService,
     IMessageService messageService,
     IAppConfiguration config,
     AuthenticationService authService)
 {
     CuratedFeedService = feedsQuery;
     UserService = userService;
     PackageService = packageService;
     MessageService = messageService;
     Config = config;
     AuthService = authService;
 }
 public UsersController(
     ICuratedFeedService feedsQuery,
     IUserService userService,
     IPackageService packageService,
     IMessageService messageService,
     IAppConfiguration config,
     AuthenticationService authService)
 {
     CuratedFeedService = feedsQuery;
     UserService        = userService;
     PackageService     = packageService;
     MessageService     = messageService;
     Config             = config;
     AuthService        = authService;
 }
Exemple #19
0
 public UsersController(
     ICuratedFeedService feedsQuery,
     IUserService userService,
     IPackageService packageService,
     IMessageService messageService,
     IConfiguration config,
     IPrincipal currentUser) : this()
 {
     CuratedFeedService = feedsQuery;
     UserService = userService;
     PackageService = packageService;
     MessageService = messageService;
     Config = config;
     CurrentUser = currentUser;
 }
Exemple #20
0
 public AccountsController(
     AuthenticationService authenticationService,
     ICuratedFeedService curatedFeedService,
     IPackageService packageService,
     IMessageService messageService,
     IUserService userService,
     ITelemetryService telemetryService,
     ISecurityPolicyService securityPolicyService,
     ICertificateService certificateService)
 {
     AuthenticationService = authenticationService ?? throw new ArgumentNullException(nameof(authenticationService));
     CuratedFeedService    = curatedFeedService ?? throw new ArgumentNullException(nameof(curatedFeedService));
     PackageService        = packageService ?? throw new ArgumentNullException(nameof(packageService));
     MessageService        = messageService ?? throw new ArgumentNullException(nameof(messageService));
     UserService           = userService ?? throw new ArgumentNullException(nameof(userService));
     TelemetryService      = telemetryService ?? throw new ArgumentNullException(nameof(telemetryService));
     SecurityPolicyService = securityPolicyService ?? throw new ArgumentNullException(nameof(securityPolicyService));
     CertificateService    = certificateService ?? throw new ArgumentNullException(nameof(certificateService));
 }
 public UsersController(
     ICuratedFeedService feedsQuery,
     IUserService userService,
     IPackageService packageService,
     IPackageOwnerRequestService packageOwnerRequestService,
     IMessageService messageService,
     IAppConfiguration config,
     AuthenticationService authService,
     ICredentialBuilder credentialBuilder,
     IDeleteAccountService deleteAccountService)
 {
     _curatedFeedService         = feedsQuery ?? throw new ArgumentNullException(nameof(feedsQuery));
     _userService                = userService ?? throw new ArgumentNullException(nameof(userService));
     _packageService             = packageService ?? throw new ArgumentNullException(nameof(packageService));
     _packageOwnerRequestService = packageOwnerRequestService ?? throw new ArgumentNullException(nameof(packageOwnerRequestService));
     _messageService             = messageService ?? throw new ArgumentNullException(nameof(messageService));
     _config               = config ?? throw new ArgumentNullException(nameof(config));
     _authService          = authService ?? throw new ArgumentNullException(nameof(authService));
     _credentialBuilder    = credentialBuilder ?? throw new ArgumentNullException(nameof(credentialBuilder));
     _deleteAccountService = deleteAccountService ?? throw new ArgumentNullException(nameof(deleteAccountService));
 }
 public OrganizationsController(
     AuthenticationService authService,
     ICuratedFeedService curatedFeedService,
     IMessageService messageService,
     IUserService userService,
     ITelemetryService telemetryService,
     ISecurityPolicyService securityPolicyService,
     ICertificateService certificateService,
     IPackageService packageService,
     IDeleteAccountService deleteAccountService)
     : base(
         authService,
         curatedFeedService,
         packageService,
         messageService,
         userService,
         telemetryService,
         securityPolicyService,
         certificateService)
 {
     DeleteAccountService = deleteAccountService;
 }
 public V2CuratedFeed(IEntitiesContext entities, IEntityRepository <Package> repo, ConfigurationService configuration, ISearchService searchService, ICuratedFeedService curatedFeedService)
     : base(entities, repo, configuration, searchService)
 {
     _curatedFeedService = curatedFeedService;
 }
Exemple #24
0
 public AutomaticPackageCurator(ICuratedFeedService curatedFeedService)
 {
     CuratedFeedService = curatedFeedService;
 }
Exemple #25
0
 public AutomaticallyCuratePackageCommand(IEntitiesContext entities, ICuratedFeedService curatedFeedService)
     : base(entities)
 {
     this.curatedFeedService = curatedFeedService;
 }
 public CuratedFeedsController(ICuratedFeedService curatedFeedService,
                               ISearchService searchService)
 {
     CuratedFeedService = curatedFeedService;
     SearchService      = searchService;
 }
 public AutomaticallyCuratePackageCommand(IEntitiesContext entities, ICuratedFeedService curatedFeedService)
     : base(entities)
 {
     this.curatedFeedService = curatedFeedService;
 }
 protected TagBasedPackageCurator(ICuratedFeedService curatedFeedService)
     : base(curatedFeedService)
 {
 }
 public CuratedFeedsController(ICuratedFeedService curatedFeedService,
     ISearchService searchService)
 {
     CuratedFeedService = curatedFeedService;
     SearchService = searchService;
 }
 public WebMatrixPackageCurator(ICuratedFeedService curatedFeedService)
     : base(curatedFeedService)
 {
 }
Exemple #31
0
 public CuratedPackagesController(ICuratedFeedService curatedFeedService)
 {
     this.CuratedFeedService = curatedFeedService;
 }
 public V2CuratedFeed(ICuratedFeedService curatedFeedService)
     : base()
 {
     _curatedFeedService = curatedFeedService;
 }
Exemple #33
0
 public Windows8PackageCurator(ICuratedFeedService curatedFeedService)
     : base(curatedFeedService)
 {
 }
 public Windows8PackageCurator(ICuratedFeedService curatedFeedService)
     : base(curatedFeedService)
 {
 }
 public WebMatrixPackageCurator(ICuratedFeedService curatedFeedService)
     : base(curatedFeedService)
 {
 }
 protected TagBasedPackageCurator(ICuratedFeedService curatedFeedService)
     : base(curatedFeedService)
 {
 }
 public AutomaticPackageCurator(ICuratedFeedService curatedFeedService)
 {
     CuratedFeedService = curatedFeedService;
 }