Beispiel #1
0
 public ContentMapDefinition(
     CommonMapper commonMapper,
     ILocalizedTextService localizedTextService,
     IContentService contentService,
     IContentTypeService contentTypeService,
     IFileService fileService,
     IUmbracoContextAccessor umbracoContextAccessor,
     IPublishedRouter publishedRouter,
     ILocalizationService localizationService,
     ILogger logger,
     IUserService userService,
     IEntityService entityService,
     AppCaches appCaches)
 {
     _commonMapper           = commonMapper;
     _localizedTextService   = localizedTextService;
     _contentService         = contentService;
     _contentTypeService     = contentTypeService;
     _fileService            = fileService;
     _umbracoContextAccessor = umbracoContextAccessor;
     _publishedRouter        = publishedRouter;
     _localizationService    = localizationService;
     _logger                  = logger;
     _userService             = userService;
     _entityService           = entityService;
     _appCaches               = appCaches;
     _tabsAndPropertiesMapper = new TabsAndPropertiesMapper <IContent>(localizedTextService);
     _stateMapper             = new ContentSavedStateMapper <ContentPropertyDisplay>();
     _basicStateMapper        = new ContentBasicSavedStateMapper <ContentPropertyBasic>();
     _contentVariantMapper    = new ContentVariantMapper(_localizationService, localizedTextService);
 }
        public MemberMapDefinition(CommonMapper commonMapper, IMemberTypeService memberTypeService, MemberTabsAndPropertiesMapper tabsAndPropertiesMapper)
        {
            _commonMapper = commonMapper;
            _memberTypeService = memberTypeService;

            _tabsAndPropertiesMapper = tabsAndPropertiesMapper;
        }
Beispiel #3
0
        public MediaMapDefinition(ILogger logger, CommonMapper commonMapper, IMediaService mediaService, IMediaTypeService mediaTypeService,
                                  ILocalizedTextService localizedTextService)
        {
            _logger           = logger;
            _commonMapper     = commonMapper;
            _mediaService     = mediaService;
            _mediaTypeService = mediaTypeService;

            _tabsAndPropertiesMapper = new TabsAndPropertiesMapper <IMedia>(localizedTextService);
        }
Beispiel #4
0
 public ContentTypeMapDefinition(CommonMapper commonMapper, PropertyEditorCollection propertyEditors, IDataTypeService dataTypeService, IFileService fileService,
                                 IContentTypeService contentTypeService, IMediaTypeService mediaTypeService, IMemberTypeService memberTypeService,
                                 ILogger logger)
 {
     _commonMapper       = commonMapper;
     _propertyEditors    = propertyEditors;
     _dataTypeService    = dataTypeService;
     _fileService        = fileService;
     _contentTypeService = contentTypeService;
     _mediaTypeService   = mediaTypeService;
     _memberTypeService  = memberTypeService;
     _logger             = logger;
 }