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-b0295
Syntax
C#
public sealed class Conflict

The Conflict type exposes the following members.

Properties
  NameDescription
Public propertyBase
Gets the state of the document before any edits were made
Public propertyMine
Gets the version of the document that is already existing
Public propertyTheirs
Gets the version of the document that is attempting to be written but cannot due to an existing version
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also