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)
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> |
|