/// <summary>
 /// Perform an aggregating operation against the collection of
 /// entries that are selected by the given <b>IFilter</b>.
 /// </summary>
 /// <param name="filter">
 /// an <see cref="IFilter"/> that is used to select entries within
 /// this cache to aggregate across.
 /// </param>
 /// <param name="agent">
 /// The <see cref="IEntryAggregator"/> that is used to aggregate
 /// across the selected entries of this dictionary.
 /// </param>
 /// <returns>
 /// The result of the aggregation.
 /// </returns>
 public virtual object Aggregate(IFilter filter, IEntryAggregator agent)
 {
     return(LocalCache.Aggregate(filter, agent));
 }
 /// <summary>
 /// Perform an aggregating operation against the entries specified by
 /// the passed keys.
 /// </summary>
 /// <param name="keys">
 /// The collection of keys that specify the entries within this cache
 /// to aggregate across.
 /// </param>
 /// <param name="agent">
 /// The <see cref="IEntryAggregator"/> that is used to aggregate
 /// across the specified entries of this dictionary.
 /// </param>
 /// <returns>
 /// The result of the aggregation.
 /// </returns>
 public virtual object Aggregate(ICollection keys, IEntryAggregator agent)
 {
     return(LocalCache.Aggregate(keys, agent));
 }