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

                return(orphanedEdge);
            }