public ExpressionExecutionContext(ExpressionExecutor <IQueryable, TDataTranferObject> parent, Expression expression)
     : this((IExpressionExecutionDecorator <TDataTranferObject>)parent, expression)
 {
 }
Exemple #2
0
 /// <summary>
 /// Decorate with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(
     this ExpressionExecutor <IQueryable, TDataTranferObject> executor,
     Func <RemoteLinq.Expression, RemoteLinq.Expression> transform)
 => new ExpressionExecutorWithRemoteExpressionTransformer <TDataTranferObject>(executor, transform);
Exemple #3
0
 /// <summary>
 /// Replace expression execution logic with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(
     this ExpressionExecutor <IQueryable, TDataTranferObject> executor,
     Func <SystemLinq.Expression, object?> transform)
 => new ExpressionExecutorWithExpressionExecutor <TDataTranferObject>(executor, transform);
Exemple #4
0
 /// <summary>
 /// Replace result transformation logic with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(
     this ExpressionExecutor <IQueryable, TDataTranferObject> executor,
     Func <object?, TDataTranferObject> transform)
 => new ExpressionExecutorWithResultConverter <TDataTranferObject>(executor, transform);
Exemple #5
0
 /// <summary>
 /// Decorate with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(
     this ExpressionExecutor <IQueryable, TDataTranferObject> executor,
     Func <TDataTranferObject, TDataTranferObject> transform)
 => new ExpressionExecutorWithDynamicObjectResultProcessor <TDataTranferObject>(executor, transform);
Exemple #6
0
 /// <summary>
 /// Decorate with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(this ExpressionExecutor <TDataTranferObject> executor, Func <object?, object?> transform)
 => new ExpressionExecutorWithObjectResultProcessor <TDataTranferObject>(executor, transform);
Exemple #7
0
 /// <summary>
 /// Decorate with custom strategy.
 /// </summary>
 public static ExpressionExecutionDecorator <TDataTranferObject> With <TDataTranferObject>(this ExpressionExecutor <TDataTranferObject> executor, Func <System.Linq.Expressions.Expression, System.Linq.Expressions.Expression> transform)
 => new ExpressionExecutorWithSystemExpressionTransformer <TDataTranferObject>(executor, transform);
Exemple #8
0
 protected ExpressionExecutionDecorator(ExpressionExecutor <TDataTranferObject> parent)
     : base(parent)
 {
 }
 public DefaultExpressionExecutionContext(ExpressionExecutor <IQueryable, DynamicObject> parent, Expression expression)
     : base(parent, expression)
 {
 }
Exemple #10
0
 public DefaultExpressionExecutionContext(ExpressionExecutor <IEnumerable <DynamicObject?>?> parent, Expression expression)
     : base(parent, expression)
 {
 }