public DefaultMailCommunicationService(ITransactionManager transactionManager, IQueryPickerService queryPickerServices, IOrchardServices orchardServices, ICultureManager cultureManager)
 {
     _orchardServices     = orchardServices;
     _cultureManager      = cultureManager;
     _queryPickerServices = queryPickerServices;
     _transactionManager  = transactionManager;
 }
 public QueryPickerPartDriver(IQueryPickerService queryPickerService, IRepository <QueryPartRecord> queryRepository, IProjectionManager projectionManager, IContentManager contentManager)
 {
     _queryPickerService = queryPickerService;
     _queryRepository    = queryRepository;
     _projectionManager  = projectionManager;
     _contentManager     = contentManager;
 }
        public PushNotificationService(
            IOrchardServices orchardServices,
            IRepository <PushNotificationRecord> pushNotificationRepository,
            IRepository <UserDeviceRecord> userDeviceRecord,
            INotifier notifier,
            ShellSettings shellSetting,
            ISessionLocator sessionLocator,
            ITokenizer tokenizer,
            IQueryPickerService queryPickerService,
            ITransactionManager transactionManager

            )
        {
            _orchardServices = orchardServices;
            T = NullLocalizer.Instance;
            _pushNotificationRepository = pushNotificationRepository;
            _notifier         = notifier;
            _shellSetting     = shellSetting;
            _sessionLocator   = sessionLocator;
            _tokenizer        = tokenizer;
            _userDeviceRecord = userDeviceRecord;
            if (_orchardServices.WorkContext != null)
            {
                _orchardServices.WorkContext.TryResolve <ICommunicationService>(out _communicationService);
            }
            _queryPickerServices = queryPickerService;
            _transactionManager  = transactionManager;
            Logger = OrchardLogging.NullLogger.Instance;
        }
Пример #4
0
 public DynamicProjectionDisplayController(
     IOrchardServices orchardServices,
     IProjectionManagerExtension projectionManager,
     IContentManager contentManager,
     IShapeFactory shapeFactory,
     IDynamicProjectionService dynamicProjectoinService,
     IQueryPickerService queryPickerService,
     IFrontEndEditService frontEndEditService,
     ShellSettings shellSettings
     )
 {
     _orchardServices   = orchardServices;
     _projectionManager = projectionManager;
     _contentManager    = contentManager;
     T                         = NullLocalizer.Instance;
     Logger                    = NullLogger.Instance;
     _shapeFactory             = shapeFactory;
     _dynamicProjectoinService = dynamicProjectoinService;
     _queryPickerService       = queryPickerService;
     _frontEndEditService      = frontEndEditService;
     _shellSettings            = shellSettings;
 }