public ContactFormService(IOrchardServices orchardServices, INotifier notifier, IRepository <ContactFormRecord> contactFormRepository, ITemplateService templateServices, IContentManager contentManager, ISmtpChannel messageManager, IMediaLibraryService mediaLibraryService, IStorageProvider storageProvider)
 {
     _notifier              = notifier;
     _orchardServices       = orchardServices;
     _contactFormRepository = contactFormRepository;
     _templateServices      = templateServices;
     _messageManager        = messageManager;
     _contentManager        = contentManager;
     _mediaLibraryService   = mediaLibraryService;
     _storageProvider       = storageProvider;
     Logger = NullLogger.Instance;
 }
예제 #2
0
        public CheckoutController(IOrchardServices services, IAuthenticationService authenticationService, ICustomerService customerService, IMembershipService membershipService,
                                  IShoppingCart shoppingCart, IWebshopSettingsService webshopSettings, ISmtpChannel email)
        {
            _authenticationService = authenticationService;
            _services          = services;
            _customerService   = customerService;
            _membershipService = membershipService;
            _shoppingCart      = shoppingCart;
            _webshopSettings   = webshopSettings;
            _email             = email;
            //_messageManager = messageManager;

            T = NullLocalizer.Instance;
        }
        public CheckoutController(IOrchardServices services, IAuthenticationService authenticationService, ICustomerService customerService, IMembershipService membershipService,
            IShoppingCart shoppingCart, IWebshopSettingsService webshopSettings, ISmtpChannel email)
        {
            _authenticationService = authenticationService;
            _services = services;
            _customerService = customerService;
            _membershipService = membershipService;
            _shoppingCart = shoppingCart;
            _webshopSettings = webshopSettings;
            _email = email;
            //_messageManager = messageManager;

            T = NullLocalizer.Instance;
        }
 public OrderController(IShapeFactory shapeFactory, IOrderService orderService, IAuthenticationService authenticationService,
     IShoppingCart shoppingCart, ICustomerService customerService, IEnumerable<IPaymentServiceProvider> paymentServiceProviders,
     ISmtpChannel messageManager, IWebshopSettingsService webshopSettings, IContentManager contentManager)
 {
     _shapeFactory = shapeFactory;
     _orderService = orderService;
     _authenticationService = authenticationService;
     _shoppingCart = shoppingCart;
     _customerService = customerService;
     _t = NullLocalizer.Instance;
     _paymentServiceProviders = paymentServiceProviders;
     _messageManager = messageManager;
     _webshopSettings = webshopSettings;
     _contentManager = contentManager;
 }
예제 #5
0
 public OrderController(IShapeFactory shapeFactory, IOrderService orderService, IAuthenticationService authenticationService,
                        IShoppingCart shoppingCart, ICustomerService customerService, IEnumerable <IPaymentServiceProvider> paymentServiceProviders,
                        ISmtpChannel messageManager, IWebshopSettingsService webshopSettings, IContentManager contentManager)
 {
     _shapeFactory          = shapeFactory;
     _orderService          = orderService;
     _authenticationService = authenticationService;
     _shoppingCart          = shoppingCart;
     _customerService       = customerService;
     _t = NullLocalizer.Instance;
     _paymentServiceProviders = paymentServiceProviders;
     _messageManager          = messageManager;
     _webshopSettings         = webshopSettings;
     _contentManager          = contentManager;
 }
예제 #6
0
 public EmailAdminController(ISmtpChannel smtpChannel, IOrchardServices orchardServices)
 {
     _smtpChannel     = smtpChannel;
     _orchardServices = orchardServices;
     T = NullLocalizer.Instance;
 }
예제 #7
0
 public EmailAdminController(ISmtpChannel smtpChannel, IOrchardServices orchardServices) {
     _smtpChannel = smtpChannel;
     _orchardServices = orchardServices;
     T = NullLocalizer.Instance;
 }