C# Класс Adf.Base.Validation.BusinessRuleValidationPolicy

Represents BusinessRuleValidationPolicy. This class does some sort of validations on a validatable object.
Наследование: IValidationPolicy
Показать файл Открыть проект

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

Метод Описание
Validate ( object validatable ) : void

Implements some sort of validation on a validatable object. When validation fails, the implementing services are required to add validation messages to the validation manager.

Validate ( object validatable, bool suppressWarnings ) : void

Implements some sort of validation on a validatable object. When validation fails, the implementing services are required to add validation messages to the validation manager.

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

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

Implements some sort of validation on a validatable object. When validation fails, the implementing services are required to add validation messages to the validation manager.
public Validate ( object validatable ) : void
validatable object The object to validate. In most cases this will be a domain /// obect or a domain collection.
Результат void

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

Implements some sort of validation on a validatable object. When validation fails, the implementing services are required to add validation messages to the validation manager.
public Validate ( object validatable, bool suppressWarnings ) : void
validatable object The object to validate. In most cases this will be a domain /// obect or a domain collection.
suppressWarnings bool Decides if warnings and infos are added to the ValidationManager.
Результат void