public EditableNewExpression(ConstructorInfo constructor, EditableExpressionCollection arguments, IEnumerable <MemberInfo> members, Type type)
     : base(type)
 {
     Arguments   = arguments;
     Constructor = constructor;
     Members     = new EditableMemberInfoCollection(members);
 }
Esempio n. 2
0
 public EditableMethodCallExpression(EditableExpressionCollection arguments, MethodInfo method, EditableExpression theObject, ExpressionType nodeType)
 {
     Arguments = arguments;
     Method    = method;
     Object    = theObject;
     NodeType  = nodeType;
 }
 public EditableLambdaExpression(LambdaExpression lambEx)
     : base(lambEx.Type)
 {
     Parameters = new EditableExpressionCollection();
     Body       = EditableExpression.Create(lambEx.Body);
     foreach (ParameterExpression param in lambEx.Parameters)
     {
         Parameters.Add(EditableExpression.Create(param));
     }
 }
 // Ctors
 public EditableLambdaExpression()
 {
     Parameters = new EditableExpressionCollection();
 }
Esempio n. 5
0
 // Ctors
 public EditableInvocationExpression()
 {
     Arguments = new EditableExpressionCollection();
 }
Esempio n. 6
0
 // Ctors
 public EditableElementInit()
 {
     Arguments = new EditableExpressionCollection();
 }
Esempio n. 7
0
 public EditableNewArrayExpression(EditableExpressionCollection expressions, ExpressionType nodeType, Type type)
     : base(type)
 {
     Expressions = expressions;
     NodeType    = nodeType;
 }
Esempio n. 8
0
 // Ctors
 public EditableNewArrayExpression()
 {
     Expressions = new EditableExpressionCollection();
 }