Click or drag to resize

Conflict Class

A class representing a conflict situation. A conflict occurs as part of a distributed system where two offline nodes modify the same data at the same time. This class serves to give information on such situations so that they can be resolved correctly.
Inheritance Hierarchy
SystemObject
  Couchbase.LiteConflict

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0074
Syntax
C#
public sealed class Conflict

The Conflict type exposes the following members.

Properties
  NameDescription
Public propertyCommonAncestor
Gets the state of the document before any edits were made
Public propertyOperationType
Gets the type of operation that caused the conflict
Public propertySource
Gets the version of the document that is already existing
Public propertyTarget
Gets the version of the document that is attempting to be written but cannot due to an existing version
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also