Exemple #1
0
 protected ExpressionExecutionDecoratorBase(ExpressionExecutionDecorator <TDataTranferObject> parent)
     : this((IExpressionExecutionDecorator <TDataTranferObject>)parent)
 {
 }
Exemple #2
0
 /// <summary>
 /// Decorate with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(
     this ExpressionExecutionDecorator <TDataTranferObject> decorator,
     Func <TDataTranferObject, TDataTranferObject> transform)
 => new ExpressionExecutorWithDynamicObjectResultProcessor <TDataTranferObject>(decorator, transform);
Exemple #3
0
 /// <summary>
 /// Replace result transformation logic with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(
     this ExpressionExecutionDecorator <TDataTranferObject> decorator,
     Func <object?, TDataTranferObject> transform)
 => new ExpressionExecutorWithResultConverter <TDataTranferObject>(decorator, transform);
Exemple #4
0
 /// <summary>
 /// Replace expression execution logic with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(
     this ExpressionExecutionDecorator <TDataTranferObject> decorator,
     Func <SystemLinq.Expression, object> transform)
 => new ExpressionExecutorWithExpressionExecutor <TDataTranferObject>(decorator, transform);
Exemple #5
0
 /// <summary>
 /// Decorate with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(
     this ExpressionExecutionDecorator <TDataTranferObject> decorator,
     Func <RemoteLinq.Expression, RemoteLinq.Expression> transform)
 => new ExpressionExecutorWithRemoteExpressionTransformer <TDataTranferObject>(decorator, transform);
Exemple #6
0
 protected ExpressionExecutionDecorator(ExpressionExecutionDecorator <TDataTranferObject> parent)
     : base(parent)
 {
 }