コード例 #1
0
 void Something()
 {
     fun1.Apply(new byte[3] {
         1, 2, 3
     });
     int a = fun1.A;
 }
コード例 #2
0
 private void AddEdge(string name, string stereotype, FSharp.Generator.ComponentModel.node n1, FSharp.Generator.ComponentModel.connector conn, FSharp.Generator.ComponentModel.node n2)
 {
     Fun.Apply <FSharp.Generator.ComponentModel.node,
                FSharp.Generator.ComponentModel.edge,
                FSharp.Generator.ComponentModel.node>
         (g.AddEdge,
         n1,
         new FSharp.Generator.ComponentModel.edge
             (Conv.ToOption <string>(name),
             Conv.ToOption <string>(stereotype),
             conn),
         n2);
 }