示例#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);
     }
 }
示例#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);
     }
 }