public EditableNewExpression(ConstructorInfo constructor, EditableExpressionCollection arguments, IEnumerable <MemberInfo> members, Type type)
     : base(type)
 {
     Arguments   = arguments;
     Constructor = constructor;
     Members     = new EditableMemberInfoCollection(members);
 }
Beispiel #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();
 }
Beispiel #5
0
 // Ctors
 public EditableInvocationExpression()
 {
     Arguments = new EditableExpressionCollection();
 }
Beispiel #6
0
 // Ctors
 public EditableElementInit()
 {
     Arguments = new EditableExpressionCollection();
 }
Beispiel #7
0
 public EditableNewArrayExpression(EditableExpressionCollection expressions, ExpressionType nodeType, Type type)
     : base(type)
 {
     Expressions = expressions;
     NodeType    = nodeType;
 }
Beispiel #8
0
 // Ctors
 public EditableNewArrayExpression()
 {
     Expressions = new EditableExpressionCollection();
 }