CosDictionary Class

Definition

A dictionary object: a mutable table from names to objects, written <<…>>.

public sealed class CosDictionary : CosObject, IDictionary<CosName, CosObject>, ICollection<KeyValuePair<CosName, CosObject>>, IReadOnlyDictionary<CosName, CosObject>, IReadOnlyCollection<KeyValuePair<CosName, CosObject>>, IEnumerable<KeyValuePair<CosName, CosObject>>, IEnumerable

Remarks

ISO 32000-2 §7.3.7. Keys are CosName objects. An entry whose value is null is the same as an absent entry, so a dictionary never stores CosNull: setting an entry to Instance removes it, adding one does nothing, and a parser drops null-valued entries. Entries keep the order they were added in, which is the order they are written in; the order carries no meaning and DeepEquals(CosObject?, CosObject?) ignores it.

Any change through the dictionary API marks the dictionary dirty.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (1)

Properties (8)

Methods (6)

Explicit Interface Implementation Methods (5)