本文整理汇总了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;
}
示例2: ImagenesController
public ImagenesController(
IImagenService imagenService,
ITagService tagService)
{
this.imagenService = imagenService;
this.tagService = tagService;
}
示例3: EntryController
public EntryController(IEntryService entryService, ICommentService commentService, IBlogService blogService, ITagService tagService)
{
_entryService = entryService;
_commentService = commentService;
_blogService = blogService;
_tagService = tagService;
}
示例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;
}
示例5: TagsController
public TagsController(
ITagService tagService,
IMembershipService membershipService)
{
_tagService = tagService;
_membershipService = membershipService;
}
示例6: TagController
public TagController(ITagService tagService, ITagMapper tagMapper, IWordMapper wordMapper, IWordService wordService)
{
_tagService = tagService;
_tagMapper = tagMapper;
_wordMapper = wordMapper;
_wordService = wordService;
}
示例7: PostsController
public PostsController(IPostService postService, ITagService tagService, ICategoryService catService, IUserService userService)
{
this.postService = postService;
this.tagService = tagService;
this.catService = catService;
this.userService = userService;
}
示例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;
}
示例9: TagsFilterForms
public TagsFilterForms(
IShapeFactory shapeFactory,
ITagService tagService) {
_tagService = tagService;
Shape = shapeFactory;
T = NullLocalizer.Instance;
}
示例10: TagsScheduledJob
public TagsScheduledJob()
{
IsStoppable = true;
_contentTypeRepository = ServiceLocator.Current.GetInstance<IContentTypeRepository>();
_tagService = ServiceLocator.Current.GetInstance<ITagService>();
_contentLoader = ServiceLocator.Current.GetInstance<IContentLoader>();
}
示例11: WordManagingService
public WordManagingService(IWordService wordService, IWordTranslationService wordTranslationService,
ITagService tagService)
{
this.wordService = wordService;
this.wordTranslationService = wordTranslationService;
this.tagService = tagService;
}
示例12: SetUp
public void SetUp()
{
_loggingService = A.Fake<ILogService>();
_tagService = A.Fake<ITagService>();
_facebookService = A.Fake<IFacebookService>();
_controller = new ChartController(_facebookService, _loggingService, _tagService);
}
示例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;
}
示例14: PostController
public PostController(IPostService service, ITagService ts, ICommentService commentService, IUserService us)
{
this.postService = service;
this.tagService = ts;
this.userService = us;
this.commentService = commentService;
}
示例15: ArticleController
public ArticleController(IBlogService blogService, IArticleService articleService, ITagService tagService, ICommentService commentService)
{
_blogService = blogService;
_articleService = articleService;
_tagService = tagService;
_commentService = commentService;
}