コード例 #1
0
ファイル: ProfileController.cs プロジェクト: clumsy86/ITNews
 public ProfileController(IMapper mapper, IUserService userService, IProfilService profileService, IPostTagService postTagService)
 {
     this.mapper         = mapper;
     this.userService    = userService;
     this.profileService = profileService;
     this.postTagService = postTagService;
 }
コード例 #2
0
ファイル: AdminController.cs プロジェクト: lxr1229/MyBlog
 public AdminController(ICategoryService category, IPostTagService postTag, IMapper mapper, IPostService post)
 {
     _category = category;
     _mapper   = mapper;
     _post     = post;
     _postTag  = postTag;
 }
コード例 #3
0
 public PostService(IUnitOfWork <GenericBaseEntityRepository <Post> > unitOfWork, ITagService tagService,
                    IPostTagService postTagService)
 {
     _unitOfWork     = unitOfWork;
     _tagService     = tagService;
     _postTagService = postTagService;
 }
コード例 #4
0
ファイル: Edit.cshtml.cs プロジェクト: behnix/ShopCore
 public EditModel(IPostService postService, ITagService tagService, IGroupService groupService, IPostTagService postTagService, AppUserManager userManager)
 {
     _postService    = postService;
     _tagService     = tagService;
     _groupService   = groupService;
     _postTagService = postTagService;
     _userManager    = userManager;
 }
コード例 #5
0
 public TagService(IBaseRepository <Tag> tagRepository,
                   IPostTagService postTagServe,
                   IMapper mapper)
 {
     _tagRepository  = tagRepository;
     _postTagService = postTagServe;
     _mapper         = mapper;
 }
コード例 #6
0
        public PostApiController(IPostService postService, IPostTagService postTagService, IMemoryCache cache)
        {
            _postService    = postService;
            _postTagService = postTagService;
            _cache          = cache;

            cacheEntryOptions = new MemoryCacheEntryOptions()
                                .SetSlidingExpiration(TimeSpan.FromDays(1));
        }
コード例 #7
0
ファイル: AuthorController.cs プロジェクト: lxr1229/MyBlog
 public AuthorController(IPostService post, ICategoryService category, ITagService tag, IPostTagService postTag, IMapper mapper, UserManager <BlogUser> userManager)
 {
     _post        = post;
     _category    = category;
     _tag         = tag;
     _postTag     = postTag;
     _mapper      = mapper;
     _userManager = userManager;
 }
コード例 #8
0
 public PostController(IPostService post, IUnitOfWork unitOfWork, ICategoryService category, ITagService tag, IPostTagService postTag, IMapper mapper, UserManager <BlogUser> userManager)
 {
     _post        = post;
     _unitOfWork  = unitOfWork;
     _category    = category;
     _tag         = tag;
     _postTag     = postTag;
     _mapper      = mapper;
     _userManager = userManager;
 }
コード例 #9
0
 public PostsController(IMapper mapper, ITagService tagService, IUserService userService, ICategoryService categoryService, ILogger <PostsController> logger, IPostService postService, IPostTagService PostTagService)
 {
     _logger          = logger;
     _postService     = postService;
     _PostTagService  = PostTagService;
     _categoryService = categoryService;
     _userService     = userService;
     _tagService      = tagService;
     _mapper          = mapper;
 }
コード例 #10
0
 public UIKitController(ICategoryService _categoryService,
                        IPostService _postService,
                        IUrlService _urlService,
                        IPostTagService _tagService,
                        ICacheManager _cacheManager,
                        ISettingService _settingService)
 {
     categoryService = _categoryService;
     postService     = _postService;
     urlService      = _urlService;
     tagService      = _tagService;
     cacheManager    = _cacheManager;
     settingService  = _settingService;
 }
コード例 #11
0
 public PostService(IBaseRepository <Post> postRepository,
                    IBaseRepository <User> userRepository,
                    ITagService tagService,
                    IPostTagService postTagService,
                    IFileUploadService fileUploadService,
                    IMapper mapper)
 {
     _postRepository    = postRepository;
     _userRepository    = userRepository;
     _tagService        = tagService;
     _postTagService    = postTagService;
     _fileUploadService = fileUploadService;
     _mapper            = mapper;
 }
コード例 #12
0
ファイル: MainController.cs プロジェクト: clumsy86/ITNews
 public MainController(IPostService postService, IMapper mapper, ICategoryService categoryService,
                       ITagService tagService, IPostTagService postTagService, IUserService userService, ICommentService commentService,
                       IProfilService profileService, ILikeService likeService, IPostRatingService postRatingService)
 {
     this.postService       = postService;
     this.mapper            = mapper;
     this.categoryService   = categoryService;
     this.tagService        = tagService;
     this.postTagService    = postTagService;
     this.userService       = userService;
     this.commentService    = commentService;
     this.profileService    = profileService;
     this.likeService       = likeService;
     this.postRatingService = postRatingService;
 }
コード例 #13
0
ファイル: Post.cs プロジェクト: eternalteach/BookWarm
 public PostController(ISettingService _settingService,
                       IPostService _postService,
                       ICategoryService _categoryService,
                       IUrlService _urlService,
                       IMediaStorageService _mediaStorageService,
                       IPostTagService _postTagService,
                       ICacheManager _cacheManager)
 {
     settingService      = _settingService;
     postService         = _postService;
     categoryService     = _categoryService;
     urlService          = _urlService;
     mediaStorageService = _mediaStorageService;
     postTagService      = _postTagService;
     cacheManager        = _cacheManager;
 }
コード例 #14
0
 public BlogController(ICategoryService _categoryService,
                       IPostService _postService,
                       IUrlService _urlService,
                       IPostTagService _tagService,
                       ISettingService _settingService,
                       IMediaStorageService _mediaStorageService,
                       ISocialNetworkService _socialNetworkService,
                       ApplicationUserService _userService)
 {
     categoryService      = _categoryService;
     postService          = _postService;
     urlService           = _urlService;
     tagService           = _tagService;
     settingService       = _settingService;
     mediaStorageService  = _mediaStorageService;
     socialNetworkService = _socialNetworkService;
     userService          = _userService;
 }
コード例 #15
0
ファイル: PostService.cs プロジェクト: eternalteach/BookWarm
 public PostService(IRepository <Post> _postRepository,
                    IRepository <Comment> _commentRepository,
                    ICacheManager _cacheManager,
                    IMediaStorageService _mediaStorageService,
                    ICategoryService _categoryService,
                    IPostTagService _tagService,
                    IUrlService _urlService,
                    ApplicationUserService _userService)
 {
     postRepository      = _postRepository;
     commentRepository   = _commentRepository;
     cacheManager        = _cacheManager;
     mediaStorageService = _mediaStorageService;
     categoryService     = _categoryService;
     tagService          = _tagService;
     urlService          = _urlService;
     userService         = _userService;
 }
コード例 #16
0
ファイル: Role.cs プロジェクト: eternalteach/BookWarm
 public RoleController(ISettingService _settingService,
                       IPostService _postService,
                       IPortfolioService _portfolioService,
                       ICategoryService _categoryService,
                       IPortfolioCategoryService _portfolioCategoryService,
                       IUrlService _urlService,
                       ITeamMemberService _teamMemberService,
                       IClietTestimonialsService _testimonialsService,
                       ISocialNetworkService _socialNetworkService,
                       IMediaStorageService _mediaStorageService,
                       IPostTagService _postTagService,
                       ICacheManager _cacheManager,
                       IJobService _jobService,
                       IJobCategoryService _jobCategoryService,
                       ISubscriberService _subscriberService,
                       IApplyJobService _applyJobService,
                       IContactService _contactService)
 {
     db = new DataContext();
 }
コード例 #17
0
 public PostController(IPostService postService,
                       ICategoryService categoryService,
                       ICustomerService customerService,
                       IUrlRecordService urlRecordService,
                       IWorkContext workContext,
                       ILanguageService languageService,
                       ILocalizationService localizationService,
                       ILocalizedEntityService localizedEntityService,
                       IPictureService pictureService,
                       IExportManager exportManager,
                       IImportManager importManager,
                       ICustomerActivityService customerActivityService,
                       IPermissionService permissionService,
                       IAclService aclService,
                       ICacheManager cacheManager,
                       IDateTimeHelper dateTimeHelper,
                       IPostTagService postTagService, IPostTemplateService postTemplateService)
 {
     _postService             = postService;
     _categoryService         = categoryService;
     _customerService         = customerService;
     _urlRecordService        = urlRecordService;
     _workContext             = workContext;
     _languageService         = languageService;
     _localizationService     = localizationService;
     _localizedEntityService  = localizedEntityService;
     _pictureService          = pictureService;
     _exportManager           = exportManager;
     _importManager           = importManager;
     _customerActivityService = customerActivityService;
     _permissionService       = permissionService;
     _aclService          = aclService;
     _cacheManager        = cacheManager;
     _dateTimeHelper      = dateTimeHelper;
     _postTagService      = postTagService;
     _postTemplateService = postTemplateService;
 }
コード例 #18
0
ファイル: Portfolio.cs プロジェクト: eternalteach/BookWarm
 public PortfolioController(ISettingService _settingService,
                            IPostService _postService,
                            IPortfolioService _portfolioService,
                            ICategoryService _categoryService,
                            IPortfolioCategoryService _portfolioCategoryService,
                            IUrlService _urlService,
                            ITeamMemberService _teamMemberService,
                            IClietTestimonialsService _testimonialsService,
                            ISocialNetworkService _socialNetworkService,
                            IMediaStorageService _mediaStorageService,
                            IPostTagService _postTagService,
                            ICacheManager _cacheManager,
                            IJobService _jobService,
                            IJobCategoryService _jobCategoryService,
                            ISubscriberService _subscriberService,
                            IApplyJobService _applyJobService,
                            IContactService _contactService)
 {
     settingService           = _settingService;
     portfolioService         = _portfolioService;
     postService              = _postService;
     categoryService          = _categoryService;
     urlService               = _urlService;
     teamMemberService        = _teamMemberService;
     testimonialsService      = _testimonialsService;
     socialNetworkService     = _socialNetworkService;
     mediaStorageService      = _mediaStorageService;
     postTagService           = _postTagService;
     portfolioCategoryService = _portfolioCategoryService;
     cacheManager             = _cacheManager;
     jobService               = _jobService;
     jobCategoryService       = _jobCategoryService;
     subscriberService        = _subscriberService;
     applyJobService          = _applyJobService;
     contactService           = _contactService;
 }
コード例 #19
0
 public TagsViewComponent(IMapper mapper, ITagService tagService, IPostTagService postTagService)
 {
     this.mapper         = mapper;
     this.tagService     = tagService;
     this.postTagService = postTagService;
 }
コード例 #20
0
ファイル: PostService.cs プロジェクト: behnix/ShopCore
 public PostService(ApplicationDbContext context, ITagService tagService, IPostTagService postTagService)
 {
     _context        = context;
     _tagService     = tagService;
     _postTagService = postTagService;
 }
コード例 #21
0
 public PostTagApiController(IPostTagService postTagService)
 {
     _postTagService = postTagService;
 }
コード例 #22
0
 public TagService(ApplicationDbContext context, IPostTagService postTagService)
 {
     this.context        = context;
     this.postTagService = postTagService;
 }
コード例 #23
0
 public SearchApiController(IPostService postService, IPostTagService postTagService, ISearchService searchService)
 {
     _postService    = postService;
     _searchService  = searchService;
     _postTagService = postTagService;
 }
コード例 #24
0
 public PostService(ApplicationDbContext context, ITagService tagService, IPostTagService postTagService)
 {
     this.context        = context;
     this.tagService     = tagService;
     this.postTagService = postTagService;
 }
コード例 #25
0
 public PostController(IAccountService accountService, IPostService postService, IPostTagService postTagService)
 {
     _accountService = accountService;
     _postService    = postService;
     _postTagService = postTagService;
 }
コード例 #26
0
 public PostTagController(IErrorService errorService, IPostTagService postTagService) :
     base(errorService)
 {
     this._postTagService = postTagService;
 }
コード例 #27
0
ファイル: PostTagComponent.cs プロジェクト: behnix/ShopCore
 public PostTagComponent(IPostTagService postTagService)
 {
     _postTagService = postTagService;
 }