C# 클래스 Umbraco.Belle.System.PropertyEditors.ManifestValueValidator

A validator used to validate a value based on a validator name defined in a package manifest
파일 보기 프로젝트 열기: umbraco/Belle

공개 메소드들

메소드 설명
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