示例#1
0
 protected ExpressionExecutionDecoratorBase(ExpressionExecutionDecorator <TDataTranferObject> parent)
     : this((IExpressionExecutionDecorator <TDataTranferObject>)parent)
 {
 }
示例#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);
示例#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);
示例#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);
示例#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);
示例#6
0
 protected ExpressionExecutionDecorator(ExpressionExecutionDecorator <TDataTranferObject> parent)
     : base(parent)
 {
 }