Exemplo n.º 1
0
 public ContentTypeMapDefinition(CommonMapper commonMapper, PropertyEditorCollection propertyEditors,
                                 IDataTypeService dataTypeService, IFileService fileService,
                                 IContentTypeService contentTypeService, IMediaTypeService mediaTypeService,
                                 IMemberTypeService memberTypeService,
                                 ILoggerFactory loggerFactory, IShortStringHelper shortStringHelper, IOptions <GlobalSettings> globalSettings,
                                 IHostingEnvironment hostingEnvironment)
     : this(commonMapper, propertyEditors, dataTypeService, fileService, contentTypeService, mediaTypeService,
            memberTypeService, loggerFactory, shortStringHelper, globalSettings, hostingEnvironment,
            StaticServiceProvider.Instance.GetRequiredService <IOptionsMonitor <ContentSettings> >())
 {
 }
Exemplo n.º 2
0
 public ContentTypeMapDefinition(CommonMapper commonMapper, PropertyEditorCollection propertyEditors, IDataTypeService dataTypeService, IFileService fileService,
                                 IContentTypeService contentTypeService, IMediaTypeService mediaTypeService, IMemberTypeService memberTypeService,
                                 ILoggerFactory loggerFactory, IShortStringHelper shortStringHelper, IOptions <GlobalSettings> globalSettings, IHostingEnvironment hostingEnvironment)
 {
     _commonMapper       = commonMapper;
     _propertyEditors    = propertyEditors;
     _dataTypeService    = dataTypeService;
     _fileService        = fileService;
     _contentTypeService = contentTypeService;
     _mediaTypeService   = mediaTypeService;
     _memberTypeService  = memberTypeService;
     _loggerFactory      = loggerFactory;
     _logger             = _loggerFactory.CreateLogger <ContentTypeMapDefinition>();
     _shortStringHelper  = shortStringHelper;
     _globalSettings     = globalSettings.Value;
     _hostingEnvironment = hostingEnvironment;
 }
 public DictionaryMapDefinition(ILocalizationService localizationService, CommonMapper commonMapper)
 {
     _localizationService = localizationService;
     _commonMapper        = commonMapper;
 }