public CountAggregatePropertyMetadataType(RuleEngineContext.RuleEngineContext context, string propertyName, Type type, string aggregateOn, IAggregateFunctionParser <TEntity, bool> aggregateFunctionParser) : base(context, propertyName, AggregateFunction.Count, aggregateOn, aggregateFunctionParser) { Type = type; }
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; }