Table of Contents

Class RequiredValidationRule

Namespace
HeBianGu.Service.Validation
Assembly
HeBianGu.Service.Validation.dll
public class RequiredValidationRule : ValidationRuleBase
Inheritance
RequiredValidationRule
Inherited Members
Extension Methods

Constructors

RequiredValidationRule()

public RequiredValidationRule()

Methods

Validate(object, CultureInfo)

When overridden in a derived class, performs validation checks on a value.

public override ValidationResult Validate(object value, CultureInfo cultureInfo)

Parameters

value object

The value from the binding target to check.

cultureInfo CultureInfo

The culture to use in this rule.

Returns

ValidationResult

A ValidationResult object.