コード例 #1
0
 public ViewModelConverter(ProjectRepository projectRepository,
                           IContentLoader contentLoader,
                           ContentLoaderService contentLoaderService)
 {
     _contentLoaderService = contentLoaderService;
     _projectRepository    = projectRepository;
     _contentLoader        = contentLoader;
 }
 public LatestNewsBlockModelMapper(IContentTypeRepository contentTypeRepository,
                                   ReflectionService reflectionService, IContentModelReferenceConverter contentModelService,
                                   IPropertyConverterResolver propertyConverterResolver, IContentVersionRepository contentVersionRepository,
                                   ContentLoaderService contentLoaderService, UrlResolverService urlResolverService,
                                   ContentApiConfiguration apiConfig, IUrlResolver urlResolver, IContentLoader contentLoader) : base(contentTypeRepository, reflectionService, contentModelService,
                                                                                                                                     contentVersionRepository, contentLoaderService, urlResolverService, apiConfig, propertyConverterResolver)
 {
     _urlResolver   = urlResolver;
     _contentLoader = contentLoader;
 }
コード例 #3
0
 public DependenciesResolver(ContentSoftLinkIndexer contentSoftLinkIndexer, IContentRepository contentRepository,
                             LanguageResolver languageResolver, ContentLoaderService contentLoaderService,
                             ServiceAccessor <SiteDefinition> currentSiteDefinition, UIDescriptorRegistry uiDescriptorRegistry,
                             ServiceAccessor <HttpContextBase> httpContextAccessor,
                             IApprovalDefinitionRepository approvalDefinitionRepository, LocalizationService localizationService)
 {
     _contentSoftLinkIndexer       = contentSoftLinkIndexer;
     _contentRepository            = contentRepository;
     _languageResolver             = languageResolver;
     _contentLoaderService         = contentLoaderService;
     _currentSiteDefinition        = currentSiteDefinition;
     _uiDescriptorRegistry         = uiDescriptorRegistry;
     _httpContextAccessor          = httpContextAccessor;
     _approvalDefinitionRepository = approvalDefinitionRepository;
     _localizationService          = localizationService;
 }
コード例 #4
0
 public MovingChangeDetail(ContentLoaderService contentLoaderService, LocalizationService localizationService)
 {
     _contentLoaderService = contentLoaderService;
     _localizationService  = localizationService;
 }