Exemplo n.º 1
0
 internal static Delegate MakeRun1 <T0, TRet>(LightLambda lambda)
 {
     return(new Func <T0, TRet>(lambda.Run1 <T0, TRet>));
 }
Exemplo n.º 2
0
 internal static Delegate MakeRun15 <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TRet>(LightLambda lambda)
 {
     return(new Func <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TRet>(lambda.Run15 <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TRet>));
 }
Exemplo n.º 3
0
 internal static Delegate MakeRunVoid15 <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(LightLambda lambda)
 {
     return(new Action <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(lambda.RunVoid15 <T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>));
 }
Exemplo n.º 4
0
 internal static Delegate MakeRunVoid0(LightLambda lambda)
 {
     return(new Action(lambda.RunVoid0));
 }
Exemplo n.º 5
0
 internal static Delegate MakeRunVoid9 <T0, T1, T2, T3, T4, T5, T6, T7, T8>(LightLambda lambda)
 {
     return(new Action <T0, T1, T2, T3, T4, T5, T6, T7, T8>(lambda.RunVoid9 <T0, T1, T2, T3, T4, T5, T6, T7, T8>));
 }
Exemplo n.º 6
0
 internal static Delegate MakeRun7 <T0, T1, T2, T3, T4, T5, T6, TRet>(LightLambda lambda)
 {
     return(new Func <T0, T1, T2, T3, T4, T5, T6, TRet>(lambda.Run7 <T0, T1, T2, T3, T4, T5, T6, TRet>));
 }
Exemplo n.º 7
0
 internal static Delegate MakeRunVoid5 <T0, T1, T2, T3, T4>(LightLambda lambda)
 {
     return(new Action <T0, T1, T2, T3, T4>(lambda.RunVoid5 <T0, T1, T2, T3, T4>));
 }
Exemplo n.º 8
0
 internal static Delegate MakeRunVoid2 <T0, T1>(LightLambda lambda)
 {
     return(new Action <T0, T1>(lambda.RunVoid2 <T0, T1>));
 }