public CmsContentController(
     IContentResolverService <IPublishedContent> contentResolverService,
     IMetaPropertyResolverService <IPublishedContent> metaPropertyResolverService,
     INavigationTreeResolverService <IPublishedContent, NavigationTreeResolverSettings> navigationTreeResolverService,
     UmbracoContext context,
     IVariationContextAccessor variationContextAccessor,
     IUmbracoHeadlessInterceptorFactory interceptorFactory
     )
 {
     _metaPropertyResolverService   = metaPropertyResolverService;
     _contentResolverService        = contentResolverService;
     _navigationTreeResolverService = navigationTreeResolverService;
     _context = context;
     _variationContextAccessor = variationContextAccessor;
     _interceptorFactory       = interceptorFactory;
 }
Пример #2
0
 public UmbracoNavigationTreeResolverService(
     IMetaPropertyResolverService <IPublishedContent> metaPropertyResolverService, IContentResolverService <IPublishedContent> contentResolverService)
 {
     _metaPropertyResolverService = metaPropertyResolverService;
     _contentResolverService      = contentResolverService;
 }