/// <summary> /// Provides final result of map reduce task. /// </summary> /// <returns>Return key-value pair.</returns> public Alachisoft.NCache.Runtime.MapReduce.KeyValuePair FinishReduce() { Alachisoft.NCache.Runtime.MapReduce.KeyValuePair context = new KeyValuePair(); context.Key = _aggkey; context.Value = _aggregator.AggregateAll(_reducerList); return(context); }