Пример #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;
 }
Пример #2
0
        //       private readonly ILocalizedStringManager _localizedStringManager;

        //     public ILogger Log { get; set; }

        public testpostController(
            ShellSettings shellSettings,
            ICsrfTokenHelper csrfTokenHelper,
            IOrchardServices orchardServices,
            //    ITaxonomyService taxonomyService,
            //    ILocalizedStringManager localizedStringManager,
            IAuthenticationService authenticationService,
            IContentExtensionsServices contentExtensionsServices,
            Lazy <IAutorouteService> autorouteService,
            ILocalizationService localizationService,
            ICultureManager cultureManager,
            IUtilsServices utilsServices
            )
        {
            _shellSettings   = shellSettings;
            _csrfTokenHelper = csrfTokenHelper;
            _orchardServices = orchardServices;
            //      _taxonomyService = taxonomyService;
            T = NullLocalizer.Instance;
            //     _localizedStringManager = localizedStringManager;
            //       Log = NullLogger.Instance;
            _authenticationService     = authenticationService;
            _contentExtensionsServices = contentExtensionsServices;
            _autorouteService          = autorouteService;
            _localizationService       = localizationService;
            _cultureManager            = cultureManager;
            _utilsServices             = utilsServices;

            //  _context = context;
            Logger = NullLogger.Instance;
        }
 public UserController(
     ICsrfTokenHelper csrfTokenHelper,
     IOrchardServices orchardServices,
     ITaxonomyService taxonomyService,
     ILocalizedStringManager localizedStringManager,
     IAuthenticationService authenticationService,
     IContentExtensionsServices contentExtensionsServices,
     IUtilsServices utilsServices,
     IContactRelatedEventHandler contactEventHandler)
 {
     _csrfTokenHelper = csrfTokenHelper;
     _orchardServices = orchardServices;
     _taxonomyService = taxonomyService;
     T = NullLocalizer.Instance;
     _localizedStringManager = localizedStringManager;
     Log = NullLogger.Instance;
     _authenticationService     = authenticationService;
     _contentExtensionsServices = contentExtensionsServices;
     _utilsServices             = utilsServices;
     _contactEventHandler       = contactEventHandler;
 }
Пример #4
0
        public CommunicationService(
            ITaxonomyService taxonomyService,
            IRepository <CommunicationEmailRecord> repositoryCommunicationEmailRecord,
            INotifier notifier,
            IModuleService moduleService,
            IOrchardServices orchardServices,
            IShortLinksService shortLinksService,
            IContentExtensionsServices contentExtensionsServices,
            ISessionLocator session,
            ICultureManager cultureManager,
            IRepository <CommunicationSmsRecord> repositoryCommunicationSmsRecord,
            IContactRelatedEventHandler contactRelatedEventHandler,
            ITransactionManager transactionManager,
            IFieldIndexService fieldIndexService,
            IAutorouteService autorouteService,
            IRepository <CommunicationRetryRecord> repositoryCommunicationRetryRecord,
            IContentDefinitionManager contentDefinitionManager,
            IUtilsServices utilsServices)
        {
            _orchardServices           = orchardServices;
            _shortLinksService         = shortLinksService;
            _contentExtensionsServices = contentExtensionsServices;
            _moduleService             = moduleService;
            _notifier = notifier;
            _repositoryCommunicationEmailRecord = repositoryCommunicationEmailRecord;
            _repositoryCommunicationSmsRecord   = repositoryCommunicationSmsRecord;
            _repositoryCommunicationRetryRecord = repositoryCommunicationRetryRecord;
            _taxonomyService            = taxonomyService;
            _cultureManager             = cultureManager;
            _contactRelatedEventHandler = contactRelatedEventHandler;
            _transactionManager         = transactionManager;
            _fieldIndexService          = fieldIndexService;
            _autorouteService           = autorouteService;
            _contentDefinitionManager   = contentDefinitionManager;
            _utilsServices = utilsServices;

            T = NullLocalizer.Instance;
        }
Пример #5
0
 public ContentPickerConnectorHandler(IContentExtensionsServices contenExtensionsServices)
 {
     _contenExtensionsServices = contenExtensionsServices;
 }