public PackageAuthenticationController(IUserkeyPackageService userkeyPackageService, IUserkeyService userKeyService,
     IAdminPackagePrivilegeChecker packagePrivilegeChecker, IParameterFormatValidator parameterFormatValidator) {
     _userkeyPackageService = userkeyPackageService;
     _packagePrivilegeChecker = packagePrivilegeChecker;
     _parameterFormatValidator = parameterFormatValidator;
     _userKeyService = userKeyService;
 }
 public GalleryScreenshotService(IOrchardServices orchardServices, IUserkeyService userkeyService,
     IAuthenticationService authenticationService) {
     T = NullLocalizer.Instance;
     _orchardServices = orchardServices;
     _userkeyService = userkeyService;
     _authenticationService = authenticationService;
 }
예제 #3
0
 public GalleryFeatureHandler(ITaxonomyService taxonomyService, IOrchardServices services, IContentDefinitionManager contentDefinitionManager,
     IMembershipService membershipService, IUserkeyService userkeyService) {
     _taxonomyService = taxonomyService;
     _userkeyService = userkeyService;
     _membershipService = membershipService;
     _services = services;
     _contentDefinitionManager = contentDefinitionManager;
 }
예제 #4
0
 public PackageIdInUseChecker(IPackageService packageService, IODataContext oDataContext, IGalleryPackageService galleryPackageService,
     IUserkeyService userkeyService, IAuthenticationService authenticationService) {
     _packageService = packageService;
     _oDataContext = oDataContext;
     _galleryPackageService = galleryPackageService;
     _userkeyService = userkeyService;
     _authenticationService = authenticationService;
 }
예제 #5
0
 public UserkeyPackageService(IRepository<UserkeyPackage> userkeyPackageRepository, IRepository<Userkey> userkeyRepository,
     IUserkeyService userkeyService, IOrchardServices orchardServices, IAdminPackagePrivilegeChecker packagePrivilegeChecker, IClock clock) {
     _userkeyPackageRepository = userkeyPackageRepository;
     _packagePrivilegeChecker = packagePrivilegeChecker;
     _userkeyService = userkeyService;
     _orchardServices = orchardServices;
     _userkeyRepository = userkeyRepository;
     _clock = clock;
 }
        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");
        }
예제 #7
0
        public GalleryPackageService(IOrchardServices orchardServices, IServiceUriBuilder serviceUriBuilder, IPackageService packageService,
            IUserkeyService userKeyService) {
            _serviceUriBuilder = serviceUriBuilder;
            _packageService = packageService;
            _orchardServices = orchardServices;
            _userKeyService = userKeyService;

            T = NullLocalizer.Instance;

            _serviceRoot = new Lazy<string>(() =>_orchardServices.WorkContext.CurrentSite.As<GallerySettingsPart>().ServiceRoot);
        }
예제 #8
0
        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);
        }
예제 #9
0
 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 GalleryPackagePublishingService(IOrchardServices orchardServices, IUserkeyService userkeyService, IAuthenticationService authenticationService) {
     T = NullLocalizer.Instance;
     _orchardServices = orchardServices;
     _userkeyService = userkeyService;
     _authenticationService = authenticationService;
 }
예제 #11
0
 public UserEventHandler(IUserkeyService userkeyService) {
     _userkeyService = userkeyService;
 }
 public ExpiredPackageIdMessenger(IUserkeyService userkeyService, IOrchardServices orchardServices, IMessageManager messageManager) {
     _userkeyService = userkeyService;
     _orchardServices = orchardServices;
     _messageManager = messageManager;
 }
예제 #13
0
 public ServiceUriBuilder(IUserkeyService userkeyService, IAuthenticationService authenticationService) {
     _userkeyService = userkeyService;
     _authenticationService = authenticationService;
 }
예제 #14
0
 public UserMessagesAlteration(IContentManager contentManager, ISiteService siteService, IUserkeyService userkeyService) {
     _contentManager = contentManager;
     _siteService = siteService;
     _userkeyService = userkeyService;
     T = NullLocalizer.Instance;
 }