Exemplo n.º 1
0
 public Conduit Connect(IClay c, object atConnectionPoint)
 {
     this.onConnection(c, atConnectionPoint);
     c.onConnection(this, atConnectionPoint);
     return(this);
 }
Exemplo n.º 2
0
 public static void MakeConnection(IClay c1, IClay c2, object cp1, object cp2 = null)
 {
     c2.onConnection(c1, cp2 ?? cp1);
     c1.onConnection(c2, cp1);
 }