示例#1
0
 public BookNodeController(
     IUrlRecordService urlRecordService
     , IPermissionService permissionService
     , ICustomerActivityService customerActivityService
     , IEventPublisher eventPublisher
     , ILocalizationService localizationService
     //  ,INotificationService notificationService
     , IBookDirService bookDirService
     , IBookDirFactory bookDirFactory
     , IProductModelFactory productModelFactory
     , IBookNodeFactory bookNodeFactory
     , IAiBookService bookNodeService
     )
 {
     _urlRecordService        = urlRecordService;
     _permissionService       = permissionService;
     _customerActivityService = customerActivityService;
     _eventPublisher          = eventPublisher;
     _localizationService     = localizationService;
     // _notificationService = notificationService;
     _bookDirService      = bookDirService;
     _bookDirFactory      = bookDirFactory;
     _productModelFactory = productModelFactory;
     _bookNodeFactory     = bookNodeFactory;
     _bookNodeService     = bookNodeService;
 }
示例#2
0
 public BookNodeFactory(
     CaptchaSettings captchaSettings
     , CustomerSettings customerSettings
     , IAiBookService aiBookService
     , ICustomerService customerService
     , IDateTimeHelper dateTimeHelper
     , IGenericAttributeService genericAttributeService
     , IPictureService pictureService
     , IStaticCacheManager cacheManager
     , IStoreContext storeContext
     , IWorkContext workContext
     , ICategoryModelFactory categoryModelFactory
     , IBaseAdminModelFactory baseAdminModelFactory
     , MediaSettings mediaSettings
     , IProductService productService
     , IBookDirFactory bookdirFactory
     , IBookDirService bookdirService
     , ILocalizationService localizationService
     , ILocalizedModelFactory localizedModelFactory
     )
 {
     _captchaSettings         = captchaSettings;
     _customerSettings        = customerSettings;
     _aiBookService           = aiBookService;
     _customerService         = customerService;
     _dateTimeHelper          = dateTimeHelper;
     _genericAttributeService = genericAttributeService;
     _pictureService          = pictureService;
     _cacheManager            = cacheManager;
     _storeContext            = storeContext;
     _workContext             = workContext;
     _mediaSettings           = mediaSettings;
     _categoryModelFactory    = categoryModelFactory;
     _baseAdminModelFactory   = baseAdminModelFactory;
     _bookDirFactory          = bookdirFactory;
     _bookdirService          = bookdirService;
     _localizationService     = localizationService;
     _productService          = productService;
     _localizedModelFactory   = localizedModelFactory;
 }