Table of Contents

Class ValueSetValidatorDelegate

Namespace
Examine.Lucene.Providers
Assembly
Examine.Lucene.dll

Simple validator that uses a delegate for validation

public class ValueSetValidatorDelegate : IValueSetValidator
Inheritance
ValueSetValidatorDelegate
Implements
Inherited Members

Constructors

ValueSetValidatorDelegate(Func<ValueSet, ValueSetValidationResult>)

public ValueSetValidatorDelegate(Func<ValueSet, ValueSetValidationResult> validator)

Parameters

validator Func<ValueSet, ValueSetValidationResult>

Methods

Validate(ValueSet)

Validates the value set

public ValueSetValidationResult Validate(ValueSet valueSet)

Parameters

valueSet ValueSet

Returns

ValueSetValidationResult