当前位置: 首页>>代码示例>>C#>>正文


C# ITagRepository类代码示例

本文整理汇总了C#中ITagRepository的典型用法代码示例。如果您正苦于以下问题:C# ITagRepository类的具体用法?C# ITagRepository怎么用?C# ITagRepository使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ITagRepository类属于命名空间,在下文中一共展示了ITagRepository类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: SearchTasks

 public SearchTasks(
     IAssertionRepository assertionRepository,
     ITagRepository tagRepository)
 {
     this.assertionRepository = assertionRepository;
     this.tagRepository = tagRepository;
 }
开发者ID:jonhilt,项目名称:Who-Can-Help-Me,代码行数:7,代码来源:SearchTasks.cs

示例2: SpiderFactory

        public SpiderFactory(ILogger logger, ISecurityContext securityContext, IMediaFactory mediaFactory, ILinkRepository linkRepository, ITagRepository tagRepository, IMediaRepository mediaRepository, IMetadataRepository mediaItemRepository, IAudioStreamFactory audioStreamFactory)
        {
            if (logger == null)
                throw new ArgumentNullException("logger");
            if (securityContext == null)
                throw new ArgumentNullException("securityContext");
            if (mediaFactory == null)
                throw new ArgumentNullException("mediaFactory");
            if (linkRepository == null)
                throw new ArgumentNullException("linkRepository");
            if (tagRepository == null)
                throw new ArgumentNullException("tagRepository");
            if (mediaRepository == null)
                throw new ArgumentNullException("mediaRepository");
            if (mediaItemRepository == null)
                throw new ArgumentNullException("mediaItemRepository");

            this.logger = logger;
            this.securityContext = securityContext;
            this.securityContext = securityContext;
            this.mediaFactory = mediaFactory;
            this.linkRepository = linkRepository;
            this.tagRepository = tagRepository;
            this.mediaRepository = mediaRepository;
            this.mediaItemRepository = mediaItemRepository;
            this.audioStreamFactory = audioStreamFactory;
        }
开发者ID:bossaia,项目名称:alexandrialibrary,代码行数:27,代码来源:SpiderFactory.cs

示例3: ReportService

 public ReportService(IRecordRepository repository, IReportConverter converter, IRecordValidator recordValidator, ITagRepository tagRepository)
 {
     _recordsRepository = repository;
     _converter = converter;
     _recordValidator = recordValidator;
     _tagRepository = tagRepository;
 }
开发者ID:MikeK93,项目名称:ReportApp,代码行数:7,代码来源:ReportService.cs

示例4: ProductController

 public ProductController(IBrandRepository brandRepository, ITagRepository tagRepository, IProductRepository productRepository, IStoreRepository storeRepository)
 {
     _productRepository = productRepository;
     _storeRepository = storeRepository;
     _brandRepository = brandRepository;
     _tagRepository = tagRepository;
 }
开发者ID:ngnono,项目名称:NG.FM,代码行数:7,代码来源:ProductController.cs

示例5: AlbumService

 public AlbumService(IUsersRepository usersRepository, IAlbumRepository albumRepository, IPhotoRepository photoRepository, ITagRepository tagRepository)
 {
     this.mUserRepository = usersRepository;
     this.mAlbumRepository = albumRepository;
     this.mPhotoRepository = photoRepository;
     this.mTagRepository = tagRepository;
 }
开发者ID:janstadt,项目名称:anstadtfamily,代码行数:7,代码来源:AlbumService.cs

示例6: YearController

 /// <summary>
 /// Initializes a new instance of the <see cref="YearController"/> class.
 /// </summary>
 /// <param name="recentRepository">The recent repository.</param>
 /// <param name="tagService">The tag service.</param>
 /// <param name="tagRepository">The tag repository.</param>
 /// <param name="persistentCollectionService">The persistent collection service.</param>
 public YearController(IRecentRepository recentRepository, ITagService tagService, ITagRepository tagRepository, IPersistentCollectionService persistentCollectionService)
 {
     _recentRepository = recentRepository;
     _persistentCollectionService = persistentCollectionService;
     _tagRepository = tagRepository;
     _tagService = tagService;
 }
开发者ID:chuckconway,项目名称:the-memorable-moments,代码行数:14,代码来源:YearController.cs

示例7: TagsController

        public TagsController(ITagRepository tagRepository, ISettingsProvider settingsProvider)
        {
            _tagRepository = tagRepository;
            _settingsProvider = settingsProvider;

            PageSize = _settingsProvider.GetSettings().PageSize;
        }
开发者ID:OrenTiger,项目名称:my-personal-blog,代码行数:7,代码来源:TagsController.cs

示例8: ConceptsService

 public ConceptsService(
     IConceptRepository conceptRepository,
     ITagRepository tagRepository)
 {
     this.conceptRepository = conceptRepository;
     this.tagRepository = tagRepository;
 }
开发者ID:jstadnicki,项目名称:tbi,代码行数:7,代码来源:ConceptsService.cs

示例9: StatusReportController

        public StatusReportController(IStatusReportRepository repository, ITopicRepository topicRepository, IProjectRepository projectRepository, IResourceRepository resourceRepository, IStatusReportManager statusReportManager, ITagRepository tagRepository)
        {
            _repository = repository;
            _topicRepository = topicRepository;
            _projectRepository = projectRepository;
            _resourceRepository = resourceRepository;
            _tagRepository = tagRepository;
            _statusReportManager = statusReportManager;
            Mapper.CreateMap<StatusReport, StatusReportViewModel>()
                .ForMember(m => m.NumberOfStatusItems, opt => opt.ResolveUsing<NumberOfStatusItemsFormatter>());
            Mapper.CreateMap<StatusItem, StatusReportItemViewModel>()
                .ForMember(m => m.TagsString, opt =>
                {
                    opt.MapFrom(src =>
                        String.Join(",", (from tag in src.Tags
                                          select tag.Name)));
                    opt.NullSubstitute(String.Empty);
                }
                                      );

            Mapper.CreateMap<StatusReportItemViewModel, StatusItem>();

            Mapper.CreateMap<Project, ProjectViewModel>();

            Mapper.CreateMap<Tag, TagViewModel>();
            //.ForMember(m => m.StatusReportId, opt => opt.M);
            //.ForMember(dest => dest.ProjectLeadFullName, opt => opt.MapFrom(src => src.Project.Lead.FullName))
            //.ForMember(dest => dest.ProjectTeamLeadFullName, opt => opt.MapFrom(src => src.Project.Team.Lead.FullName));
        }
开发者ID:dneigler,项目名称:Status-Again,代码行数:29,代码来源:StatusReportController.cs

示例10: RefRepositoryTestMethods

 internal RefRepositoryTestMethods(ICommitRepository cmrepo, IStreamedBlobRepository blrepo, ITreeRepository trrepo, ITagRepository tgrepo, IRefRepository rfrepo)
 {
     this.cmrepo = cmrepo;
     this.blrepo = blrepo;
     this.trrepo = trrepo;
     this.tgrepo = tgrepo;
     this.rfrepo = rfrepo;
 }
开发者ID:JamesDunne,项目名称:Immutable-Versioned-Objects,代码行数:8,代码来源:RefRepositoryTestMethods.cs

示例11: SearchController

 public SearchController(IArticleService articleService, ITagRepository tagRepository,
     IBlogService blogService, IUserService userService)
 {
     _articleService = articleService;
     _tagRepository = tagRepository;
     _blogService = blogService;
     _userService = userService;
 }
开发者ID:opolkosergey,项目名称:Blog.ASP.Net.Opolko,代码行数:8,代码来源:SearchController.cs

示例12: PropertyValueController

 public PropertyValueController(ITagRepository tagRepo,
     ICategoryPropertyRepository tagpropertyRepo,
     ICategoryPropertyValueRepository tagpropertyvalRepo)
 {
     _tagRepo = tagRepo;
     _tagpropertyRepo = tagpropertyRepo;
     _tagpropertyvalueRepo = tagpropertyvalRepo;
 }
开发者ID:huayumeng,项目名称:ytoo.service,代码行数:8,代码来源:PropertyValueController.cs

示例13: IncomingMessageProcessor

 public IncomingMessageProcessor(IMessageRepository messageRepository, ITagRepository tagRepository, IMessageParser messageParser, IValidMessageReceiver validMessageReceiver, IAllMessageReceiver allMessageReceiver)
 {
     _messageRepository = messageRepository;
     _messageParser = messageParser;
     _tagRepository = tagRepository;
     _validMessageReceiver = validMessageReceiver;
     _allMessageReceiver = allMessageReceiver;
 }
开发者ID:utunga,项目名称:Tradeify,代码行数:8,代码来源:IncomingMessageProcessor.cs

示例14: PostsController

        public PostsController(IPostRepository postRepository, ITagRepository tagRepository, ISettingsProvider settingsProvider)
        {
            _postRepository = postRepository;
            _tagRepository = tagRepository;
            _settingsProvider = settingsProvider;

            PageSize = _settingsProvider.GetSettings().PageSize;
        }
开发者ID:OrenTiger,项目名称:my-personal-blog,代码行数:8,代码来源:PostsController.cs

示例15: TagController

 public TagController(
     ITagRepository tagRepository,
     IArticleTagRepository atRepository
 )
 {
     _tagRepository = tagRepository;
     _atRepository = atRepository;
 }
开发者ID:alienblog,项目名称:Rc,代码行数:8,代码来源:TagController.cs


注:本文中的ITagRepository类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。