コード例 #1
0
 public ViewModelService(
     ICategoryRepository categoryRepository,
     ISiteSettingsService settings
     )
 {
     _categoryRepository = categoryRepository;
     _settings           = settings;
 }
コード例 #2
0
 public CheckoutService(
     ISiteSettingsService siteSettingsService,
     ICartService cartService,
     IPaypalService paypalService)
 {
     _siteSettingsService = siteSettingsService;
     _cartService         = cartService;
     _paypalService       = paypalService;
 }
コード例 #3
0
ファイル: ContentService.cs プロジェクト: harpreet/TinyBlog
 public ContentService(IPostRepository postRepository, ICommentRepository commentRepository, ITagRepository tagRepository, ISiteSettingsService siteSettingsService, IMembershipService membershipService, HttpContextBase context)
 {
     _siteSettingsService = siteSettingsService;
     PostRepository = postRepository;
     CommentRepository = commentRepository;
     TagRepository = tagRepository;
     MembershipService = membershipService;
     Context = context;
 }
コード例 #4
0
ファイル: OrderService.cs プロジェクト: Muulfz/bluetapecrew
 public OrderService(ISiteSettingsService siteSettingsService,
                     IUserService users,
                     IEmailService emailService,
                     IOrderRepository orderRepository)
 {
     _siteSettingsService = siteSettingsService;
     _users           = users;
     _emailService    = emailService;
     _orderRepository = orderRepository;
 }
コード例 #5
0
 public OrderService(ISiteSettingsService siteSettingsService,
                     IEmailService emailService,
                     IOrderRepository orderRepository,
                     IMapper mapper)
 {
     _siteSettingsService = siteSettingsService;
     _emailService        = emailService;
     _orderRepository     = orderRepository;
     _mapper = mapper;
 }
コード例 #6
0
 public UserRegistrationService(
     IEmailService emailSender,
     ISiteSettingsService settings,
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager)
 {
     _emailSender   = emailSender;
     _settings      = settings;
     _userManager   = userManager;
     _signInManager = signInManager;
 }
コード例 #7
0
 public ViewModelService(
     ICategoryService categoryService,
     ISiteSettingsService settings,
     IStyleService styleService,
     IProductService productService)
 {
     _settings        = settings;
     _styleService    = styleService;
     _productService  = productService;
     _categoryService = categoryService;
 }
コード例 #8
0
 public AdminProductsController(
     IProductService productService,
     IImageService imageService,
     ISiteSettingsService siteSettingsService,
     IStyleService styleService,
     ICategoryService categoryService)
 {
     _productService      = productService;
     _imageService        = imageService;
     _siteSettingsService = siteSettingsService;
     _styleService        = styleService;
     _categoryService     = categoryService;
 }
コード例 #9
0
 public ViewModelService(
     ICategoryService categoryService,
     ISiteSettingsService settings,
     IStyleService styleService,
     IProductService productService,
     IOptions <FeatureToggles> featureToggles)
 {
     _settings        = settings;
     _styleService    = styleService;
     _productService  = productService;
     _categoryService = categoryService;
     _featureToggles  = featureToggles.Value;
 }
コード例 #10
0
 public CheckoutService(
     ISiteSettingsService siteSettingsService,
     ICartService cartService,
     IPaypalService paypalService,
     IUserService userService,
     ISessionService session)
 {
     _siteSettingsService = siteSettingsService;
     _cartService         = cartService;
     _paypalService       = paypalService;
     _userService         = userService;
     _session             = session;
 }
        public WebsiteDependencies(
            IContentRepository contentRepository,
            IContextResolver contextResolver,
            ICacheManager cacheManager,
            IAssetHandler assetHandler,
            ISiteSettingsService siteSettingsPageRepository)
        {
            Guard.ValidateObject(cacheManager);
            Guard.ValidateObject(contentRepository);
            Guard.ValidateObject(contextResolver);
            Guard.ValidateObject(assetHandler);
            Guard.ValidateObject(siteSettingsPageRepository);

            CacheManager                = cacheManager;
            ContentRepository           = contentRepository;
            ContextResolver             = contextResolver;
            AssetHandler                = assetHandler;
            _siteSettingsPageRepository = siteSettingsPageRepository;
        }
コード例 #12
0
        public PageTypeServices(
            IMenuService menuPageRepository,
            IStartPageService startPageRepository,
            ISiteSettingsService siteSettingsPageRepository,
            IContentPageService contentPageService,
            IKeyValueService keyValueRepository)
        {
            Guard.ValidateObject(menuPageRepository);
            Guard.ValidateObject(startPageRepository);
            Guard.ValidateObject(keyValueRepository);
            Guard.ValidateObject(siteSettingsPageRepository);
            Guard.ValidateObject(contentPageService);

            MenuService         = menuPageRepository;
            StartPageService    = startPageRepository;
            KeyValueService     = keyValueRepository;
            SiteSettingsService = siteSettingsPageRepository;
            ContentPageService  = contentPageService;
        }
コード例 #13
0
 public SiteSettingsController(ISiteSettingsService provider)
     : base(provider)
 {
     this.dataProvider = provider;
 }
コード例 #14
0
 public ShippingService(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #15
0
ファイル: FooterController.cs プロジェクト: harpreet/TinyBlog
 public FooterController(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #16
0
 public SiteSettingsController(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #17
0
ファイル: PostController.cs プロジェクト: jango2015/RabbitCMS
 public PostController(IThemePostService postService, ISiteSettingsService siteSettingsService, IThemeCategoryService categoryService)
 {
     _postService = postService;
     _siteSettingsService = siteSettingsService;
     _categoryService = categoryService;
 }
コード例 #18
0
 public SiteSettingsController()
 {
     siteSettingsService = ServiceLocator.Current.GetInstance<ISiteSettingsService>();
 }
コード例 #19
0
 public EmailTestController(ISiteSettingsService siteSettingsService, IEmailService emailService, ISessionService sessionService)
 {
     _siteSettingsService = siteSettingsService;
     _emailService        = emailService;
     _sessionService      = sessionService;
 }
コード例 #20
0
 public EditorController(ISiteSettingsService siteService, ISiteGenerator siteGenerator)
 {
     this.siteService   = siteService;
     this.siteGenerator = siteGenerator;
 }
コード例 #21
0
ファイル: ThemeSelector.cs プロジェクト: RabbitTeam/RabbitCMS
 public ThemeSelector(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #22
0
 public EmailSubscriptionService(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #23
0
 public SiteAdminController(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #24
0
 public PaypalTests(IntegrationTextFixture fixture)
 {
     _fixture  = fixture;
     _settings = _fixture.Resolve <ISiteSettingsService>();
 }
コード例 #25
0
 public PostController(IThemePostService postService, ISiteSettingsService siteSettingsService, IThemeCategoryService categoryService)
 {
     _postService         = postService;
     _siteSettingsService = siteSettingsService;
     _categoryService     = categoryService;
 }
コード例 #26
0
ファイル: FeedController.cs プロジェクト: harpreet/TinyBlog
 public FeedController(IContentService contentService, ISiteSettingsService siteSettingsService)
 {
     _contentService = contentService;
     _siteSettingsService = siteSettingsService;
 }
コード例 #27
0
 public WidgetsController(IDbConnection db, IMetricTracker metrics, ICacheClient cache, ISiteSettingsService siteSettingsService)
     : base(db, metrics, cache)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #28
0
ファイル: TenantService.cs プロジェクト: RabbitTeam/RabbitCMS
 public TenantService(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #29
0
ファイル: SetupController.cs プロジェクト: harpreet/TinyBlog
 public SetupController(IMembershipService membershipService, ISiteSettingsService siteSettingsService)
 {
     _membershipService = membershipService;
     _siteSettingsService = siteSettingsService;
 }
コード例 #30
0
 public WidgetsController(IDbConnection db, ICacheClient cache, IMetricTracker metrics, ISiteSettingsService siteSettingsService) : base(db, cache, metrics)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #31
0
 public SiteSettingsController()
 {
     siteSettingsService = ServiceLocator.Current.GetInstance <ISiteSettingsService>();
 }
コード例 #32
0
 public FeedController(IThemePostService postService, ISiteSettingsService siteSettingsService)
 {
     _postService  = postService;
     _siteSettings = siteSettingsService.Get().Result;
 }
コード例 #33
0
 public SiteFooterViewComponent(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }
コード例 #34
0
ファイル: TenantService.cs プロジェクト: jango2015/RabbitCMS
 public TenantService(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }
 public TransactionalEmailService(ISiteSettingsService siteSettingsService)
 {
     _siteSettingsService = siteSettingsService;
 }