示例#1
0
 public Expression ConvertExpression(Expression expr, Type type)
 {
     return(_actionBinder.ConvertExpression(expr, type));
 }
示例#2
0
        public virtual Expression ConvertExpression(Expression expr, ParameterInfo info, Type toType)
        {
            Assert.NotNull(expr, toType);

            return(_actionBinder.ConvertExpression(expr, toType, ConversionResultKind.ExplicitCast, null));
        }