Catel.Data.ModelBase.Validate C# (CSharp) Метод

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

Validates the current object for field and business rule errors.
To check whether this object contains any errors, use the INotifyDataErrorInfo.HasErrors property.
protected Validate ( bool force = false ) : void
force bool If set to true, a validation is forced. When the validation is not forced, it means /// that when the object is already validated, and no properties have been changed, no validation actually occurs /// since there is no reason for any values to have changed. ///
Результат void
        protected void Validate(bool force = false)
        {
            Validate(force, ValidateUsingDataAnnotations);
        }

Same methods

ModelBase::Validate ( bool force, bool validateDataAnnotations ) : void