public ErrorController(IDomain domainService, IWebContent webContentService, IECommerce ecommerceService, IUser userService) : base(domainService, ecommerceService, userService, webContentService) { }
/// <summary> /// 从IWebContent设置自身的内容 /// </summary> public void SetFrom(IWebContent content) { //TODO throw new NotImplementedException(); //从content摘取新闻信息 }
public SagePayController(IDomain domainService, IECommerce ecommerceService, IUser userService, IWebContent webContentService) : base(domainService, ecommerceService, userService, webContentService) { this.DomainService = domainService; this.ECommerceService = ecommerceService; this.UserService = userService; switch (this.DomainService.GetSettingsValue(BL.SettingsKey.sagePayMode, this.DomainID).ToLowerInvariant()) { case "test": ServerMode = VspServerMode.Test; break; case "live": ServerMode = VspServerMode.Live; break; default: ServerMode = VspServerMode.Simulator; break; } switch (this.DomainService.GetSettingsValue(BL.SettingsKey.sagePayMethod, this.DomainID).ToLowerInvariant()) { case "direct": PaymentType = PaymentType.Direct; break; default: PaymentType = PaymentType.Server; break; } }
public WebHost(string basePath, IWebContent content, int port) { IsRunning = false; this.content = content; content.SetBasePath(basePath); Port = port; }
public PayPalController(IDomain domainService, IECommerce ecommerceService, IUser userService, IWebContent webContentService) : base(domainService, ecommerceService, userService, webContentService) { this.DomainService = domainService; this.ECommerceService = ecommerceService; this.UserService = userService; }
public StripeController(IDomain domainService, IECommerce ecommerceService, IUser userService, IWebContent webContentService, IStripe stripeService) : base(domainService, ecommerceService, userService, webContentService) { _domainService = domainService; _eCommerceService = ecommerceService; _stripeService = stripeService; }
public AdmnController(IUser userService, IDomain domainService, IWebContent webContentService, IWebPages webPagesService, IECommerce ecommerceService, IPOI poiService, ITemplate templateService, IPortfolio portfolioService, IGallery galleryService) : base(domainService) { this.UserService = userService; this.DomainService = domainService; this.WebContentService = webContentService; this.WebPagesService = webPagesService; this.ECommerceService = ecommerceService; this.POIService = poiService; this.TemplateService = templateService; this.PortfolioService = portfolioService; this.GalleryService = galleryService; }
public WebHost(string basePath, IWebContent content) : this(basePath, content, 8080) { }
public Api(ICache cache, ISettings settings, IWebContent webContent) { _cache = cache; _settings = settings; _webContent = webContent; }