View Source
  Class ValueListUniqueValueValidator
  
  Represents a validator which ensures that all values in the list are unique.
 
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Infrastructure.dll
  Syntax
  
    public class ValueListUniqueValueValidator : IValueValidator
   
  Constructors
  
  
    View Source
  
  ValueListUniqueValueValidator(IConfigurationEditorJsonSerializer)
  
  
  Declaration
  
    public ValueListUniqueValueValidator(IConfigurationEditorJsonSerializer configurationEditorJsonSerializer)
   
  Parameters
  
  Methods
  
  
    View Source
  
  Validate(Object, String, Object, PropertyValidationContext)
  
  
  Declaration
  
    public IEnumerable<ValidationResult> Validate(object value, string valueType, object dataTypeConfiguration, PropertyValidationContext validationContext)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        value | 
         | 
      
      
        | System.String | 
        valueType | 
         | 
      
      
        | System.Object | 
        dataTypeConfiguration | 
         | 
      
      
        | PropertyValidationContext | 
        validationContext | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> | 
         |