public TagController(ITagService tagService, ITagMapper tagMapper, IWordMapper wordMapper, IWordService wordService) { _tagService = tagService; _tagMapper = tagMapper; _wordMapper = wordMapper; _wordService = wordService; }
public WordTranslationService(IUnitOfWorkFactory unitOfWorkFactory, IWordTranslationMapper wordTranslationMapper, IWordMapper wordMapper, ITagMapper tagMapper) { this.unitOfWorkFactory = unitOfWorkFactory; this.wordTranslationMapper = wordTranslationMapper; this.wordMapper = wordMapper; this.tagMapper = tagMapper; }
public CommandsHandler(IBlogRepository blogRepository, IBlogPostMetadataResolver postMetadataResolver, ITagMapper tagMapper, IEmailService emailService, IUserRepository userRepository) { _blogRepository = blogRepository; _postMetadataResolver = postMetadataResolver; _tagMapper = tagMapper; _emailService = emailService; _userRepository = userRepository; }
public QueriesHandler(IMarkdownService markdownService, IBlogRepository blogRepository, ITagMapper tagMapper, IMapper <BlogPostHeader, BlogPostHeaderDto> headerMapper, IUserRepository userRepository) { _markdownService = markdownService; _blogRepository = blogRepository; _tagMapper = tagMapper; _headerMapper = headerMapper; _userRepository = userRepository; }
/// <summary> /// Initializes a new instance of the <see cref="MemcachedServiceCache"/> class. /// </summary> /// <param name="client">The client.</param> /// <param name="tagMapper">The tag mapper.</param> public MemcachedServiceCache(IMemcachedClient client, ITagMapper tagMapper) { if (client == null) { throw new ArgumentNullException("client"); } Cache = client; _tagMapper = tagMapper; Settings = new ServiceCacheSettings(); }
public WordsController(IWordMapper mapper, IWordService service, IWordTranslationService wordTranslationService, IWordManagingService wordManagService, ITagService tagService, ITagMapper tagMapper) { _mapper = mapper; _wordService = service; _wordTranslationService = wordTranslationService; _tagService = tagService; _wordManagService = wordManagService; _tagMapper = tagMapper; }
/// <summary> /// Initializes a new instance of the <see cref="TagController"/> class. /// </summary> /// <param name="logger">Logs errors and information.</param> /// <param name="telemetryClient">The Application Insights telemetry client.</param> /// <param name="unitOfWork">Tag repository for working with tag data.</param> /// <param name="tagMapper">The instance of tag mapper class to work with models.</param> /// <param name="usersService">Instance of user service to get user data.</param> public TagController( ILogger <TagController> logger, TelemetryClient telemetryClient, IUnitOfWork unitOfWork, ITagMapper tagMapper, IUsersService usersService) : base(telemetryClient) { this.logger = logger; this.unitOfWork = unitOfWork; this.tagMapper = tagMapper; this.usersService = usersService; }
public WordTranslationController(IWordTranslationService wordTranslationService, IWordTranslationMapper wordTranslationMapper, IWordManagingService editService, IWordService wordService, ITagService tagService, ITagMapper tagMapper) { this.wordTranslationService = wordTranslationService; this.wordTranslationMapper = wordTranslationMapper; this.editService = editService; this.wordService = wordService; this.tagService = tagService; this.tagMapper = tagMapper; }
public WordTranslationController(IWordTranslationService wordTranslationService, IWordTranslationMapper wordTranslationMapper, IWordService wordService, IWordMapper wordMapper, ITagService tagService, ITagMapper tagMapper) { this.wordTranslationService = wordTranslationService; this.wordTranslationMapper = wordTranslationMapper; this.wordService = wordService; this.wordMapper = wordMapper; this.tagService = tagService; this.tagMapper = tagMapper; }
public BlogPostBlogPostHeaderDtoMapper(ITagMapper tagMapper) { _tagMapper = tagMapper; }
public TagService(IUnitOfWorkFactory factory, ITagMapper tagMapper) { this._unitOfWorkFactory = factory; this.tagMapper = tagMapper; }