internal SerializableUnaryExpression(UnaryExpression e, SerializableExpression.SerializationContext ctx, InterfaceType.Factory iftFactory) : base(e, ctx, iftFactory) { Children = new[] { SerializableExpression.FromExpression(e.Operand, ctx, iftFactory) }; }
internal SerializableCompoundExpression(Expression e, SerializableExpression.SerializationContext ctx, InterfaceType.Factory iftFactory) : base(e, ctx, iftFactory) { this.Children = new SerializableExpression[] { }; }
internal SerializableBinaryExpression(BinaryExpression e, SerializableExpression.SerializationContext ctx, InterfaceType.Factory iftFactory) : base(e, ctx, iftFactory) { Children = new[] { SerializableExpression.FromExpression(e.Left, ctx, iftFactory), SerializableExpression.FromExpression(e.Right, ctx, iftFactory) }; }
internal override Expression ToExpressionInternal(SerializableExpression.SerializationContext ctx) { return(Expression.Condition(Test.ToExpressionInternal(ctx), IfTrue.ToExpressionInternal(ctx), IfFalse.ToExpressionInternal(ctx))); }