Click or drag to resize

MostActiveWinsConflictResolver Class

The default conflict resolver in Couchbase Lite. It resolves a conflict by taking the document with the "longer" revision history (or Mine if they are equal)
Inheritance Hierarchy
SystemObject
  Couchbase.LiteMostActiveWinsConflictResolver

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0469
Syntax
C#
public sealed class MostActiveWinsConflictResolver : IConflictResolver

The MostActiveWinsConflictResolver type exposes the following members.

Constructors
  NameDescription
Public methodMostActiveWinsConflictResolver
Initializes a new instance of the MostActiveWinsConflictResolver class
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 methodResolve
Resolves a Conflict in a Document
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodRecursiveEqual
Tests for equality between two untyped objects, and if they are collections recursively checks for equality on each entry.
(Defined by Extensions.)
Top
See Also