示例#1
0
 public WriterWorker(
     GraphMLSerializer <TVertex, TEdge> serializer,
     XmlWriter writer,
     IVertexAndEdgeSet <TVertex, TEdge> visitedGraph)
 {
     this.serializer   = serializer;
     this.writer       = writer;
     this.visitedGraph = visitedGraph;
 }
示例#2
0
 public ReaderWorker(
     GraphMLSerializer <TVertex, TEdge> serializer,
     XmlReader reader,
     IMutableVertexAndEdgeListGraph <TVertex, TEdge> visitedGraph,
     IIdentifiableVertexFactory <TVertex> vertexFactory,
     IIdentifiableEdgeFactory <TVertex, TEdge> edgeFactory
     )
 {
     this.serializer    = serializer;
     this.reader        = reader;
     this.visitedGraph  = visitedGraph;
     this.vertexFactory = vertexFactory;
     this.edgeFactory   = edgeFactory;
 }