Click or drag to resize
MessagePackObjectDictionary Class
Inheritance Hierarchy
SystemObject
  MsgPackMessagePackObjectDictionary

Namespace: MsgPack
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[SerializableAttribute]
public class MessagePackObjectDictionary : IDictionary<MessagePackObject, MessagePackObject>, 
	ICollection<KeyValuePair<MessagePackObject, MessagePackObject>>, IEnumerable<KeyValuePair<MessagePackObject, MessagePackObject>>, 
	IDictionary, ICollection, IEnumerable

The MessagePackObjectDictionary type exposes the following members.

Constructors
  NameDescription
Public methodMessagePackObjectDictionary
Initializes an empty new instance of the MessagePackObjectDictionary class with default capacity.
Public methodMessagePackObjectDictionary(Int32)
Initializes an empty new instance of the MessagePackObjectDictionary class with specified initial capacity.
Public methodMessagePackObjectDictionary(IDictionaryMessagePackObject, MessagePackObject)
Initializes a new instance of the MessagePackObjectDictionary class.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the MessagePackObjectDictionary.
Public propertyIsFrozen
Gets a value indicating whether this instance is frozen.
Public propertyItem
Gets or sets the element with the specified key.
Public propertyKeys
Public propertyValues
Top
Methods
  NameDescription
Public methodAdd
Adds the specified key and value to the dictionary.
Public methodAsFrozen
Gets a copy of this instance as frozen instance.
Public methodClear
Removes all items from the MessagePackObjectDictionary.
Public methodContainsKey
Determines whether the MessagePackObjectDictionary contains an element with the specified key.
Public methodContainsValue
Determines whether the MessagePackObjectDictionary contains an element with the specified value.
Public methodFreeze
Freezes this instance.
Public methodGetEnumerator
Returns an enumerator that iterates through the MessagePackObjectDictionary.
Public methodRemove
Removes the element with the specified key from the MessagePackObjectDictionary.
Public methodTryGetValue
Gets the value associated with the specified key.
Top
Remarks
This dictionary handles MessagePackObject type semantics for the key. Additionally, this dictionary implements 'freezing' feature. For details, see IsFrozen, Freeze, and AsFrozen.
See Also