本文整理汇总了C#中ITagService类的典型用法代码示例。如果您正苦于以下问题:C# ITagService类的具体用法?C# ITagService怎么用?C# ITagService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ITagService类属于命名空间,在下文中一共展示了ITagService类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: ServiceContext
/// <summary>
/// public ctor - will generally just be used for unit testing
/// </summary>
/// <param name="contentService"></param>
/// <param name="mediaService"></param>
/// <param name="contentTypeService"></param>
/// <param name="dataTypeService"></param>
/// <param name="fileService"></param>
/// <param name="localizationService"></param>
/// <param name="packagingService"></param>
/// <param name="entityService"></param>
/// <param name="relationService"></param>
/// <param name="sectionService"></param>
/// <param name="treeService"></param>
/// <param name="tagService"></param>
public ServiceContext(
IContentService contentService,
IMediaService mediaService,
IContentTypeService contentTypeService,
IDataTypeService dataTypeService,
IFileService fileService,
ILocalizationService localizationService,
PackagingService packagingService,
IEntityService entityService,
IRelationService relationService,
ISectionService sectionService,
IApplicationTreeService treeService,
ITagService tagService)
{
_tagService = new Lazy<ITagService>(() => tagService);
_contentService = new Lazy<IContentService>(() => contentService);
_mediaService = new Lazy<IMediaService>(() => mediaService);
_contentTypeService = new Lazy<IContentTypeService>(() => contentTypeService);
_dataTypeService = new Lazy<IDataTypeService>(() => dataTypeService);
_fileService = new Lazy<IFileService>(() => fileService);
_localizationService = new Lazy<ILocalizationService>(() => localizationService);
_packagingService = new Lazy<PackagingService>(() => packagingService);
_entityService = new Lazy<IEntityService>(() => entityService);
_relationService = new Lazy<IRelationService>(() => relationService);
_sectionService = new Lazy<ISectionService>(() => sectionService);
_treeService = new Lazy<IApplicationTreeService>(() => treeService);
}
开发者ID:phaniarveti,项目名称:Experiments,代码行数:42,代码来源:ServiceContext.cs
示例17: ArticleController
public ArticleController(IArticleService articleService, IRubricService rubricService, IImageService imageService, ITagService tagService)
{
this.articleService = articleService;
this.rubricService = rubricService;
this.imageService = imageService;
this.tagService = tagService;
}
开发者ID:deyantodorov,项目名称:Healthy,代码行数:7,代码来源:ArticleController.cs
示例18: WikiPageController
public WikiPageController(IOrchardServices orchardServices,
IRepository<WikiPageAttachmentRecord> repoWikiAttachment,
ITagService tagService,
IAuthorizationService authorizationService,
INotifier notifier,
ISiteService siteService,
ISearchService searchService,
IShapeFactory shapeFactory,
IWikiPageService wikiPageService,
IMediaService mediaService
){
_orchardServices = orchardServices;
_repoWikiAttachment = repoWikiAttachment;
_tagService = tagService;
_authorizationService = authorizationService;
_notifier = notifier;
_searchService = searchService;
_siteService = siteService;
_wikiPageService = wikiPageService;
_mediaService = mediaService;
Logger = NullLogger.Instance;
Shape = shapeFactory;
}
开发者ID:kevinthant,项目名称:wiki,代码行数:25,代码来源:WikiPageController.cs
示例19: PhotosController
public PhotosController(ISessionService sessionService, IAlbumService albumService, IPhotoService photoService, ITagService tagService)
{
this.mSessionService = sessionService;
this.mAlbumService = albumService;
this.mPhotoService = photoService;
this.mTagService = tagService;
}
开发者ID:janstadt,项目名称:anstadtfamily,代码行数:7,代码来源:PhotosController.cs
示例20: 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
注:本文中的ITagService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论