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
  
  Properties
  
  
    View Source
  
  ContentDataGroupJsonPath
  
  
  Declaration
  
    protected virtual string ContentDataGroupJsonPath { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    View Source
  
  SettingsDataGroupJsonPath
  
  
  Declaration
  
    protected virtual string SettingsDataGroupJsonPath { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Methods
  
  
    View Source
  
  GetBlockEditorDataValidation(BlockEditorData<TValue, TLayout>, PropertyValidationContext)
  
  
  Declaration
  
    protected IEnumerable<ComplexEditorValidator.ElementTypeValidationModel> GetBlockEditorDataValidation(BlockEditorData<TValue, TLayout> blockEditorData, PropertyValidationContext validationContext)
   
  Parameters
  
  Returns