Пример #1
0
 public static Func <T1, T3, R> bind <R, T1, T2, T3>(Func <T1, T2, T3, R> handler, placeholder p1, T2 p2, placeholder p3)
 {
     return((T1 _1, T3 _3) => handler(_1, p2, _3));
 }
Пример #2
0
 public static Func <T2, T3, R> bind <R, T1, T2, T3>(Func <T1, T2, T3, R> handler, T1 p1, placeholder p2, placeholder p3)
 {
     return((T2 _2, T3 _3) => handler(p1, _2, _3));
 }
Пример #3
0
 public static Func <T2, R> bind <R, T1, T2>(Func <T1, T2, R> handler, T1 p1, placeholder p2)
 {
     return((T2 _2) => handler(p1, _2));
 }
Пример #4
0
 public static Func <T1, T2, R> bind <R, T1, T2, T3>(Func <T1, T2, T3, R> handler, placeholder p1, placeholder p2, T3 p3)
 {
     return((T1 _1, T2 _2) => handler(_1, _2, p3));
 }
Пример #5
0
 public static Action <T2, T3> bind <T1, T2, T3>(Action <T1, T2, T3> handler, T1 p1, placeholder p2, placeholder p3)
 {
     return((T2 _2, T3 _3) => handler(p1, _2, _3));
 }
Пример #6
0
 public static Func <T1, R> bind <R, T1, T2>(Func <T1, T2, R> handler, placeholder p1, T2 p2)
 {
     return((T1 _1) => handler(_1, p2));
 }
Пример #7
0
 public static Action <T1, T3> bind <T1, T2, T3>(Action <T1, T2, T3> handler, placeholder p1, T2 p2, placeholder p3)
 {
     return((T1 _1, T3 _3) => handler(_1, p2, _3));
 }
Пример #8
0
 public static Action <T1, T2> bind <T1, T2, T3>(Action <T1, T2, T3> handler, placeholder p1, placeholder p2, T3 p3)
 {
     return((T1 _1, T2 _2) => handler(_1, _2, p3));
 }
Пример #9
0
 public static Action <T2> bind <T1, T2>(Action <T1, T2> handler, T1 p1, placeholder p2)
 {
     return((T2 _2) => handler(p1, _2));
 }
Пример #10
0
 public static Action <T1> bind <T1, T2>(Action <T1, T2> handler, placeholder p1, T2 p2)
 {
     return((T1 _1) => handler(_1, p2));
 }
Пример #11
0
 public functions(string name,placeholder data)
 {
     this.name = name;
     this.data = data;
 }