public void SetupSchema(CachedSnapshot snapshot, DataRenderer dataRenderer) { using (Profiling.GetMarker(Profiling.MarkerId.CreateSnapshotSchema).Auto()) { m_Snapshot = snapshot; renderer = new SnapshotDataRenderer(dataRenderer, m_Snapshot); CreateTables(m_Snapshot.CrawledData); } }
public void SetupSchema(CachedSnapshot snapshot, ObjectDataFormatter objectDataFormatter) { using (Profiling.GetMarker(Profiling.MarkerId.CreateSnapshotSchema).Auto()) { m_Snapshot = snapshot; formatter = new SnapshotObjectDataFormatter(objectDataFormatter, m_Snapshot); CreateTables(m_Snapshot.CrawledData); } }