private static Expression[] Exprs(IEnumerable <object> values)
 {
     return(DynamicEBuilder.ToExpressions(values));
 }
 private static Expression Expr(object value)
 {
     return(DynamicEBuilder.ToExpression(value));
 }
示例#3
0
 /// <summary>
 ///     Creates DynamicEBuilder from expression
 /// </summary>
 public static dynamic EBuilder(this Expression expression)
 {
     return(DynamicEBuilder.Create(expression));
 }
示例#4
0
 /// <summary>
 ///     Create DynamicEBuilder from type
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public static dynamic EBuilder(this Type type)
 {
     return(DynamicEBuilder.Create(type));
 }
示例#5
0
 public MetaBuilder(Expression expression, DynamicEBuilder value)
     : base(expression, BindingRestrictions.Empty, value)
 {
 }