示例#1
0
 public T InvokeFunc <P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, T>(P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7, P8 arg8, P9 arg9, P10 arg10)
 {
     return((T)ConvertManager.ChangeType(Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10), typeof(T)));
 }
示例#2
0
 public T InvokeFunc <P1, P2, P3, P4, T>(P1 arg1, P2 arg2, P3 arg3, P4 arg4)
 {
     return((T)ConvertManager.ChangeType(Invoke(arg1, arg2, arg3, arg4), typeof(T)));
 }
示例#3
0
 public T InvokeFunc <P1, P2, P3, P4, P5, P6, P7, T>(P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7)
 {
     return((T)ConvertManager.ChangeType(Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7), typeof(T)));
 }
示例#4
0
 public T InvokeFunc <P1, P2, T>(P1 arg1, P2 arg2)
 {
     return((T)ConvertManager.ChangeType(Invoke(arg1, arg2), typeof(T)));
 }
示例#5
0
 public T InvokeFunc <T>()
 {
     return((T)ConvertManager.ChangeType(Invoke(), typeof(T)));
 }
示例#6
0
        public static bool operator !=(bool c1, LambdaParameterWrapper c2)
        {
            var c2bool = ConvertManager.ChangeType <bool>(c2.Value);

            return(c1 != c2bool);
        }
示例#7
0
        public static bool operator !=(LambdaParameterWrapper c1, bool c2)
        {
            var c1bool = ConvertManager.ChangeType <bool>(c1.Value);

            return(c1bool != c2);
        }
示例#8
0
        public static LambdaParameterWrapper operator -(LambdaParameterWrapper c1)
        {
            var c1decimal = ConvertManager.ChangeType <decimal>(c1.Value);

            return(new LambdaParameterWrapper(-c1decimal));
        }