public AdminPostCommentsViewModel(IMvxNavigationService navigationService,
                                   IPostCommentService commentForPostService)
 {
     _navigationService     = navigationService;
     _commentForPostService = commentForPostService;
     PostCommentViewModels  = new MvxObservableCollection <PostCommentViewModel>();
 }
 public PostsController(IPostService postService, IPostCommentService postCommentService, ICategoryService categoryService, IMapper mapper)
 {
     _postService        = postService;
     _postCommentService = postCommentService;
     _categoryService    = categoryService;
     _mapper             = mapper;
 }
Пример #3
0
 public CommentsController(IPostCommentService postCommentService, IPostService postService, IMappingService mappingService, IPaginator paginator)
     : base(mappingService)
 {
     this.postCommentService = postCommentService ?? throw new ArgumentNullException();
     this.postService        = postService ?? throw new ArgumentNullException();
     this.paginator          = paginator ?? throw new ArgumentNullException();
 }
Пример #4
0
 public ReadController(IPostService postService, IPostCommentService postCommentService, IAnalyticsService analyticsService, IUserService userService, IThemeService themeService)
 {
     _postService        = postService;
     _postCommentService = postCommentService;
     _analyticsService   = analyticsService;
     _userService        = userService;
     _themeService       = themeService;
 }
Пример #5
0
 public PostCommentsController(ILogger <PostCommentsController> logger,
                               IPostService postService,
                               IUserService userService,
                               IPostCommentService postCommentService)
 {
     _logger             = logger;
     _postService        = postService;
     _userService        = userService;
     _postCommentService = postCommentService;
     _logger.LogTrace("PostCommentController created");
 }
Пример #6
0
 public PostController(ICategoryService categoryService,
                       IPostService postService,
                       IContentLabelService labelService,
                       ISettingService settingService,
                       ICustomerService customerService,
                       IPostLabelService postLabelService,
                       IPostCommentService commentService,
                       ICacheManager cacheManager)
 {
     this._categoryService  = categoryService;
     this._postService      = postService;
     this._labelService     = labelService;
     this._settingService   = settingService;
     this._customerService  = customerService;
     this._cacheManager     = cacheManager;
     this._postLabelService = postLabelService;
     this._commentService   = commentService;
 }
Пример #7
0
        public PostController(IPostService postService,
                              IOptions <CloudinarySettings> options, IPostCommentService postCommentService,
                              IPostImageService postImageService, IPostVideoService postVideoService, UserManager <AppUser> userManager, IUserService userService)
        {
            _postService        = postService;
            _options            = options;
            _postImageService   = postImageService;
            _postVideoService   = postVideoService;
            _postCommentService = postCommentService;
            _userManager        = userManager;
            _userService        = userService;

            Account account = new Account(
                _options.Value.CloudName,
                _options.Value.ApiKey,
                _options.Value.ApiSecret);

            _cloudinary = new Cloudinary(account);
        }
Пример #8
0
 public PostCommentController(IPostCommentService postCommentService)
 {
     _postCommentService = postCommentService;
 }
 /// <summary>
 /// Create new Function that posts comments
 /// </summary>
 /// <param name="postCommentService">Comment posting service. This does the actual work.</param>
 public PostCommentToPullRequestFunction(IPostCommentService postCommentService)
 {
     _postCommentService = postCommentService;
 }
Пример #10
0
 public PostCommentsViewModel(IMvxNavigationService navigationService, IPostCommentService postCommentService, IPostService postService)
 {
     _navigationService  = navigationService;
     _postCommentService = postCommentService;
     _postService        = postService;
 }
Пример #11
0
 public CommentsController(IPostCommentService postCommentService, ILogger <CommentsController> logger)
 {
     _postCommentService = postCommentService;
     _logger             = logger;
 }
Пример #12
0
 public DashboardController(IPostService postService, IPostCommentService commentService, IImageService imageService)
 {
     _postService    = postService;
     _commentService = commentService;
     _imageService   = imageService;
 }
 public UsersController(IPostCommentService postCommentService, IMapper mapper)
 {
     _postCommentService = postCommentService;
     _mapper             = mapper;
 }
Пример #14
0
 public PostCommentController(IPostCommentService commentForPostService)
 {
     _commentForPostService = commentForPostService;
 }