void updateValue(K key, V value) { Debug.Assert(t.ContainsKey(key)); t[key] = value; composer.composeAddress(address, (UInt64)Publishable.ActionOnDictionary.update_value); //composer.composeAction((UInt64)Publishable.ActionOnDictionary.update_value, false); composeKeyDelegate(composer, key, true); composeValueDelegate(composer, value); composer.composeAddressEnd(); }
public T this[int index] { get { if (elementWrapperDelegate != null) { return(elementWrapperDelegate(t[index], composer, Publishable.makeAddress(address, (UInt64)index))); } else { return(t[index]); } } set { t[index] = value; composer.composeAddress(address, (UInt64)index); composer.composeAction((UInt64)Publishable.ActionOnVector.update_at, false); composeDelegate(composer, value); composer.composeAddressEnd(); } }