C# Class Umbraco.Belle.System.PropertyEditors.ValidatorBase

An abstract class defining a validator
显示文件 Open project: umbraco/Belle

Public Methods

Method Description
Validate ( object value, string preValues, PropertyEditor editor ) : IEnumerable

Validates the object with the resolved ValueValidator found for this type

Method Details

Validate() public abstract method

Validates the object with the resolved ValueValidator found for this type
public abstract Validate ( object value, string preValues, PropertyEditor editor ) : IEnumerable
value object
preValues string The current pre-values stored for the data type
editor PropertyEditor The property editor instance that we are validating for
return IEnumerable