Exemplo n.º 1
0
 public ContributorController(ICustomerService customerService,
                              ILocalizationService localizationService,
                              IContributorService contributorService,
                              IPermissionService permissionService,
                              IUrlRecordService urlRecordService,
                              ILanguageService languageService,
                              ILocalizedEntityService localizedEntityService,
                              IPictureService pictureService,
                              IDateTimeHelper dateTimeHelper,
                              ContributorSettings contributorSettings,
                              ICustomerActivityService customerActivityService,
                              IAddressService addressService,
                              ICountryService countryService,
                              IStateProvinceService stateProvinceService)
 {
     this._customerService         = customerService;
     this._localizationService     = localizationService;
     this._contributorService      = contributorService;
     this._permissionService       = permissionService;
     this._urlRecordService        = urlRecordService;
     this._languageService         = languageService;
     this._localizedEntityService  = localizedEntityService;
     this._pictureService          = pictureService;
     this._dateTimeHelper          = dateTimeHelper;
     this._contributorSettings     = contributorSettings;
     this._customerActivityService = customerActivityService;
     this._addressService          = addressService;
     this._countryService          = countryService;
     this._stateProvinceService    = stateProvinceService;
 }
Exemplo n.º 2
0
        public ContributorController(IContributorModelFactory contributorModelFactory,
                                     IWorkContext workContext,
                                     ILocalizationService localizationService,
                                     ICustomerService customerService,
                                     IWorkflowMessageService workflowMessageService,
                                     IContributorService contributorService,
                                     IUrlRecordService urlRecordService,
                                     IPictureService pictureService,
                                     LocalizationSettings localizationSettings,
                                     ContributorSettings contributorSettings,
                                     CaptchaSettings captchaSettings)
        {
            this._contributorModelFactory = contributorModelFactory;
            this._workContext             = workContext;
            this._localizationService     = localizationService;
            this._customerService         = customerService;
            this._workflowMessageService  = workflowMessageService;
            this._contributorService      = contributorService;
            this._urlRecordService        = urlRecordService;
            this._pictureService          = pictureService;

            this._localizationSettings = localizationSettings;
            this._contributorSettings  = contributorSettings;
            this._captchaSettings      = captchaSettings;
        }
Exemplo n.º 3
0
        public CommonController(ICommonModelFactory commonModelFactory,
                                ILanguageService languageService,
                                ICurrencyService currencyService,
                                ILocalizationService localizationService,
                                IWorkContext workContext,
                                IStoreContext storeContext,
                                IQueuedEmailService queuedEmailService,
                                IEmailAccountService emailAccountService,
                                IThemeContext themeContext,
                                IGenericAttributeService genericAttributeService,
                                ICustomerActivityService customerActivityService,
                                IContributorService contributorService,
                                IWorkflowMessageService workflowMessageService,
                                TaxSettings taxSettings,
                                StoreInformationSettings storeInformationSettings,
                                EmailAccountSettings emailAccountSettings,
                                CommonSettings commonSettings,
                                LocalizationSettings localizationSettings,
                                CaptchaSettings captchaSettings,
                                ContributorSettings contributorSettings)
        {
            this._commonModelFactory      = commonModelFactory;
            this._languageService         = languageService;
            this._currencyService         = currencyService;
            this._localizationService     = localizationService;
            this._workContext             = workContext;
            this._storeContext            = storeContext;
            this._queuedEmailService      = queuedEmailService;
            this._emailAccountService     = emailAccountService;
            this._themeContext            = themeContext;
            this._genericAttributeService = genericAttributeService;
            this._customerActivityService = customerActivityService;
            this._contributorService      = contributorService;
            this._workflowMessageService  = workflowMessageService;

            this._taxSettings = taxSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._emailAccountSettings     = emailAccountSettings;
            this._commonSettings           = commonSettings;
            this._localizationSettings     = localizationSettings;
            this._captchaSettings          = captchaSettings;
            this._contributorSettings      = contributorSettings;
        }
Exemplo n.º 4
0
 public CatalogController(ICatalogModelFactory catalogModelFactory,
                          IArticleModelFactory articleModelFactory,
                          ICategoryService categoryService,
                          IPublisherService publisherService,
                          IArticleService articleService,
                          IContributorService contributorService,
                          IWorkContext workContext,
                          IStoreContext storeContext,
                          ILocalizationService localizationService,
                          IWebHelper webHelper,
                          IArticleTagService articleTagService,
                          IGenericAttributeService genericAttributeService,
                          IAclService aclService,
                          IStoreMappingService storeMappingService,
                          IPermissionService permissionService,
                          ICustomerActivityService customerActivityService,
                          MediaSettings mediaSettings,
                          CatalogSettings catalogSettings,
                          ContributorSettings contributorSettings)
 {
     this._catalogModelFactory     = catalogModelFactory;
     this._articleModelFactory     = articleModelFactory;
     this._categoryService         = categoryService;
     this._publisherService        = publisherService;
     this._articleService          = articleService;
     this._contributorService      = contributorService;
     this._workContext             = workContext;
     this._storeContext            = storeContext;
     this._localizationService     = localizationService;
     this._webHelper               = webHelper;
     this._articleTagService       = articleTagService;
     this._genericAttributeService = genericAttributeService;
     this._aclService              = aclService;
     this._storeMappingService     = storeMappingService;
     this._permissionService       = permissionService;
     this._customerActivityService = customerActivityService;
     this._mediaSettings           = mediaSettings;
     this._catalogSettings         = catalogSettings;
     this._contributorSettings     = contributorSettings;
 }
Exemplo n.º 5
0
        public CommonModelFactory(ICategoryService categoryService,
                                  IArticleService articleService,
                                  IPublisherService publisherService,
                                  ITopicService topicService,
                                  ILanguageService languageService,
                                  ICurrencyService currencyService,
                                  ILocalizationService localizationService,
                                  IWorkContext workContext,
                                  IStoreContext storeContext,
                                  ISitemapGenerator sitemapGenerator,
                                  IThemeContext themeContext,
                                  IThemeProvider themeProvider,
                                  IForumService forumService,
                                  IGenericAttributeService genericAttributeService,
                                  IWebHelper webHelper,
                                  IPermissionService permissionService,
                                  ICacheManager cacheManager,
                                  IPageHeadBuilder pageHeadBuilder,
                                  IPictureService pictureService,
                                  HttpContextBase httpContext,
                                  CatalogSettings catalogSettings,
                                  StoreInformationSettings storeInformationSettings,
                                  CommonSettings commonSettings,
                                  BlogSettings blogSettings,
                                  NewsSettings newsSettings,
                                  ForumSettings forumSettings,
                                  LocalizationSettings localizationSettings,
                                  CaptchaSettings captchaSettings,
                                  ContributorSettings contributorSettings)
        {
            this._categoryService         = categoryService;
            this._articleService          = articleService;
            this._publisherService        = publisherService;
            this._topicService            = topicService;
            this._languageService         = languageService;
            this._currencyService         = currencyService;
            this._localizationService     = localizationService;
            this._workContext             = workContext;
            this._storeContext            = storeContext;
            this._sitemapGenerator        = sitemapGenerator;
            this._themeContext            = themeContext;
            this._themeProvider           = themeProvider;
            this._forumservice            = forumService;
            this._genericAttributeService = genericAttributeService;
            this._webHelper         = webHelper;
            this._permissionService = permissionService;
            this._cacheManager      = cacheManager;
            this._pageHeadBuilder   = pageHeadBuilder;
            this._pictureService    = pictureService;
            this._httpContext       = httpContext;

            this._catalogSettings          = catalogSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._commonSettings           = commonSettings;
            this._blogSettings             = blogSettings;
            this._newsSettings             = newsSettings;
            this._forumSettings            = forumSettings;
            this._localizationSettings     = localizationSettings;
            this._captchaSettings          = captchaSettings;
            this._contributorSettings      = contributorSettings;
        }
Exemplo n.º 6
0
 public CustomerModelFactory(IAddressModelFactory addressModelFactory,
                             IDateTimeHelper dateTimeHelper,
                             DateTimeSettings dateTimeSettings,
                             TaxSettings taxSettings,
                             ILocalizationService localizationService,
                             IWorkContext workContext,
                             IStoreContext storeContext,
                             IStoreMappingService storeMappingService,
                             ICustomerAttributeParser customerAttributeParser,
                             ICustomerAttributeService customerAttributeService,
                             IGenericAttributeService genericAttributeService,
                             RewardPointsSettings rewardPointsSettings,
                             CustomerSettings customerSettings,
                             AddressSettings addressSettings,
                             ForumSettings forumSettings,
                             SubscriptionSettings subscriptionSettings,
                             ICountryService countryService,
                             IStateProvinceService stateProvinceService,
                             ISubscriptionService subscriptionService,
                             IPictureService pictureService,
                             INewsLetterSubscriptionService newsLetterSubscriptionService,
                             IOpenAuthenticationService openAuthenticationService,
                             IDownloadService downloadService,
                             IReturnRequestService returnRequestService,
                             MediaSettings mediaSettings,
                             CaptchaSettings captchaSettings,
                             SecuritySettings securitySettings,
                             ExternalAuthenticationSettings externalAuthenticationSettings,
                             CatalogSettings catalogSettings,
                             ContributorSettings contributorSettings)
 {
     this._addressModelFactory            = addressModelFactory;
     this._dateTimeHelper                 = dateTimeHelper;
     this._dateTimeSettings               = dateTimeSettings;
     this._taxSettings                    = taxSettings;
     this._localizationService            = localizationService;
     this._workContext                    = workContext;
     this._storeContext                   = storeContext;
     this._storeMappingService            = storeMappingService;
     this._customerAttributeParser        = customerAttributeParser;
     this._customerAttributeService       = customerAttributeService;
     this._genericAttributeService        = genericAttributeService;
     this._rewardPointsSettings           = rewardPointsSettings;
     this._customerSettings               = customerSettings;
     this._addressSettings                = addressSettings;
     this._forumSettings                  = forumSettings;
     this._subscriptionSettings           = subscriptionSettings;
     this._countryService                 = countryService;
     this._stateProvinceService           = stateProvinceService;
     this._subscriptionService            = subscriptionService;
     this._pictureService                 = pictureService;
     this._newsLetterSubscriptionService  = newsLetterSubscriptionService;
     this._openAuthenticationService      = openAuthenticationService;
     this._downloadService                = downloadService;
     this._returnRequestService           = returnRequestService;
     this._mediaSettings                  = mediaSettings;
     this._captchaSettings                = captchaSettings;
     this._securitySettings               = securitySettings;
     this._externalAuthenticationSettings = externalAuthenticationSettings;
     this._catalogSettings                = catalogSettings;
     this._contributorSettings            = contributorSettings;
 }
Exemplo n.º 7
0
 public static ContributorSettings ToEntity(this ContributorSettingsModel model, ContributorSettings destination)
 {
     return(model.MapTo(destination));
 }
Exemplo n.º 8
0
 public static ContributorSettingsModel ToModel(this ContributorSettings entity)
 {
     return(entity.MapTo <ContributorSettings, ContributorSettingsModel>());
 }