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


C# IIndexingService类代码示例

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


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

示例1: ApiController

 public ApiController(
     IEntitiesContext entitiesContext,
     IPackageService packageService,
     IPackageFileService packageFileService,
     IUserService userService,
     INuGetExeDownloaderService nugetExeDownloaderService,
     IContentService contentService,
     IIndexingService indexingService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratePackage,
     IStatusService statusService,
     IAppConfiguration config)
 {
     EntitiesContext = entitiesContext;
     PackageService = packageService;
     PackageFileService = packageFileService;
     UserService = userService;
     NugetExeDownloaderService = nugetExeDownloaderService;
     ContentService = contentService;
     StatisticsService = null;
     IndexingService = indexingService;
     SearchService = searchService;
     AutoCuratePackage = autoCuratePackage;
     StatusService = statusService;
     _config = config;
 }
开发者ID:whyleee,项目名称:RemoteFeedNuGetGallery,代码行数:26,代码来源:ApiController.cs

示例2: PackagesController

 public PackagesController(
     IPackageService packageService,
     IUploadFileService uploadFileService,
     IUserService userService,
     IMessageService messageService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratedPackageCmd,
     INuGetExeDownloaderService nugetExeDownloaderService,
     IPackageFileService packageFileService,
     IEntitiesContext entitiesContext,
     IAppConfiguration config,
     IIndexingService indexingService,
     ICacheService cacheService)
 {
     _packageService = packageService;
     _uploadFileService = uploadFileService;
     _userService = userService;
     _messageService = messageService;
     _searchService = searchService;
     _autoCuratedPackageCmd = autoCuratedPackageCmd;
     _nugetExeDownloaderService = nugetExeDownloaderService;
     _packageFileService = packageFileService;
     _entitiesContext = entitiesContext;
     _config = config;
     _indexingService = indexingService;
     _cacheService = cacheService;
 }
开发者ID:ryanhartley84332,项目名称:NuGetGallery,代码行数:27,代码来源:PackagesController.cs

示例3: PackagesController

 public PackagesController(
     IPackageService packageService,
     IUploadFileService uploadFileService,
     IMessageService messageService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratedPackageCmd,
     IPackageFileService packageFileService,
     IEntitiesContext entitiesContext,
     IAppConfiguration config,
     IIndexingService indexingService,
     ICacheService cacheService,
     EditPackageService editPackageService,
     IPackageDeleteService packageDeleteService,
     ISupportRequestService supportRequestService,
     AuditingService auditingService)
 {
     _packageService = packageService;
     _uploadFileService = uploadFileService;
     _messageService = messageService;
     _searchService = searchService;
     _autoCuratedPackageCmd = autoCuratedPackageCmd;
     _packageFileService = packageFileService;
     _entitiesContext = entitiesContext;
     _config = config;
     _indexingService = indexingService;
     _cacheService = cacheService;
     _editPackageService = editPackageService;
     _packageDeleteService = packageDeleteService;
     _supportRequestService = supportRequestService;
     _auditingService = auditingService;
 }
开发者ID:rhysawilliams2010,项目名称:NuGetGallery,代码行数:31,代码来源:PackagesController.cs

示例4: PackageService

 public PackageService(
     ICryptographyService cryptoSvc,
     IEntityRepository<PackageRegistration> packageRegistrationRepo,
     IEntityRepository<Package> packageRepo,
     IEntityRepository<PackageStatistics> packageStatsRepo,
     IPackageFileService packageFileSvc,
     IEntityRepository<PackageOwnerRequest> packageOwnerRequestRepository,
     IIndexingService indexingSvc,
     IEntityRepository<PackageAuthor> packageAuthorRepo,
     IEntityRepository<PackageFramework> packageFrameworksRepo,
     IEntityRepository<PackageDependency> packageDependenciesRepo,
     IEntityRepository<PackageFile> packageFilesRepo,
     IMessageService messageSvc)
 {
     this.cryptoSvc = cryptoSvc;
     this.packageRegistrationRepo = packageRegistrationRepo;
     this.packageRepo = packageRepo;
     this.packageStatsRepo = packageStatsRepo;
     this.packageFileSvc = packageFileSvc;
     this.packageOwnerRequestRepository = packageOwnerRequestRepository;
     this.indexingSvc = indexingSvc;
     this.packageAuthorRepo = packageAuthorRepo;
     this.packageFrameworksRepo = packageFrameworksRepo;
     this.packageDependenciesRepo = packageDependenciesRepo;
     this.packageFilesRepo = packageFilesRepo;
     this.messageSvc = messageSvc;
 }
开发者ID:PatOShea,项目名称:chocolatey.org,代码行数:27,代码来源:PackageService.cs

示例5: IndexingCommands

 public IndexingCommands(
     IIndexManager indexManager,
     IIndexingService indexingService,
     IIndexingTaskManager indexingTaskManager,
     IContentManager contentManager) {
     _indexingTaskManager = indexingTaskManager;
     _contentManager = contentManager;
     _indexManager = indexManager;
     _indexingService = indexingService;
 }
开发者ID:sbepsbepob,项目名称:Orchard,代码行数:10,代码来源:IndexingCommands.cs

示例6: AdminController

 public AdminController(
     IIndexingService indexingService, 
     IOrchardServices services,
     IIndexManager indexManager) {
     _indexingService = indexingService;
     _indexManager = indexManager;
     Services = services;
     T = NullLocalizer.Instance;
     Logger = NullLogger.Instance;
 }
开发者ID:anycall,项目名称:Orchard,代码行数:10,代码来源:AdminController.cs

示例7: TestController

 public TestController(
     IMember_MoneyService _member_MoneyService
     , ISearchService _searchService
     , IIndexingService _indexService
     , IMember_CreditIndexService _member_CreditIndexService
     )
 {
     member_MoneyService = _member_MoneyService;
     searchService = _searchService;
     indexService = _indexService;
     member_CreditIndexService = _member_CreditIndexService;
 }
开发者ID:navy235,项目名称:WebSite,代码行数:12,代码来源:TestController.cs

示例8: ApiController

 public ApiController(
     IPackageService packageService,
     IPackageFileService packageFileService,
     IUserService userService,
     INuGetExeDownloaderService nugetExeDownloaderService,
     IContentService contentService,
     IIndexingService indexingService,
     IStatisticsService statisticsService)
     : this(packageService, packageFileService, userService, nugetExeDownloaderService, contentService, indexingService)
 {
     _statisticsService = statisticsService;
 }
开发者ID:argsv,项目名称:NuGetGallery,代码行数:12,代码来源:ApiController.cs

示例9: PackageService

 public PackageService(
     IEntityRepository<PackageRegistration> packageRegistrationRepository,
     IEntityRepository<Package> packageRepository,
     IEntityRepository<PackageStatistics> packageStatsRepository,
     IEntityRepository<PackageOwnerRequest> packageOwnerRequestRepository,
     IIndexingService indexingService)
 {
     _packageRegistrationRepository = packageRegistrationRepository;
     _packageRepository = packageRepository;
     _packageStatsRepository = packageStatsRepository;
     _packageOwnerRequestRepository = packageOwnerRequestRepository;
     _indexingService = indexingService;
 }
开发者ID:anurse,项目名称:NuGetGallery,代码行数:13,代码来源:PackageService.cs

示例10: NodeIndexingService

 public NodeIndexingService(
     IIndexManager indexManager,
     IIndexingService indexingService,
     IGraphManager graphManager,
     IContentManager contentManager,
     IContentDefinitionManager contentDefinitionManager)
 {
     _indexManager = indexManager;
     _indexingService = indexingService;
     _graphManager = graphManager;
     _contentManager = contentManager;
     _contentDefinitionManager = contentDefinitionManager;
 }
开发者ID:Lombiq,项目名称:Associativy-Core,代码行数:13,代码来源:NodeIndexingService.cs

示例11: PackageService

 public PackageService(
     IEntityRepository<PackageRegistration> packageRegistrationRepository,
     IEntityRepository<Package> packageRepository,
     IEntityRepository<PackageOwnerRequest> packageOwnerRequestRepository,
     IIndexingService indexingService,
     IPackageNamingConflictValidator packageNamingConflictValidator)
 {
     _packageRegistrationRepository = packageRegistrationRepository;
     _packageRepository = packageRepository;
     _packageOwnerRequestRepository = packageOwnerRequestRepository;
     _indexingService = indexingService;
     _packageNamingConflictValidator = packageNamingConflictValidator;
 }
开发者ID:goitsk,项目名称:NuGetGallery,代码行数:13,代码来源:PackageService.cs

示例12: ProcessAddSourceCommand

 private static void ProcessAddSourceCommand(AddSourceCommand command, IIndexingService service)
 {
     try
     {
         var source = command.Source;
         service.AddSourceToIndexer(source);
         Console.WriteLine("Sourse {0} has been added", source);
     }
     catch (ArgumentException ex)
     {
         Console.WriteLine("Some problems with source");
         Console.WriteLine(ex.Message);
     }
 }
开发者ID:WinnieThePoooh,项目名称:JetBraindexer,代码行数:14,代码来源:Program.cs

示例13: ApiController

 public ApiController(
     IEntitiesContext entitiesContext,
     IPackageService packageService,
     IPackageFileService packageFileService,
     IUserService userService,
     INuGetExeDownloaderService nugetExeDownloaderService,
     IContentService contentService,
     IIndexingService indexingService,
     IAutomaticallyCuratePackageCommand autoCuratePackage,
     IStatisticsService statisticsService)
     : this(entitiesContext, packageService, packageFileService, userService, nugetExeDownloaderService, contentService, indexingService, autoCuratePackage)
 {
     StatisticsService = statisticsService;
 }
开发者ID:SaqibS,项目名称:NuGetGallery,代码行数:14,代码来源:ApiController.cs

示例14: Migrations

 public Migrations(
     IOrchardServices orchardServices,
     IRepository<SubscriptionEmailTemplateRecord> subscriptionEmailTemplateRepository,
     IIndexManager indexManager,
     IIndexingService indexingService,
     IContentDefinitionManager contentDefinitionManager
 )
 {
     _orchardServices = orchardServices;
     _subscriptionEmailTemplateRepository = subscriptionEmailTemplateRepository;
     _indexManager = indexManager;
     _indexingService = indexingService;
     _contentDefinitionManager = contentDefinitionManager;
     Logger = NullLogger.Instance;
     
 }
开发者ID:jon123,项目名称:NGM.Forum,代码行数:16,代码来源:Migrations.cs

示例15: EntryPublisher

 public EntryPublisher(ISubtextContext context, ITextTransformation transformation, ISlugGenerator slugGenerator,
     IIndexingService indexingService)
 {
     if (context == null)
     {
         throw new ArgumentNullException("context");
     }
     if (indexingService == null)
     {
         throw new ArgumentNullException("indexingService");
     }
     SubtextContext = context;
     Transformation = transformation ?? EmptyTextTransformation.Instance;
     SlugGenerator = slugGenerator ?? new SlugGenerator(FriendlyUrlSettings.Settings, context.Repository);
     IndexingService = indexingService;
 }
开发者ID:rsaladrigas,项目名称:Subtext,代码行数:16,代码来源:EntryPublisher.cs


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