public TagEntityProvider([NotNull] ITagEntityRepository tagEntityRepository,
                                 [NotNull] ITagDataSourceProvider tagDataSourceProvider)
        {
            if (tagEntityRepository == null)
            {
                throw new ArgumentNullException(nameof(tagEntityRepository));
            }
            if (tagDataSourceProvider == null)
            {
                throw new ArgumentNullException(nameof(tagDataSourceProvider));
            }

            _tagEntityRepository   = tagEntityRepository;
            _tagDataSourceProvider = tagDataSourceProvider;
        }
Esempio n. 2
0
 public TagController(IIdeaService ideaService, ITagEntityRepository tagEntityRepository)
 {
     _ideaService = ideaService;
     _tagEntityRepository = tagEntityRepository;
 }
Esempio n. 3
0
 public ManageTagsController(ITagEntityRepository tagEntityRepository)
 {
     _tagEntityRepository = tagEntityRepository;
 }
Esempio n. 4
0
 public DocumentTagService(ITagEntityRepository tagEntityRepository)
 {
     _tagEntityRepository = tagEntityRepository;
 }