Exemple #1
0
 public CountAggregatePropertyMetadataType(RuleEngineContext.RuleEngineContext context, string propertyName, Type type, string aggregateOn,
                                           IAggregateFunctionParser <TEntity, bool> aggregateFunctionParser)
     : base(context, propertyName, AggregateFunction.Count, aggregateOn, aggregateFunctionParser)
 {
     Type = type;
 }
Exemple #2
0
 public AggregatePropertyMetadataType(RuleEngineContext.RuleEngineContext context, string propertyName, AggregateFunction aggregateFunction,
                                      string aggregateOn, IAggregateFunctionParser <TEntity, TType> aggregateFunctionParser)
     : base(context, propertyName, aggregateFunction, typeof(TType), aggregateOn)
 {
     this._aggregateFunctionParser = aggregateFunctionParser;
 }