コード例 #1
0
ファイル: Conduit.cs プロジェクト: ManhQLe/Mosyre.NET
 public Conduit Connect(IClay c, object atConnectionPoint)
 {
     this.onConnection(c, atConnectionPoint);
     c.onConnection(this, atConnectionPoint);
     return(this);
 }
コード例 #2
0
ファイル: Clay.cs プロジェクト: ManhQLe/Mosyre.NET
 public static void MakeConnection(IClay c1, IClay c2, object cp1, object cp2 = null)
 {
     c2.onConnection(c1, cp2 ?? cp1);
     c1.onConnection(c2, cp1);
 }