Show / Hide Table of Contents

Struct ListenerToken

A token that stores information about an event handler that is registered on a Couchbase Lite object (for example AddChangeListener(EventHandler<CollectionChangedEventArgs>))

Implements
System.IEquatable<ListenerToken>
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Couchbase.Lite
Assembly: Couchbase.Lite.dll
Syntax
public readonly struct ListenerToken : IEquatable<ListenerToken>

Methods

| Improve this Doc View Source

Equals(ListenerToken)

Declaration
public readonly bool Equals(ListenerToken other)
Parameters
Type Name Description
ListenerToken other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override readonly bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()
| Improve this Doc View Source

Remove()

Remove the linked change listener

Declaration
public readonly void Remove()

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX