Click or drag to resize

DictionaryContractAttribute Class

An attribute used on the ContractedDictionary class to specify information about its keys in a way that is easily visible to the consumer of the class
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Couchbase.Lite.UtilDictionaryContractAttribute

Namespace:  Couchbase.Lite.Util
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public sealed class DictionaryContractAttribute : Attribute

The DictionaryContractAttribute type exposes the following members.

Constructors
  NameDescription
Public methodDictionaryContractAttribute
Initializes a new instance of the DictionaryContractAttribute class
Top
Properties
  NameDescription
Public propertyOptionalKeys
Sets a list of keys which may or may not be present but must conform to the given type specified. It is specified as an array of (string)key, (Type)type, (string)key, (Type)type, ...
Public propertyRequiredKeys
Sets a list of keys, followed by the required type, that this dictionary instance requires. It is specified as an array of (string)key, (Type)type, (string)key, (Type)type, ...
Top
See Also