View Source
Class BlockEditorValidatorBase<TValue, TLayout>
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public abstract class BlockEditorValidatorBase<TValue, TLayout> : ComplexEditorValidator, IValueValidator where TValue : BlockValue<TLayout>, new()
where TLayout : class, IBlockLayoutItem, new()
Type Parameters
Name |
Description |
TValue |
|
TLayout |
|
Constructors
View Source
BlockEditorValidatorBase(IPropertyValidationService, IBlockEditorElementTypeCache)
Declaration
protected BlockEditorValidatorBase(IPropertyValidationService propertyValidationService, IBlockEditorElementTypeCache elementTypeCache)
Parameters
Methods
View Source
GetBlockEditorDataValidation(BlockEditorData<TValue, TLayout>, PropertyValidationContext)
Declaration
protected IEnumerable<ComplexEditorValidator.ElementTypeValidationModel> GetBlockEditorDataValidation(BlockEditorData<TValue, TLayout> blockEditorData, PropertyValidationContext validationContext)
Parameters
Returns