public PackageAuthenticationController(IUserkeyPackageService userkeyPackageService, IUserkeyService userKeyService,
     IAdminPackagePrivilegeChecker packagePrivilegeChecker, IParameterFormatValidator parameterFormatValidator) {
     _userkeyPackageService = userkeyPackageService;
     _packagePrivilegeChecker = packagePrivilegeChecker;
     _parameterFormatValidator = parameterFormatValidator;
     _userKeyService = userKeyService;
 }
        public PackageIdExpirationCoordinator(IRepository<UserkeyPackage> userkeyPackageRepository, IODataContext oDataContext,
            IGalleryPackageService galleryPackageService, IUserkeyPackageService userkeyPackageService,
            IExpiredPackageIdNotifier expiredPackageIdNotifier) {
            _userkeyPackageRepository = userkeyPackageRepository;
            _oDataContext = oDataContext;
            _galleryPackageService = galleryPackageService;
            _userkeyPackageService = userkeyPackageService;
            _expiredPackageIdNotifier = expiredPackageIdNotifier;

            Logger = NullLogger.Instance;
        }
        public RegisteredPackageIdGetter(IUserkeyPackageService userkeyPackageService, IPackageService packageService, IOrchardServices orchardServices,
            IUserkeyService userkeyService, IGalleryPackageService galleryPackageService, ITaxonomyService taxonomyService) {
            _userkeyPackageService = userkeyPackageService;
            _packageService = packageService;
            _orchardServices = orchardServices;
            _userkeyService = userkeyService;
            _galleryPackageService = galleryPackageService;
            _taxonomyService = taxonomyService;

            _taxonomy = _taxonomyService.GetTaxonomyBySlug("PackageTypes");
        }
        public ContactOwnersController(IOrchardServices orchardServices, IMessageManager messageManager, IPackageService packageService,
            IUserkeyPackageService userkeyPackageService, IParameterFormatValidator parameterFormatValidator, IPackageVisitTracker packageVisitTracker) {
            _orchardServices = orchardServices;
            _packageVisitTracker = packageVisitTracker;
            _messageManager = messageManager;
            _packageService = packageService;
            _userkeyPackageService = userkeyPackageService;
            _parameterFormatValidator = parameterFormatValidator;

            T = NullLocalizer.Instance;
        }
        public UploadPackageController(IAuthenticationService authenticationService, IUserkeyPackageService userkeyPackageService,
            IUserkeyService userkeyService, IOrchardServices orchardServices, IGalleryPackageService galleryPackageService, IParameterFormatValidator parameterFormatValidator) {
            _authenticationService = authenticationService;
            _galleryPackageService = galleryPackageService;
            _parameterFormatValidator = parameterFormatValidator;
            _orchardServices = orchardServices;
            _userkeyService = userkeyService;

            T = NullLocalizer.Instance;
            _userId = new Lazy<int>(() => _authenticationService.GetAuthenticatedUser().Id);
        }
        public ManagePackageOwnersController(IUserkeyPackageService userkeyPackageService, IAuthenticationService authenticationService,
            IMembershipService membershipService, IOrchardServices orchardServices,
            IUserPackageAuthorizer userPackageAuthorizer, IParameterFormatValidator parameterFormatValidator) {
            _userkeyPackageService = userkeyPackageService;
            _userPackageAuthorizer = userPackageAuthorizer;
            _parameterFormatValidator = parameterFormatValidator;
            _orchardServices = orchardServices;
            _membershipService = membershipService;
            _authenticationService = authenticationService;

            T = NullLocalizer.Instance;
        }
 public ContributeController(IAuthenticationService authenticationService, IUserkeyService userkeyService, IUserkeyPackageService userkeyPackageService,
     IOrchardServices services, IGalleryPackageService galleryPackageService, IPackageService packageService, ISiteService siteService,
     IShapeFactory shapeFactory, IAdminPackagePrivilegeChecker packagePrivilegeChecker) {
     _authenticationService = authenticationService;
     _packagePrivilegeChecker = packagePrivilegeChecker;
     _siteService = siteService;
     _packageService = packageService;
     _userkeyService = userkeyService;
     _userkeyPackageService = userkeyPackageService;
     _services = services;
     _galleryPackageService = galleryPackageService;
     Shape = shapeFactory;
 }
        public ManagePackageIdsController(IRegisteredPackageIdGetter registeredPackageIdGetter, IAuthenticationService authenticationService,
            IUserPackageAuthorizer userPackageAuthorizer, IPackageIdInUseChecker packageIdInUseChecker, IUserkeyPackageService userkeyPackageService,
            IParameterFormatValidator parameterFormatValidator, INotifier notifier, IPackageService packageService, IOrchardServices orchardServices) {
            _registeredPackageIdGetter = registeredPackageIdGetter;
            _authenticationService = authenticationService;
            _userPackageAuthorizer = userPackageAuthorizer;
            _packageIdInUseChecker = packageIdInUseChecker;
            _userkeyPackageService = userkeyPackageService;
            _parameterFormatValidator = parameterFormatValidator;
            _packageService = packageService;
            _orchardServices = orchardServices;
            _notifier = notifier;

            T = NullLocalizer.Instance;
        }
 public PackageAuthorizationEventHandler(IUserkeyPackageService userkeyPackageService) {
     _userKeyPackageService = userkeyPackageService;
 }
 public PackagePrivilegeChecker(IUserkeyPackageService userkeyPackageService, IAdminPackagePrivilegeChecker adminPackagePrivilegeChecker) {
     _userkeyPackageService = userkeyPackageService;
     _adminPackagePrivilegeChecker = adminPackagePrivilegeChecker;
 }