/// <summary> /// Decorate with custom strategy. /// </summary> public static ExpressionExecutionDecorator With(this ExpressionExecutionDecorator decorator, Func <IEnumerable <DynamicObject>, IEnumerable <DynamicObject> > transform) => new ExpressionExecutorWithDynamicObjectResultProcessor(decorator, transform);
/// <summary> /// Decorate with custom strategy. /// </summary> public static ExpressionExecutionDecorator With(this ExpressionExecutionDecorator decorator, Func <object, object> transform) => new ExpressionExecutorWithObjectResultProcessor(decorator, transform);
/// <summary> /// Replace result transformation logic with custom strategy. /// </summary> public static ExpressionExecutionDecorator With(this ExpressionExecutionDecorator decorator, Func <object, IEnumerable <DynamicObject> > transform) => new ExpressionExecutorWithResultConverter(decorator, transform);
/// <summary> /// Replace expression execution logic with custom strategy. /// </summary> public static ExpressionExecutionDecorator With(this ExpressionExecutionDecorator decorator, Func <System.Linq.Expressions.Expression, object> transform) => new ExpressionExecutorWithExpressionExecutor(decorator, transform);
/// <summary> /// Decorate with custom strategy. /// </summary> public static ExpressionExecutionDecorator With(this ExpressionExecutionDecorator decorator, Func <System.Linq.Expressions.Expression, System.Linq.Expressions.Expression> transform) => new ExpressionExecutorWithSystemExpressionTransformer(decorator, transform);
/// <summary> /// Decorate with custom strategy. /// </summary> public static ExpressionExecutionDecorator With(this ExpressionExecutionDecorator decorator, Func <Expression, Expression> transform) => new ExpressionExecutorWithRemoteExpressionTransformer(decorator, transform);
protected ExpressionExecutionDecoratorBase(ExpressionExecutionDecorator parent) : this((IExpressionExecutionDecorator)parent) { }
protected ExpressionExecutionDecorator(ExpressionExecutionDecorator parent) : base(parent) { }