Exemplo n.º 1
0
 /// <summary>
 /// Decorate with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator With(this ExpressionExecutionDecorator decorator, Func <IEnumerable <DynamicObject>, IEnumerable <DynamicObject> > transform)
 => new ExpressionExecutorWithDynamicObjectResultProcessor(decorator, transform);
Exemplo n.º 2
0
 /// <summary>
 /// Decorate with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator With(this ExpressionExecutionDecorator decorator, Func <object, object> transform)
 => new ExpressionExecutorWithObjectResultProcessor(decorator, transform);
Exemplo n.º 3
0
 /// <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);
Exemplo n.º 4
0
 /// <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);
Exemplo n.º 5
0
 /// <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);
Exemplo n.º 6
0
 /// <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)
 {
 }