コード例 #1
0
 public CampaignService(IRecipientListService campaignRecipientLists,
                        IRecipientService campaignRecipient,
                        ICustomerService customerService)
 {
     _campaignRecipientList = campaignRecipientLists;
     _campaignRecipient     = campaignRecipient;
     _customerService       = customerService;
 }
コード例 #2
0
        public AdminController(IOrchardServices orchardServices, INotificationBatchService notificationBatchService,
                               IRecipientListService recipientListService)
        {
            _orchardServices          = orchardServices;
            _contentManager           = orchardServices.ContentManager;
            _notificationBatchService = notificationBatchService;
            _recipientListService     = recipientListService;

            T      = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
        }