AddEdge() публичный Метод

A new underlying edge has been created, this is used to add the edge to the EdgeListener for handling and to wrap the edge.
public AddEdge ( EdgeCreationWrapper ecw ) : void
ecw EdgeCreationWrapper
Результат void
Пример #1
0
 public void Callback(bool success, Edge e, Exception x)
 {
     _success   = success;
     _edge      = e;
     _exception = x;
     if (!success)
     {
         if (System.Threading.Interlocked.Exchange(ref _called, 1) == 1)
         {
             return;
         }
         ExternalECB(success, e, x);
     }
     else
     {
         Parent.AddEdge(this);
     }
 }