DictionaryContractAttribute Class |
Namespace: Couchbase.Lite.Util
public sealed class DictionaryContractAttribute : Attribute
The DictionaryContractAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| DictionaryContractAttribute | Initializes a new instance of the DictionaryContractAttribute class |
| Name | Description | |
|---|---|---|
| OptionalKeys |
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, ...
| |
| RequiredKeys |
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, ...
|