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


C# ITagService类代码示例

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


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

示例1: BlogsApiContext

 /// <summary>
 /// Initializes a new instance of the <see cref="BlogsApiContext" /> class.
 /// </summary>
 /// <param name="lifetimeScope">The lifetime scope.</param>
 /// <param name="tagService">The tag service.</param>
 /// <param name="blogService">The blog service.</param>
 /// <param name="authorService">The author service.</param>
 /// <param name="repository">The repository.</param>
 public BlogsApiContext(ILifetimeScope lifetimeScope, ITagService tagService, IBlogService blogService, IAuthorService authorService, IRepository repository = null)
     : base(lifetimeScope, repository)
 {
     this.tagService = tagService;
     this.blogService = blogService;
     this.authorService = authorService;
 }
开发者ID:tkirda,项目名称:BetterCMS,代码行数:15,代码来源:BlogsApiContext.cs

示例2: ImagenesController

 public ImagenesController(
     IImagenService imagenService,
     ITagService tagService)
 {
     this.imagenService = imagenService;
     this.tagService = tagService;
 }
开发者ID:cfragout,项目名称:ImageRepo,代码行数:7,代码来源:ImagenesController.cs

示例3: EntryController

 public EntryController(IEntryService entryService, ICommentService commentService, IBlogService blogService, ITagService tagService)
 {
     _entryService = entryService;
     _commentService = commentService;
     _blogService = blogService;
     _tagService = tagService;
 }
开发者ID:nancy-bree,项目名称:Bloghost,代码行数:7,代码来源:EntryController.cs

示例4: ContentControllerBase

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="log"></param>
        /// <param name="localizationService"></param>
        /// <param name="siteService"></param>
        /// <param name="userService"></param>
        /// <param name="contentItemService"></param>
        /// <param name="contentItemServiceForPage"></param>
        /// <param name="commentService"></param>
        /// <param name="categoryService"></param>
        /// <param name="tagService"></param>
        /// <param name="searchService"></param>
        /// <param name="widgetService"></param>
        /// <param name="messageService"></param>
        protected ContentControllerBase( ILog log, 
                                       ILocalizationService localizationService,
                                       ISiteService siteService,
                                       IUserService userService,
                                       IContentItemService<Post> contentItemService,
                                       IContentItemService<Page> contentItemServiceForPage,
                                       ICommentService commentService,
                                       ICategoryService categoryService,
                                       ITagService tagService,
                                       ISearchService searchService,
                                       IWidgetService widgetService,
                                       IMessageService messageService)
        {
            this.log = log;
             this.localizationService = IoC.Resolve<ILocalizationService>();
             this.userService = IoC.Resolve<IUserService>();
             this.siteService = IoC.Resolve<ISiteService>();
             this.categoryService = IoC.Resolve<ICategoryService>();
             this.tagService = IoC.Resolve<ITagService>();
             this.contentItemService = contentItemService;
             this.contentItemServiceForPage = contentItemServiceForPage;
             this.commentService = commentService;
             this.searchService = searchService;
             this.widgetService = widgetService;
             this.messageService = messageService;

             registeredWidgetComponents = new List<IWidgetComponent>();

             currentCulture = Thread.CurrentThread.CurrentUICulture;
        }
开发者ID:aozora,项目名称:arashi,代码行数:45,代码来源:ContentControllerBase.cs

示例5: TagsController

 public TagsController(
     ITagService tagService,
     IMembershipService membershipService)
 {
     _tagService = tagService;
     _membershipService = membershipService;
 }
开发者ID:deboe2015,项目名称:crumb-crm,代码行数:7,代码来源:TagsController.cs

示例6: TagController

 public TagController(ITagService tagService, ITagMapper tagMapper, IWordMapper wordMapper, IWordService wordService)
 {
     _tagService = tagService;
     _tagMapper = tagMapper;
     _wordMapper = wordMapper;
     _wordService = wordService;
 }
开发者ID:Social-Projects,项目名称:WorldOfWords,代码行数:7,代码来源:TagController.cs

示例7: PostsController

 public PostsController(IPostService postService, ITagService tagService, ICategoryService catService, IUserService userService)
 {
     this.postService = postService;
     this.tagService = tagService;
     this.catService = catService;
     this.userService = userService;
 }
开发者ID:beqa7137,项目名称:LayeredLibandaKi,代码行数:7,代码来源:PostsController.cs

示例8: WinDbFiller

        public WinDbFiller(IFingerprintService fingerprintService, IWorkUnitBuilder workUnitBuilder, ITagService tagService)
        {
            this.fingerprintService = fingerprintService;
            this.workUnitBuilder = workUnitBuilder;
            this.tagService = tagService;
            InitializeComponent();
            Icon = Resources.Sound;
            foreach (object item in ConfigurationManager.ConnectionStrings)
            {
                _cmbDBFillerConnectionString.Items.Add(item.ToString());
            }

            if (_cmbDBFillerConnectionString.Items.Count > 0)
            {
                _cmbDBFillerConnectionString.SelectedIndex = 0;
            }

            _btnStart.Enabled = false;
            _btnStop.Enabled = false;
            _nudThreads.Value = MaxThreadToProcessFiles;
            _pbTotalSongs.Visible = false;
            hashAlgorithm = 0; /**/
            _lbAlgorithm.SelectedIndex = 0; /*Set default algorithm LSH*/

            if (hashAlgorithm == HashAlgorithm.LSH)
            {
                _nudHashKeys.ReadOnly = false;
                _nudHashTables.ReadOnly = false;
            }

            object[] items = Enum.GetNames(typeof (StrideType)); /*Add enumeration types in the combo box*/
            _cmbStrideType.Items.AddRange(items);
            _cmbStrideType.SelectedIndex = 0;
        }
开发者ID:eugentorica,项目名称:soundfingerprinting,代码行数:34,代码来源:WinDBFiller.cs

示例9: TagsFilterForms

 public TagsFilterForms(
     IShapeFactory shapeFactory,
     ITagService tagService) {
     _tagService = tagService;
     Shape = shapeFactory;
     T = NullLocalizer.Instance;
 }
开发者ID:Vinna,项目名称:DeepInSummer,代码行数:7,代码来源:TagsFilterForms.cs

示例10: TagsScheduledJob

 public TagsScheduledJob()
 {
     IsStoppable = true;
     _contentTypeRepository = ServiceLocator.Current.GetInstance<IContentTypeRepository>();
     _tagService = ServiceLocator.Current.GetInstance<ITagService>();
     _contentLoader = ServiceLocator.Current.GetInstance<IContentLoader>();
 }
开发者ID:boyanin,项目名称:Tags,代码行数:7,代码来源:TagsScheduledJob.cs

示例11: WordManagingService

 public WordManagingService(IWordService wordService, IWordTranslationService wordTranslationService,
                            ITagService tagService)
 {
     this.wordService = wordService;
     this.wordTranslationService = wordTranslationService;
     this.tagService = tagService;
 }
开发者ID:Social-Projects,项目名称:WorldOfWords,代码行数:7,代码来源:WordManagingService.cs

示例12: SetUp

 public void SetUp()
 {
     _loggingService = A.Fake<ILogService>();
     _tagService = A.Fake<ITagService>();
     _facebookService = A.Fake<IFacebookService>();
     _controller = new ChartController(_facebookService, _loggingService, _tagService);
 }
开发者ID:mattapayne,项目名称:Complainatron-MVC,代码行数:7,代码来源:ChartControllerTests.cs

示例13: LeadController

 public LeadController(
     ILeadService LeadService,
     IContactService contactService,
     IMembershipService membershipService,
     IRoleService roleService,
     INoteService noteService,
     IActivityService activityService,
     ISaleService saleService,
     ITaskService taskService,
     ViewDataHelper viewdataHelper,
     ICampaignService campaignService,
     ITagService tagService)
 {
     _leadService = LeadService;
     _contactService = contactService;
     _membershipService = membershipService;
     _roleService = roleService;
     _noteService = noteService;
     _activityService = activityService;
     _saleService = saleService;
     _taskService = taskService;
     _viewdataHelper = viewdataHelper;
     _campaignService = campaignService;
     _tagService = tagService;
 }
开发者ID:deboe2015,项目名称:crumb-crm,代码行数:25,代码来源:LeadController.cs

示例14: PostController

 public PostController(IPostService service, ITagService ts, ICommentService commentService, IUserService us)
 {
     this.postService = service;
     this.tagService = ts;
     this.userService = us;
     this.commentService = commentService;
 }
开发者ID:Dharshz,项目名称:Tales-Blog,代码行数:7,代码来源:PostController.cs

示例15: ArticleController

 public ArticleController(IBlogService blogService, IArticleService articleService, ITagService tagService, ICommentService commentService)
 {
     _blogService = blogService;
     _articleService = articleService;
     _tagService = tagService;
     _commentService = commentService;
 }
开发者ID:gewandt,项目名称:PersonalBlog,代码行数:7,代码来源:ArticleController.cs


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