Default constructor. Services are injected by the IoC container.

public PublishService(IRepository<PublishedContentEntity> publishedContentRepository, IRepository<NodeEntity> nodeRepository, INodeCollectionService collectionService, IApplicationCache applicationCache, ILogger<PublishService> logger, IServiceProvider serviceProvider, IRepository<ContentEntity> contentRepository, IJsonSerializer serializer, IRepository<DraftContentPropertyEntity> draftContentRepository)

Parameters

publishedContentRepository IRepository<T>
nodeRepository IRepository<T>
collectionService INodeCollectionService
applicationCache IApplicationCache
logger ILogger<PublishService>
serviceProvider IServiceProvider
contentRepository IRepository<T>
serializer IJsonSerializer
draftContentRepository IRepository<T>
In this article