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