Beispiel #1
0
 private static Func <T, T, T> LogicalAndDelegate()
 {
     return(ExpressionTreeUtil.CreateDelegateAutoConvert <T, T, T>(Expression.AndAlso, Left, Right));
 }
Beispiel #2
0
 private static Func <T, T, T> LogicalOrDelegate()
 {
     return(ExpressionTreeUtil.CreateDelegateAutoConvert <T, T, T>(Expression.OrElse, Left, Right));
 }
Beispiel #3
0
 private static Func <T, Boolean> LogicalNotDelegate()
 {
     return(ExpressionTreeUtil.CreateDelegate <T, Boolean>(Expression.Not, Left));
 }