Esempio n. 1
0
 private void AddIndexEntry(IndexEntry entry, IndexVertex index)
 {
     var entryVertex = new IndexEntryVertex(entry);
     _contents.AddVertex(entryVertex);
     _contents.AddEdge(new GraphContents.Edge {Source = index.Key, Target = entryVertex.Key});
 }
Esempio n. 2
0
 public IndexEntryVertex(IndexEntry entry)
     : base(entry.Id.Sha)
 {
     State = entry.State;
     Path = entry.Path;
 }