Exemple #1
0
 public ContentController(
     ShellSettings shellSettings,
     ICsrfTokenHelper csrfTokenHelper,
     IOrchardServices orchardServices,
     IAuthenticationService authenticationService,
     IContentExtensionsServices contentExtensionsServices,
     Lazy <IAutorouteService> autorouteService,
     ILocalizationService localizationService,
     ICultureManager cultureManager,
     IUtilsServices utilsServices,
     IContentDefinitionManager contentDefinitionManager,
     ITaxonomyService taxonomyService,
     ILocalizedStringManager localizedStringManager,
     IRazorTemplateManager razorTemplateManager,
     IRazorBaseService razorService)
 {
     _localizedStringManager   = localizedStringManager;
     _taxonomyService          = taxonomyService;
     _contentDefinitionManager = contentDefinitionManager;
     _shellSettings            = shellSettings;
     _csrfTokenHelper          = csrfTokenHelper;
     _orchardServices          = orchardServices;
     T = NullLocalizer.Instance;
     _authenticationService     = authenticationService;
     _contentExtensionsServices = contentExtensionsServices;
     _autorouteService          = autorouteService;
     _localizationService       = localizationService;
     _cultureManager            = cultureManager;
     _utilsServices             = utilsServices;
     Logger = NullLogger.Instance;
     _razorTemplateManager = razorTemplateManager;
     _razorService         = razorService;
 }
 public RazorExecuteService(ShellSettings shellSettings, IOrchardServices orchardServices, IRazorTemplateManager razorTemplateManager, IRazorBaseService razorService)
 {
     _shellSettings        = shellSettings;
     _orchardServices      = orchardServices;
     _razorTemplateManager = razorTemplateManager;
     _razorService         = razorService;
     T = NullLocalizer.Instance;
 }
Exemple #3
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;
        }