public EditableConditionalExpression(ConditionalExpression condEx) { NodeType = condEx.NodeType; Test = EditableExpression.Create(condEx.Test); IfTrue = EditableExpression.Create(condEx.IfTrue); IfFalse = EditableExpression.Create(condEx.IfFalse); }
public EditableInvocationExpression(InvocationExpression invocEx) : this() { Expression = EditableExpression.Create(invocEx.Expression); foreach (Expression ex in invocEx.Arguments) { Arguments.Add(EditableExpression.Create(ex)); } }
public EditableListInitExpression(ListInitExpression listInit) : this() { NewExpression = EditableExpression.Create(listInit.NewExpression); foreach (ElementInit e in listInit.Initializers) { Initializers.Add(new EditableElementInit(e)); } }
public EditableElementInit(ElementInit elmInit) : this() { AddMethod = elmInit.AddMethod; foreach (Expression ex in elmInit.Arguments) { Arguments.Add(EditableExpression.Create(ex)); } }
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)); } }
public EditableMemberExpression(MemberExpression membEx) : this(EditableExpression.Create(membEx.Expression), membEx.Member) { }
public EditableMemberExpression(Expression rawEx, MemberInfo member) : this(EditableExpression.Create(rawEx), member) { }
public EditableMemberAssignment(MemberAssignment member) : base(member.BindingType, member.Member) { Expression = EditableExpression.Create(member.Expression); }
public EditableBinaryExpression(BinaryExpression binex) : base(binex.Type) { Left = EditableExpression.Create(binex.Left); Right = EditableExpression.Create(binex.Right); NodeType = binex.NodeType; }
public EditableUnaryExpression(UnaryExpression unEx) : this(unEx.NodeType, EditableExpression.Create(unEx.Operand), unEx.Type) { }
public EditableMemberInitExpression(NewExpression newRawEx, IEnumerable <MemberBinding> bindings) : this(EditableExpression.Create(newRawEx) as EditableNewExpression, bindings) { }
public EditableMemberInitExpression(MemberInitExpression membInit) : this(EditableExpression.Create(membInit.NewExpression) as EditableNewExpression, membInit.Bindings) { }
public EditableMethodCallExpression(MethodCallExpression callEx) : this(new EditableExpressionCollection(callEx.Arguments), callEx.Method, EditableExpression.Create(callEx.Object), callEx.NodeType) { }
public EditableMethodCallExpression(IEnumerable <EditableExpression> arguments, MethodInfo method, Expression theObject, ExpressionType nodeType) : this(new EditableExpressionCollection(arguments), method, EditableExpression.Create(theObject), nodeType) { }
public EditableTypeBinaryExpression(TypeBinaryExpression typeBinEx) : this(EditableExpression.Create(typeBinEx.Expression), typeBinEx.TypeOperand) { }