Beispiel #1
0
 public static Type GetFuncDelegateType(params Type[] types)
 {
     return(FuncHelper.GetFuncType(types));
 }
Beispiel #2
0
 /// <summary>
 /// Creates new Func Delegate, the return type is the last type in the 'types' parameter
 /// </summary>
 /// <param name="body"></param>
 /// <param name="types"></param>
 /// <returns></returns>
 public static Delegate CreateFuncDelegate(Func <object[], object> body, params Type[] types)
 {
     return(FuncHelper.CreateFunc(body, types));
 }