C# Класс Umbraco.Belle.System.PropertyEditors.ManifestValueValidator

A validator used to validate a value based on a validator name defined in a package manifest
Показать файл Открыть проект

Открытые методы

Метод Описание
Validate ( object value, string config, string preValues, PropertyEditor editor ) : IEnumerable

Performs the validation against the value

Защищенные методы

Метод Описание
ManifestValueValidator ( ) : System

Описание методов

ManifestValueValidator() защищенный Метод

protected ManifestValueValidator ( ) : System
Результат System

Validate() публичный абстрактный Метод

Performs the validation against the value
public abstract Validate ( object value, string config, string preValues, PropertyEditor editor ) : IEnumerable
value object
config string /// An object that is used to configure the validator. An example could be a regex /// expression if the validator was a regex validator. This is defined in the manifest along with /// the definition of the validator. ///
preValues string The current pre-values stored for the data type
editor PropertyEditor The property editor instance that is being validated
Результат IEnumerable