public PostCreationService(
     IUnitOfWorkFactory unitOfWorkFactory,
     IPostTaggingService postTaggingService,
     ILocationNameService locationNameService,
     OctopostSettings settings)
 {
     this.unitOfWorkFactory   = unitOfWorkFactory;
     this.postTaggingService  = postTaggingService;
     this.locationNameService = locationNameService;
     this.settings            = settings;
 }
 public PostFilterService(
     IQueryService queryService,
     IVoteCountService voteCountService,
     IPostTaggingService postTaggingService,
     IPagingValidator pagingValidator,
     ICommentFilterService commentFilterService,
     IFileService fileService)
 {
     this.queryService         = queryService;
     this.voteCountService     = voteCountService;
     this.postTaggingService   = postTaggingService;
     this.pagingValidator      = pagingValidator;
     this.commentFilterService = commentFilterService;
     this.fileService          = fileService;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TagsController"/> class.
 /// </summary>
 /// <param name="postTaggingService">The service used to tag a post.</param>
 /// <param name="apiResultService">The service to format API results.</param>
 public TagsController(IPostTaggingService postTaggingService, IApiResultService apiResultService)
 {
     this.apiResultService   = apiResultService;
     this.postTaggingService = postTaggingService;
 }