本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例5: IndexingCommands
public IndexingCommands(
IIndexManager indexManager,
IIndexingService indexingService,
IIndexingTaskManager indexingTaskManager,
IContentManager contentManager) {
_indexingTaskManager = indexingTaskManager;
_contentManager = contentManager;
_indexManager = indexManager;
_indexingService = indexingService;
}
示例6: AdminController
public AdminController(
IIndexingService indexingService,
IOrchardServices services,
IIndexManager indexManager) {
_indexingService = indexingService;
_indexManager = indexManager;
Services = services;
T = NullLocalizer.Instance;
Logger = NullLogger.Instance;
}
示例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;
}
示例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;
}
示例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;
}
示例10: NodeIndexingService
public NodeIndexingService(
IIndexManager indexManager,
IIndexingService indexingService,
IGraphManager graphManager,
IContentManager contentManager,
IContentDefinitionManager contentDefinitionManager)
{
_indexManager = indexManager;
_indexingService = indexingService;
_graphManager = graphManager;
_contentManager = contentManager;
_contentDefinitionManager = contentDefinitionManager;
}
示例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;
}
示例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);
}
}
示例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;
}
示例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;
}
示例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;
}