public UploadFileController(IOrchardServices orchardServices, ShellSettings settings, IMediaLibraryService mediaLibraryService, IContentExtensionService contentExtensionsServices, INotifier notifier, ICsrfTokenHelper csrfTokenHelper, IUtilsServices utilsServices)
 {
     _notifier = notifier;
     _contentExtensionsServices = contentExtensionsServices;
     _settings            = settings;
     _orchardServices     = orchardServices;
     _mediaLibraryService = mediaLibraryService;
     _utilsServices       = utilsServices;
     T = NullLocalizer.Instance;
     _csrfTokenHelper = csrfTokenHelper;
 }
示例#2
0
        public ContentItemController(
            ShellSettings shellSettings,
            INotifier notifier,
            ICsrfTokenHelper csrfTokenHelper,
            IOrchardServices orchardServices,
            IAuthenticationService authenticationService,
            IContentExtensionService contentExtensionService,
            Lazy <IAutorouteService> autorouteService,
            ILocalizationService localizationService,
            ICultureManager cultureManager,
            IUtilsServices utilsServices,
            IContentDefinitionManager contentDefinitionManager,
            ITaxonomyService taxonomyService,
            ILocalizedStringManager localizedStringManager,
            ITransactionManager transactionManager,
            Lazy <IEnumerable <IContentHandler> > handlers,
            IRazorTemplateManager razorTemplateManager,
            IRazorBaseService razorService,
            IContentManager contentManager,
            IAuthorizer authorizer
            )
        {
            _razorTemplateManager     = razorTemplateManager;
            _localizedStringManager   = localizedStringManager;
            _taxonomyService          = taxonomyService;
            _contentDefinitionManager = contentDefinitionManager;
            _shellSettings            = shellSettings;
            _csrfTokenHelper          = csrfTokenHelper;
            _orchardServices          = orchardServices;
            _authenticationService    = authenticationService;
            _contentExtensionService  = contentExtensionService;
            _autorouteService         = autorouteService;
            _localizationService      = localizationService;
            _cultureManager           = cultureManager;
            _utilsServices            = utilsServices;
            _transactionManager       = transactionManager;
            _handlers       = handlers;
            _notifier       = notifier;
            _razorService   = razorService;
            _contentManager = contentManager;
            _authorizer     = authorizer;

            T      = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
        }