예제 #1
0
 public static Expression <Func <T1, T2, TResult> > ToLambda <T1, T2, TResult>(string token, params object[] parameters)
 {
     return(ToLambda <T1, T2, TResult>(Tokenizer.Parse(token), parameters));
 }
예제 #2
0
 public static Expression <Func <T1, T2, TResult> > ToLambda <T1, T2, TResult>(string token, IDictionary <string, object> variables,
                                                                               params object[] parameters)
 {
     return(ToLambda <T1, T2, TResult>(Tokenizer.Parse(token), variables, parameters));
 }
예제 #3
0
 public static LambdaExpression ToLambda(string token, IEnumerable <Type> typeParameters, params object[] parameters)
 {
     return(ToLambda(Tokenizer.Parse(token), typeParameters, parameters));
 }
예제 #4
0
 public static Func <T1, T2, TResult> ToFunc <T1, T2, TResult>(string token, params object[] parameters)
 {
     return(ToFunc <T1, T2, TResult>(Tokenizer.Parse(token), parameters));
 }
예제 #5
0
 public static Func <T, TResult> ToFunc <T, TResult>(string token, IDictionary <string, object> variables,
                                                     params object[] parameters)
 {
     return(ToFunc <T, TResult>(Tokenizer.Parse(token), variables, parameters));
 }
예제 #6
0
 public static Delegate ToFunc(string token, IEnumerable <Type> typeParameters, params object[] parameters)
 {
     return(ToFunc(Tokenizer.Parse(token), typeParameters, parameters));
 }