public StringResourceAdminService(IStringResourceProvider provider, SiteSettings siteSettings, ISession session) { _provider = provider; _siteSettings = siteSettings; _session = session; }
public CustomerRemoval() { DataRetentionService = DependencyResolver.Current .GetService <IDataRetentionService>(); StringResourceProvider = DependencyResolver.Current .GetService <IStringResourceProvider>(); }
public CommentsUIService(CommentingSettings settings, IGetWebpageCommentingInfo getWebpageCommentingInfo, ISession session, IStringResourceProvider stringResourceProvider) { _settings = settings; _getWebpageCommentingInfo = getWebpageCommentingInfo; _session = session; _stringResourceProvider = stringResourceProvider; }
public UserAccountController(IUserManagementService userManagementService, IPasswordManagementService passwordManagementService, IAuthorisationService authorisationService, IStringResourceProvider stringResourceProvider) { _userManagementService = userManagementService; _passwordManagementService = passwordManagementService; _authorisationService = authorisationService; _stringResourceProvider = stringResourceProvider; }
public PerformWarehousedStockBulkUpdate(IStatelessSession statelessSession, Site site, IStringResourceProvider stringResourceProvider) { _statelessSession = statelessSession; _site = site; _stringResourceProvider = stringResourceProvider; }
public UpdatePasswordService(IPasswordManagementService passwordManagementService, ISession session, IStringResourceProvider stringResourceProvider) { _passwordManagementService = passwordManagementService; _session = session; _stringResourceProvider = stringResourceProvider; }
public CommentingUserAccountController(IUniqueUsernameService uniqueUsernameService, IUniquePageService uniquePageService, ICommentInfoUiService commentInfoUiService, IStringResourceProvider stringResourceProvider) { _uniqueUsernameService = uniqueUsernameService; _uniquePageService = uniquePageService; _commentInfoUiService = commentInfoUiService; _stringResourceProvider = stringResourceProvider; }
public MoveWebpageAdminService(IRepository <Webpage> webpageRepository, IStringResourceProvider resourceProvider, IWebpageUrlService webpageUrlService, ICreateUpdateUrlBatch createUpdateUrlBatch) { _webpageRepository = webpageRepository; _resourceProvider = resourceProvider; _webpageUrlService = webpageUrlService; _createUpdateUrlBatch = createUpdateUrlBatch; }
public override void SetModel(IAccountModel model, IStringResourceProvider stringResourceProvider) { base.SetModel(model, stringResourceProvider); this.Model.LostPasswordSent += new LostPasswordSentHandler(AccountModel_LostPasswordSent); this.Model.PasswordChanged += new PasswordChangedHandler(AccountModel_PasswordChanged); }
public PerformSimpleBulkUpdate(IStatelessSession statelessSession, Site site, IStringResourceProvider stringResourceProvider) { _statelessSession = statelessSession; _site = site; _stringResourceProvider = stringResourceProvider; _variantsToUpdate = new HashSet <ProductVariant>(); }
public TestSmtpSettings(IGetSmtpClient getSmtpClient, ErrorSignal errorSignal, IStringResourceProvider resourceProvider, Site site) { _getSmtpClient = getSmtpClient; _errorSignal = errorSignal; _resourceProvider = resourceProvider; _site = site; }
public GetEcommerceUserLinks(IUniquePageService uniquePageService, IStringResourceProvider stringResourceProvider, IGetUserAccountLinks getUserAccountLinks) { _uniquePageService = uniquePageService; _stringResourceProvider = stringResourceProvider; _getUserAccountLinks = getUserAccountLinks; }
public PerformSimpleBulkUpdate(IStatelessSession statelessSession, Site site, IStringResourceProvider stringResourceProvider) { _statelessSession = statelessSession; _site = site; _stringResourceProvider = stringResourceProvider; _variantsToUpdate = new HashSet<ProductVariant>(); }
public StockReportAdminService( IStringResourceProvider stringResourceProvider, EcommerceSettings ecommerceSettings, IGetStockExportData getStockExportData) { _stringResourceProvider = stringResourceProvider; _ecommerceSettings = ecommerceSettings; _getStockExportData = getStockExportData; }
public LowStockReportAdminService(IGetLowStockQuery getLowStockQuery, IStringResourceProvider stringResourceProvider, IGetStockReportFile getStockReportFile) { _getLowStockQuery = getLowStockQuery; _stringResourceProvider = stringResourceProvider; _getStockReportFile = getStockReportFile; }
public GiftCardUIService(ISession session, ICartManager cartManager, CartModel cart, IStringResourceProvider stringResourceProvider) { _session = session; _cartManager = cartManager; _cart = cart; _stringResourceProvider = stringResourceProvider; }
public ExternalLoginController(IAuthenticationManager authenticationManager, IExternalLoginService externalLoginService, IUniquePageService uniquePageService, IStringResourceProvider stringResourceProvider) { _authenticationManager = authenticationManager; _externalLoginService = externalLoginService; _uniquePageService = uniquePageService; _stringResourceProvider = stringResourceProvider; }
public PaymentNotRequiredUIService(IUniquePageService uniquePageService, CartModel cartModel, IStringResourceProvider stringResourceProvider, IOrderPlacementService orderPlacementService) { _uniquePageService = uniquePageService; _cartModel = cartModel; _stringResourceProvider = stringResourceProvider; _orderPlacementService = orderPlacementService; }
public LoginController(IResetPasswordService resetPasswordService, IUniquePageService uniquePageService, ILoginService loginService, IStringResourceProvider stringResourceProvider, IUserLookup userLookup) { _resetPasswordService = resetPasswordService; _uniquePageService = uniquePageService; _loginService = loginService; _stringResourceProvider = stringResourceProvider; _userLookup = userLookup; }
public GetProductCardModel(ISession session, IProductVariantAvailabilityService productVariantAvailabilityService, IStringResourceProvider stringResourceProvider, EcommerceSettings ecommerceSettings, ProductReviewSettings productReviewSettings) { _session = session; _productVariantAvailabilityService = productVariantAvailabilityService; _stringResourceProvider = stringResourceProvider; _ecommerceSettings = ecommerceSettings; _productReviewSettings = productReviewSettings; }
public override void SetModel(IAccountModel model, IStringResourceProvider stringResourceProvider) { base.SetModel(model, stringResourceProvider); this.BillingAddressUKEditView.SetModel(this.Model.BillingAddress, this.StringResourceProvider); this.BillingAddressUSEditView.SetModel(this.Model.BillingAddress, this.StringResourceProvider); this.BillingAddressStaticView.SetModel(this.Model.BillingAddress, this.StringResourceProvider); this.AddressBookView.SetModel(this.Model, this.StringResourceProvider); }
public AdminWebpageSearchService(ISearcher <Webpage, AdminWebpageIndexDefinition> documentSearcher, IGetBreadcrumbs getBreadcrumbs, ISession session, Site site, IStringResourceProvider stringResourceProvider) { _documentSearcher = documentSearcher; _getBreadcrumbs = getBreadcrumbs; _session = session; _site = site; _stringResourceProvider = stringResourceProvider; }
public AdminWebpageSearchService(ISearcher<Webpage, AdminWebpageIndexDefinition> documentSearcher, IGetBreadcrumbs getBreadcrumbs, ISession session, Site site, IStringResourceProvider stringResourceProvider) { _documentSearcher = documentSearcher; _getBreadcrumbs = getBreadcrumbs; _session = session; _site = site; _stringResourceProvider = stringResourceProvider; }
public ContactUsController(NoticeProvider noticeProvider, IStringResourceProvider stringResourceProvider, CaptchaVerificationProvider captchaVerificationProvider) { NoticeProvider = noticeProvider; StringResourceProvider = stringResourceProvider; CaptchaVerificationProvider = captchaVerificationProvider; Settings = new ContactUsSettings(); CaptchaSettings = new CaptchaSettings(); }
public FileAdminService(IFileService fileService, ISession session, IStringResourceProvider stringResourceProvider, IDocumentService documentService, MediaSettings mediaSettings) { _fileService = fileService; _session = session; _stringResourceProvider = stringResourceProvider; _documentService = documentService; _mediaSettings = mediaSettings; }
public LoginController(IUserService userService, IResetPasswordService resetPasswordService, IAuthorisationService authorisationService, IUniquePageService uniquePageService, ILoginService loginService, IStringResourceProvider stringResourceProvider) { _userService = userService; _resetPasswordService = resetPasswordService; _authorisationService = authorisationService; _uniquePageService = uniquePageService; _loginService = loginService; _stringResourceProvider = stringResourceProvider; }
public override void SetModel(IPaymentModel model, IStringResourceProvider stringResourceProvider) { base.SetModel(model, stringResourceProvider); this.BillingAddressChoice.SetModel(model.AccountModel, this.StringResourceProvider); CodPaymentView.SetModel(null, this.StringResourceProvider); CreditCardPaymentForm.SetModel(null, this.StringResourceProvider); SecureNetPaymentView.SetModel(null, this.StringResourceProvider); TwoCheckoutPaymentView.SetModel(null, this.StringResourceProvider); CheckPaymentView.SetModel(null, this.StringResourceProvider); RequestQuoteView.SetModel(null, this.StringResourceProvider); PayPalPaymentView.SetModel(null, this.StringResourceProvider); PurchaseOrderPaymentView.SetModel(null, this.StringResourceProvider); PayPalExpressView.SetModel(null, this.StringResourceProvider); MicroPayPaymentView.SetModel(null, this.StringResourceProvider); CheckOutByAmazonPaymentView.SetModel(null, this.StringResourceProvider); PayPalEmbeddedCheckoutPaymentView.SetModel(null, this.StringResourceProvider); MoneybookersQuickCheckoutPaymentView.SetModel(null, this.StringResourceProvider); ECheckPaymentView.SetModel(null, this.StringResourceProvider); WorldPayPaymentView.SetModel(null, this.StringResourceProvider); foreach (var paymentModel in this.Model.PaymentMethods) { var paymentView = FindPaymentMethodView(paymentModel.Key); if (paymentView != null) { paymentView.SetModel(paymentModel.Value, this.StringResourceProvider); ((IPaymentMethodView)paymentView).PaymentFormSubmitted += OPCControls_PaymentFormAndBillingAddress_PaymentFormSubmitted; } if (paymentModel.Value.PaymentType == PaymentType.SecureNet) { SecureNetPaymentView.ExistingCreditCardSelected += (o, e) => CreditCardPaymentForm.Hide(); SecureNetPaymentView.NewCreditCardSelected += (o, e) => { CreditCardPaymentForm.Initialize(); CreditCardPaymentForm.Show(); CreditCardPaymentForm.BindView(); }; Model.ProcessingPayment += (o, e) => { if (!(e.PaymentMethod is CreditCardPaymentModel) && !(e.PaymentMethod is SecureNetPaymentModel)) { return; } ((SecureNetPaymentModel)paymentModel.Value).SwitchPaymentMethod(); }; } } this.ActivatePaymentView(); }
public override void InitHelpers() { base.InitHelpers(); if (CurrentRequestData.DatabaseIsInstalled) { _kernel = MrCMSApplication.Get <IKernel>(); _stringResourceProvider = MrCMSApplication.Get <IStringResourceProvider>(); GetCurrentLayout = MrCMSApplication.Get <IGetCurrentLayout>(); } }
public FileAdminService(IFileService fileService, ISession session, IStringResourceProvider stringResourceProvider, IRepository <MediaCategory> mediaCategoryRepository, MediaSettings mediaSettings, IGetDocumentsByParent <MediaCategory> getDocumentsByParent) { _fileService = fileService; _session = session; _stringResourceProvider = stringResourceProvider; _mediaCategoryRepository = mediaCategoryRepository; _mediaSettings = mediaSettings; _getDocumentsByParent = getDocumentsByParent; }
public LoginController(IResetPasswordService resetPasswordService, IUniquePageService uniquePageService, ILoginService loginService, IStringResourceProvider stringResourceProvider, IUserLookup userLookup, ILogUserIn logUserIn, ISetVerifiedUserData setVerifiedUserData) { _resetPasswordService = resetPasswordService; _uniquePageService = uniquePageService; _loginService = loginService; _stringResourceProvider = stringResourceProvider; _userLookup = userLookup; _logUserIn = logUserIn; _setVerifiedUserData = setVerifiedUserData; }
public SagePayPiController( NoticeProvider noticeProvider, IPaymentOptionProvider paymentOptionProvider, IPersistedCheckoutContextProvider persistedCheckoutContextProvider, IStringResourceProvider stringResourceProvider, AppConfigProvider appConfigProvider) { NoticeProvider = noticeProvider; PaymentOptionProvider = paymentOptionProvider; PersistedCheckoutContextProvider = persistedCheckoutContextProvider; StringResourceProvider = stringResourceProvider; AppConfigProvider = appConfigProvider; }
public ExternalLoginController(IAuthenticationManager authenticationManager, IExternalLoginService externalLoginService, IUniquePageService uniquePageService, IStringResourceProvider stringResourceProvider, IGetVerifiedUserResult getVerifiedUserResult, ILogUserIn logUserIn, ISetVerifiedUserData setVerifiedUserData) { _authenticationManager = authenticationManager; _externalLoginService = externalLoginService; _uniquePageService = uniquePageService; _stringResourceProvider = stringResourceProvider; _getVerifiedUserResult = getVerifiedUserResult; _logUserIn = logUserIn; _setVerifiedUserData = setVerifiedUserData; }
public GetValidDiscounts(ISession session, ICartDiscountApplicationService cartDiscountApplicationService, IStringResourceProvider stringResourceProvider) { _session = session; _cartDiscountApplicationService = cartDiscountApplicationService; _stringResourceProvider = stringResourceProvider; }
public OrderExportService(ISession session, IStringResourceProvider stringResourceProvider) { _session = session; _stringResourceProvider = stringResourceProvider; }
public WarehouseAdminService(ISession session, IStringResourceProvider stringResourceProvider) { _session = session; _stringResourceProvider = stringResourceProvider; }
public StringResourceUpdateService(IStringResourceProvider provider, ISession session) { _provider = provider; _session = session; }
public AllImagesHaveAltTags(IStringResourceProvider stringResourceProvider) { _stringResourceProvider = stringResourceProvider; }