Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 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);
     }
 }