public NestedContentPropertyValueEditor(DataEditorAttribute attribute, PropertyEditorCollection propertyEditors, IDataTypeService dataTypeService, IContentTypeService contentTypeService)
     : base(attribute)
 {
     _propertyEditors     = propertyEditors;
     _dataTypeService     = dataTypeService;
     _nestedContentValues = new NestedContentValues(contentTypeService);
     Validators.Add(new NestedContentValidator(propertyEditors, dataTypeService, _nestedContentValues));
 }
 public NestedContentPropertyValueEditor(DataEditorAttribute attribute, PropertyEditorCollection propertyEditors, IDataTypeService dataTypeService, IContentTypeService contentTypeService, ILocalizedTextService textService, ILogger logger)
     : base(attribute)
 {
     _propertyEditors     = propertyEditors;
     _dataTypeService     = dataTypeService;
     _logger              = logger;
     _nestedContentValues = new NestedContentValues(contentTypeService);
     Validators.Add(new NestedContentValidator(_nestedContentValues, propertyEditors, dataTypeService, textService));
 }
Ejemplo n.º 3
0
 public NestedContentPropertyValueEditor(
     IDataTypeService dataTypeService,
     ILocalizedTextService localizedTextService,
     IContentTypeService contentTypeService,
     IShortStringHelper shortStringHelper,
     DataEditorAttribute attribute,
     PropertyEditorCollection propertyEditors,
     ILogger <NestedContentPropertyEditor> logger,
     IJsonSerializer jsonSerializer,
     IIOHelper ioHelper,
     IPropertyValidationService propertyValidationService)
     : base(localizedTextService, shortStringHelper, jsonSerializer, ioHelper, attribute)
 {
     _propertyEditors     = propertyEditors;
     _dataTypeService     = dataTypeService;
     _logger              = logger;
     _nestedContentValues = new NestedContentValues(contentTypeService);
     Validators.Add(new NestedContentValidator(propertyValidationService, _nestedContentValues, contentTypeService));
 }
 public NestedContentValidator(NestedContentValues nestedContentValues, PropertyEditorCollection propertyEditors, IDataTypeService dataTypeService, ILocalizedTextService textService)
     : base(propertyEditors, dataTypeService, textService)
 {
     _nestedContentValues = nestedContentValues;
 }
Ejemplo n.º 5
0
 public NestedContentValidator(IPropertyValidationService propertyValidationService, NestedContentValues nestedContentValues, IContentTypeService contentTypeService)
     : base(propertyValidationService)
 {
     _nestedContentValues = nestedContentValues;
     _contentTypeService  = contentTypeService;
 }
 public NestedContentValidator(PropertyEditorCollection propertyEditors, IDataTypeService dataTypeService, NestedContentValues nestedContentValues)
 {
     _propertyEditors     = propertyEditors;
     _dataTypeService     = dataTypeService;
     _nestedContentValues = nestedContentValues;
 }