Beispiel #1
0
 protected BaseResultAggregation(ArgumentEnumerable argumentEnumerable, TAggregator aggregator, bool skipNull = true)
     : base(argumentEnumerable, skipNull)
 {
     m_Aggregator = aggregator;
     m_OnAggregateToSearchItems = null;
     m_OnAggregateToSearchItem  = null;
 }
Beispiel #2
0
 public ResultPrimitiveAggregation <TAggregator> AggregateResults <TAggregator>(TAggregator aggregator, OnAggregatePrimitiveResult <TAggregator> onAggregateResult, OnAggregateToSearchItems <TAggregator> onAggregateToSearchItems, bool skipNull = true)
     where TAggregator : struct
 {
     return(new ResultPrimitiveAggregation <TAggregator>(this, onAggregateResult, aggregator, onAggregateToSearchItems, skipNull));
 }
Beispiel #3
0
 public ResultAggregation <TAggregator> AggregateResults <TAggregator>(TAggregator aggregator, OnAggregateStart <TAggregator> onAggregateStart, OnAggregateResult <TAggregator> onAggregateResult, OnAggregateToSearchItems <TAggregator> onAggregateToSearchItems, bool skipNull = true)
     where TAggregator : class
 {
     return(new ResultAggregation <TAggregator>(this, onAggregateStart, onAggregateResult, aggregator, onAggregateToSearchItems, skipNull));
 }
Beispiel #4
0
 public ResultPrimitiveAggregation(ArgumentEnumerable argumentEnumerable, OnAggregatePrimitiveStart <TAggregator> onAggregateStart, OnAggregatePrimitiveResult <TAggregator> onAggregateResult, TAggregator aggregator, OnAggregateToSearchItems <TAggregator> onAggregateToSearchItems, bool skipNull = true)
     : this(argumentEnumerable, onAggregateResult, aggregator, onAggregateToSearchItems)
 {
     m_OnAggregateStart = onAggregateStart;
 }
Beispiel #5
0
 public ResultPrimitiveAggregation(ArgumentEnumerable argumentEnumerable, OnAggregatePrimitiveResult <TAggregator> onAggregateResult, TAggregator aggregator, OnAggregateToSearchItems <TAggregator> onAggregateToSearchItems, bool skipNull = true)
     : base(argumentEnumerable, aggregator, onAggregateToSearchItems, skipNull)
 {
     m_OnAggregateResult = onAggregateResult;
     m_StartValue        = aggregator;
 }
Beispiel #6
0
 public ResultAggregation(ArgumentEnumerable argumentEnumerable, OnAggregateResult <TAggregator> onAggregateResult, TAggregator aggregator, OnAggregateToSearchItems <TAggregator> onAggregateToSearchItems, bool skipNull = true)
     : base(argumentEnumerable, aggregator, onAggregateToSearchItems, skipNull)
 {
     m_OnAggregateResult = onAggregateResult;
 }