public void AddChunk(ISynchronizedView view, int startAt, int count) { if (view == null || view.Record != m_store.Record) { throw new ArgumentException("view"); } IList<ViewKey> keys = view.Keys.CollectViewKeysNeedingDownload(startAt, count); m_updateChunks.Add(new UpdateChunk { View = view, Keys = keys }); m_typeVersions.AddRange(view.GetTypeVersions()); }
public void AddChunk(ISynchronizedView view, int startAt, int count) { if (view == null || view.Record != m_store.Record) { throw new ArgumentException("view"); } IList <ViewKey> keys = view.Keys.CollectViewKeysNeedingDownload(startAt, count); m_updateChunks.Add(new UpdateChunk { View = view, Keys = keys }); m_typeVersions.AddRange(view.GetTypeVersions()); }