コード例 #1
0
 public AdminBlogController(ICategoryService categoryService, IBlogService blogService, IBlogpageService blogpageService, IBlogCategoryService blogcategoryService)
 {
     _blogpageService     = blogpageService;
     _blogService         = blogService;
     _categoryService     = categoryService;
     _blogcategoryService = blogcategoryService;
 }
コード例 #2
0
 public NewController(IBlogService blogService,
                      IBlogCategoryService blogCategoryService
                      )
 {
     this._blogService         = blogService;
     this._blogCategoryService = blogCategoryService;
 }
コード例 #3
0
 public PublisherController(IProductService productService, IBlogService blogService,
                            IWebsiteAttributeService websiteAttributeService, IBlogCategoryService blogCategoryService,
                            IStaffService staffService, IProductAttributeMappingService productAttributeMappingService,
                            IProductRelationshipService productRelationshipService, IProductScheduleService productScheduleService,
                            IOrderService orderService, IOrderItemService orderItemService,
                            IOrderAttributeService orderAttributeService, IOrderAttributeMappingService orderAttributeMappingService,
                            IAdService adService, IAdMaterialMappingService adMaterialService, IMaterialService materialService, IDomainService domainService, ICodeService codeService)
 {
     this._productService                 = productService;
     this._blogService                    = blogService;
     this._websiteAttributeService        = websiteAttributeService;
     this._blogCategoryService            = blogCategoryService;
     this._staffService                   = staffService;
     this._productAttributeMappingService = productAttributeMappingService;
     this._productRelationshipService     = productRelationshipService;
     this._productScheduleService         = productScheduleService;
     this._orderService                   = orderService;
     this._orderAttributeService          = orderAttributeService;
     this._orderAttributeMappingService   = orderAttributeMappingService;
     this._adService = adService;
     this._adMaterialMappingService = adMaterialService;
     this._materialService          = materialService;
     this._domainService            = domainService;
     this._codeService = codeService;
 }
コード例 #4
0
 public BlogController(IBlogService blogService, IBlogCategoryService blogCategoryService, IBlogCommentRepository blogComment, IBlogTagRepository blogTagRepository, IConfiguration configuration)
 {
     _blogService         = blogService;
     _blogCategoryService = blogCategoryService;
     _blogComment         = blogComment;
     _blogTagRepository   = blogTagRepository;
     _configuration       = configuration;
 }
コード例 #5
0
ファイル: UserController.cs プロジェクト: goceren/Goceren
 public UserController(IBlogService blogService, ICategoryService categoryService, IBlogCategoryService blogcategoryService, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signinManager)
 {
     _blogService         = blogService;
     _categoryService     = categoryService;
     _userManager         = userManager;
     _blogcategoryService = blogcategoryService;
     _signinManager       = signinManager;
 }
コード例 #6
0
ファイル: BlogController.cs プロジェクト: war-man/KLTN
 public BlogController(IBlogService BlogService, IConfiguration configuration, IOptions <CloudinaryImage> cloudinaryConfig, IHostingEnvironment hostingEnvironment, IBlogCategoryService BlogCategoryService, IBillService billService)
 {
     _blogService         = BlogService;
     _configuration       = configuration;
     _hostingEnvironment  = hostingEnvironment;
     _blogCategoryService = BlogCategoryService;
     _billService         = billService;
 }
コード例 #7
0
 public BlogController(IBlogpageService blogpageService, IBlogService blogService, ICategoryService categoryService, IBlogCategoryService blogcategoryService, IViewersService viewersService)
 {
     _blogpageService     = blogpageService;
     _blogService         = blogService;
     _categoryService     = categoryService;
     _blogcategoryService = blogcategoryService;
     _viewersService      = viewersService;
 }
コード例 #8
0
 public BlogsController(IHttpContextAccessor httpContextAccessor, IBlogCategoryService blogCategoryService,
                        INotificationHandler <DomainNotification> notifications,
                        IEventDispatcher eventDispatcher)
     : base(notifications, eventDispatcher)
 {
     _httpContextAccessor = httpContextAccessor;
     _blogCategoryService = blogCategoryService;
 }
コード例 #9
0
 public BlogPostsController(IBlogPostService blogPostService, IBlogCategoryService blogCategoryService, ITagService tagService, IBlogPostCategoryService blogPostCategoryService, IBlogPostTagService blogPostTagService, IBlogPostMediaService blogPostMediaService)
 {
     _blogPostService         = blogPostService ?? throw new ArgumentNullException(nameof(blogPostService));
     _blogCategoryService     = blogCategoryService ?? throw new ArgumentNullException(nameof(blogCategoryService));
     _tagService              = tagService ?? throw new ArgumentNullException(nameof(tagService));
     _blogPostCategoryService = blogPostCategoryService ?? throw new ArgumentNullException(nameof(blogPostCategoryService));
     _blogPostTagService      = blogPostTagService ?? throw new ArgumentNullException(nameof(blogPostTagService));
     _blogPostMediaService    = blogPostMediaService ?? throw new ArgumentNullException(nameof(blogPostMediaService));
 }
 public BlogController(IBlogService blogService, IConfiguration configuration,
                       IBillService billService,
                       IBlogCategoryService blogCategoryService)
 {
     _blogService         = blogService;
     _blogCategoryService = blogCategoryService;
     _configuration       = configuration;
     _billService         = billService;
 }
コード例 #11
0
 public BlogController(ILocalAuthenticationService authenticationService,
                       IUserService userService,
                       IExternalAuthenticationService externalAuthenticationService,
                       IFormsAuthentication formsAuthentication,
                       IActionArguments actionArguments, IBlogService blogService, IBlogCategoryService categoryService)
     : base(authenticationService, userService, externalAuthenticationService, actionArguments)
 {
     _blogService     = blogService;
     _categoryService = categoryService;
 }
コード例 #12
0
        public BlogCategoryDDL()
        {
            IBlogCategoryService _service = ObjectFactory.GetInstance <IBlogCategoryService>();

            this.Items.Clear();
            this.EmptyMessage = "-- Select --";
            this.Items.Add(new RadComboBoxItem("", "0"));
            this.Skin = "Metro";
            foreach (var s in _service.GetAll().Categories.OrderBy(o => o.Name))
            {
                this.Items.Add(new RadComboBoxItem(s.Name, s.ID.ToString()));
            }
        }
コード例 #13
0
 public BlogHomeController(IProductService productService, IBlogService blogService,
                           IWebsiteAttributeService websiteAttributeService, IBlogCategoryService blogCategoryService,
                           IStaffService staffService, IProductAttributeMappingService productAttributeMappingService, IVendorService _vendorService
                           )
 {
     this._productService                 = productService;
     this._blogService                    = blogService;
     this._websiteAttributeService        = websiteAttributeService;
     this._blogCategoryService            = blogCategoryService;
     this._vendorService                  = _vendorService;
     this._staffService                   = staffService;
     this._productAttributeMappingService = productAttributeMappingService;
 }
コード例 #14
0
 public HomeController(IProductService productService, IBlogService blogService,
                       IWebsiteAttributeService websiteAttributeService, IBlogCategoryService blogCategoryService,
                       IStaffService staffService, IProductAttributeMappingService productAttributeMappingService,
                       IProductRelationshipService productRelationshipService, IProductCategoryService productcategoryService)
 {
     this._productService                 = productService;
     this._blogService                    = blogService;
     this._websiteAttributeService        = websiteAttributeService;
     this._blogCategoryService            = blogCategoryService;
     this._staffService                   = staffService;
     this._productAttributeMappingService = productAttributeMappingService;
     this._productRelationshipService     = productRelationshipService;
     this._productcategoryService         = productcategoryService;
 }
コード例 #15
0
 public HomeController(IProductService productService,
                       IBlogService blogService, ICommonService commonService,
                       IBlogCategoryService blogCategoryService,
                       IProductCategoryService productCategoryService,
                       IStringLocalizer <HomeController> localizer,
                       IConfiguration configuration)
 {
     _blogService            = blogService;
     _commonService          = commonService;
     _productService         = productService;
     _blogCategoryService    = blogCategoryService;
     _productCategoryService = productCategoryService;
     _localizer     = localizer;
     _configuration = configuration;
 }
コード例 #16
0
 public HomeController(IPictureService _pictureService, IProductService productService, IBlogService blogService,
                       IWebsiteAttributeService websiteAttributeService, IBlogCategoryService blogCategoryService,
                       IStaffService staffService, IProductAttributeMappingService productAttributeMappingService, IVendorService _vendorService
                       , IOrderService _orderService, ITypeNotifyService _typeNotifyService, IProductCategoryService _productCategoryService)
 {
     this._productCategoryService         = _productCategoryService;
     this._productService                 = productService;
     this._blogService                    = blogService;
     this._websiteAttributeService        = websiteAttributeService;
     this._blogCategoryService            = blogCategoryService;
     this._vendorService                  = _vendorService;
     this._staffService                   = staffService;
     this._productAttributeMappingService = productAttributeMappingService;
     this._orderService                   = _orderService;
     this._typeNotifyService              = _typeNotifyService;
     this._pictureService                 = _pictureService;
 }
コード例 #17
0
 public LayoutController() {
     categoryService = new BlogCategoryService();
     base.HideLayout( typeof( Blog.LayoutController ) );
 }
コード例 #18
0
 public BlogController(IBlogService blogService, IBlogCategoryService blogCategoryService, IWebHostEnvironment webHostEnvironment)
 {
     _blogService         = blogService;
     _blogCategoryService = blogCategoryService;
     _webHostEnvironment  = webHostEnvironment;
 }
コード例 #19
0
 public MenuController(IMenuService menuService, IBlogCategoryService blogCategoryService, IProductCategoryService productCategoryService)
 {
     _menuService            = menuService;
     _blogCategoryService    = blogCategoryService;
     _productCategoryService = productCategoryService;
 }
コード例 #20
0
 public BlogCategoryController(IBlogCategoryService service)
 {
     this.service = service;
 }
コード例 #21
0
 public BlogCategoryApiController(IBlogCategoryService service)
     : base(service)
 {
 }
コード例 #22
0
 public AmpController(IBlogService blogService, IBlogCategoryService blogCategoryService, IConfiguration configuration)
 {
     _blogService         = blogService;
     _blogCategoryService = blogCategoryService;
     _configuration       = configuration;
 }
コード例 #23
0
 public MobileMenuViewComponent(IMenuService menuService, IBlogCategoryService blogCategoryService, IProductCategoryService productCategoryService)
 {
     _menuService            = menuService;
     _blogCategoryService    = blogCategoryService;
     _productCategoryService = productCategoryService;
 }
コード例 #24
0
 public LayoutController()
 {
     categoryService = new BlogCategoryService();
     base.HideLayout(typeof(Blog.LayoutController));
 }
コード例 #25
0
 public BlogCategoriesController(IBlogCategoryService blogCategoryService)
 {
     _blogCategoryService = blogCategoryService ?? throw new ArgumentNullException(nameof(blogCategoryService));
 }
コード例 #26
0
 public BlogPostController(ILogger <BlogPostController> logger, IBlogPostService postService, IBlogCategoryService categoryService)
 {
     this.logger          = logger;
     this.postService     = postService;
     this.categoryService = categoryService;
 }
コード例 #27
0
 public BlogCategoryController(IBlogCategoryService blogService)
 {
     this.blogCategoryService = blogService;
 }
コード例 #28
0
 public BlogCategoryController(IBlogCategoryService blogCategoryService, IUnitOfWork unitOfWork)
 {
     _blogCategoryService = blogCategoryService;
     _unitOfWork          = unitOfWork;
 }
コード例 #29
0
 public BlogCategoryController(IBlogCategoryService blogCategoryService)
 {
     _blogCategoryService = blogCategoryService;
 }
コード例 #30
0
 public BlogCategoryController(IBlogCategoryService manageBlogCategory)
 {
     _manageBlogCategory = manageBlogCategory ?? throw new ArgumentNullException(nameof(manageBlogCategory));
 }