예제 #1
0
 private static Func <T, T, T> LogicalOrDelegate()
 {
     return(ExpressionTreeUtil.CreateDelegateAutoConvert <T, T, T>(Expression.OrElse, Left, Right));
 }
예제 #2
0
 private static Func <T, T, T> LogicalAndDelegate()
 {
     return(ExpressionTreeUtil.CreateDelegateAutoConvert <T, T, T>(Expression.AndAlso, Left, Right));
 }