public override void Merge(Aggregate other) { var avg = other as AggregateSum; Sum += avg.Sum; }
public override void Merge(Aggregate other) { var avg = other as AggregateAverage; Sum += avg.Sum; Count += avg.Count; }
public abstract void Merge(Aggregate other);
public override void Merge(Aggregate other) { var avg = other as AggregateCount; Count += avg.Count; }
public override void Merge(Aggregate other) { var avg = other as AggregateSum; Sum += avg.Sum; }
public override void Merge(Aggregate other) { var avg = other as AggregateCount; Count += avg.Count; }