Пример #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);
Пример #2
0
 /// <summary>
 /// Decorate with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator With(this ExpressionExecutionDecorator decorator, Func <object, object> transform)
 => new ExpressionExecutorWithObjectResultProcessor(decorator, transform);
Пример #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);
Пример #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);
Пример #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);
Пример #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)
 {
 }