コード例 #1
0
 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;
        }
コード例 #3
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;
        }
コード例 #4
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;
 }
コード例 #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;
 }