Click or drag to resize

IValidationContextValidateChanges Method

Calls the ValidateChangeDelegate for each key/value that has changed, passing both the old and new values. If any delegate call returns false, the enumeration stops and false is returned, otherwise true is returned.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
bool ValidateChanges(
	ValidateChangeDelegate changeValidator
)

Parameters

changeValidator
Type: Couchbase.LiteValidateChangeDelegate
The delegate to use to validate each change.

Return Value

Type: Boolean
false if any call to the ValidateChangeDelegate, otherwise true.
See Also