/// <summary> /// Copy constructor. /// </summary> /// <param name="copy">The collection to copy</param> internal UpdateItemCollection(UpdateItemCollection copy) { m_Changes = new Dictionary <DataField, UpdateItem>(copy.m_Changes.Count); foreach (UpdateItem item in copy.m_Changes.Values) { m_Changes.Add(item.Field, new UpdateItem(item.Field, item.Value)); } }
/// <summary> /// Exchanges update items that were previously generated. /// </summary> /// <param name="data">The update data to apply to this edit (modified to /// hold the values that were previously defined for this edit)</param> /// <exception cref="NotImplementedException">Thrown always. Derived classes that are /// update capable must override (I'm not sure why this isn't part of the IRevisable /// interface)</exception> public virtual void ExchangeData(UpdateItemCollection data) { throw new NotImplementedException(); }