ValidatingObjectBaseValidate Method
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public ValidationResultsCollection Validate()
Public Function Validate As ValidationResultsCollection
public:
ValidationResultsCollection^ Validate()
member Validate : unit -> ValidationResultsCollection
Return Value
ValidationResultsCollectionA
ValidationResultsCollection instance containing the validation results.
Normally you don't need to call this method because the
IsValid and
ValidationResults
properties are automatically re-evaluated when they are accessed and the object has been changed since last validation.
Explicit validation can be useful when not every change that affects validation triggers the
PropertyChanged event.