Ejemplo n.º 1
0
 public void Set(Edge edge)
 {
     // TODO: give real implementation!
     OrphanedEdge orphanedEdge = orphanedEdgeFactory.MakeEdge(edge);
 }
Ejemplo n.º 2
0
 // No one should call this directly
 private OrphanedEdge(Edge edge)
 {
     this.edge = edge;
 }
Ejemplo n.º 3
0
 // Needed since a delegate to a constructor isn't possible
 static private OrphanedEdge make(Edge edge)
 {
     return(new OrphanedEdge(edge));
 }
Ejemplo n.º 4
0
            // The preferred way to create an OrphanedEdge
            public OrphanedEdge MakeEdge(Edge edge)
            {
                OrphanedEdge orphanedEdge = orphanedEdgeConstructor(edge);

                return(orphanedEdge);
            }