internal Enumerator(MessagePackObjectDictionary dictionary) { this = new MessagePackObjectDictionary.Enumerator(); Contract.Assert(dictionary != null); this = new MessagePackObjectDictionary.Enumerator(); this._underlying = dictionary; this.ResetCore(); }
internal Enumerator(MessagePackObjectDictionary dictionary) { #if !UNITY Contract.Assert(dictionary != null, "dictionary != null"); #endif // !UNITY this._underlying = dictionary.GetEnumerator(); }
Hashtable convertFromMsgPackObjectDictionary(MsgPack.MessagePackObjectDictionary mpobj) { Hashtable ht = new Hashtable(); MsgPack.MessagePackObjectDictionary.Enumerator e = mpobj.GetEnumerator(); while (e.MoveNext()) { MsgPack.MessagePackObject key = e.Current.Key; MsgPack.MessagePackObject val = e.Current.Value; ht.Add(key.AsString(), convertFromMsgPackObject(val)); } return(ht); }
internal Enumerator(MessagePackObjectDictionary dictionary) { Contract.Assert(dictionary != null, "dictionary != null"); this._underlying = dictionary.GetEnumerator(); }
internal Enumerator(MessagePackObjectDictionary dictionary) { this._underlying = dictionary.GetEnumerator(); }