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