Click or drag to resize

IPropertyContainer Interface

An interface describing an object that can hold arbitrary JSON properties

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
public interface IPropertyContainer : IThreadSafe

The IPropertyContainer type exposes the following members.

Properties
  NameDescription
Public propertyActionQueue
Gets the queue that is used for scheduling operations on the object. If operations are performed outside of this queue for properties marked with FromQueueOnly a ThreadSafetyViolationException will be thrown.
(Inherited from IThreadSafe.)
Public propertyItem
Bracket operator for returning an untyped property from this object
Public propertyProperties
Gets or sets the raw properties for the object
Top
Methods
  NameDescription
Public methodContains
Gets whether or not this object contains a given key
Public methodDoAsync(Action)
Convenience method for asynchronously scheduling a job for this object
(Inherited from IThreadSafe.)
Public methodDoAsyncT(FuncT)
Convenience method for asynchronously scheduling a job for this object
(Inherited from IThreadSafe.)
Public methodDoSync(Action)
Convenience method for scheduling and waiting for a job on this object's queue
(Inherited from IThreadSafe.)
Public methodDoSyncT(FuncT)
Convenience method for scheduling a job on this object's queue, waiting for it to finish and returning the result
(Inherited from IThreadSafe.)
Public methodGet
Gets the untyped value for the given key
Public methodGetArray
Public methodGetBlob
Gets the IBlob for the given key
Public methodGetBoolean
Gets the Boolean for the given key
Public methodGetDate
Gets the DateTimeOffset? for the given key
Public methodGetDouble
Gets the Double for the given key
Public methodGetFloat
Gets the Single for the given key
Public methodGetLong
Gets the Int64 for the given key
Public methodGetString
Gets the String for the given key
Public methodGetSubdocument
Gets the ISubdocument for the given key
Public methodRemove
Removes the given key from the object
Public methodRevert
Cancels all changes since the last save
Public methodSet
Sets the given value to the given key in the object
Top
See Also