コード例 #1
0
 internal static Delegate MakeRun1 <T0, TRet>(LightLambda lambda)
 {
     return(new Func <T0, TRet>(lambda.Run1 <T0, TRet>));
 }
コード例 #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>));
 }
コード例 #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>));
 }
コード例 #4
0
 internal static Delegate MakeRunVoid0(LightLambda lambda)
 {
     return(new Action(lambda.RunVoid0));
 }
コード例 #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>));
 }
コード例 #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>));
 }
コード例 #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>));
 }
コード例 #8
0
 internal static Delegate MakeRunVoid2 <T0, T1>(LightLambda lambda)
 {
     return(new Action <T0, T1>(lambda.RunVoid2 <T0, T1>));
 }