Beispiel #1
0
 // Because there are two valid pointers to each edge, we have to override the default equals behaviour
 // which simply compares the wrapped pointers.
 public override bool Equals(GraphvizThing obj)
 {
     if (obj is Edge)
     {
         return(Ageqedge(_ptr, obj._ptr));
     }
     return(false);
 }
 public virtual bool Equals(GraphvizThing obj)
 {
     return(obj != null && _ptr == obj._ptr);
 }