IValidationContext Interface |
Namespace: Couchbase.Lite
public interface IValidationContext
The IValidationContext type exposes the following members.
| Name | Description | |
|---|---|---|
| ChangedKeys |
Gets the keys whose values have changed between the current and new Revisions.
| |
| CurrentRevision |
| Name | Description | |
|---|---|---|
| Reject |
Rejects the new Revision.
| |
| Reject(String) |
Rejects the new Revision. The specified message will be included with
the resulting error.
| |
| ValidateChanges |
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.
|