Catel.Data.ModelBase.EnsureValidationIsUpToDate C# (CSharp) 메소드

EnsureValidationIsUpToDate() 개인적인 메소드

Ensures the validation is up to date.
private EnsureValidationIsUpToDate ( bool constraint = true ) : void
constraint bool if set to true, the validation will be updated if not up to date.
리턴 void
        private void EnsureValidationIsUpToDate(bool constraint = true)
        {
            if (constraint && !IsValidated)
            {
                Validate();
            }
        }