Example #1
0
 /// <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 cache.
 /// </param>
 /// <returns>
 /// The result of the aggregation.
 /// </returns>
 public virtual object Aggregate(IFilter filter, IEntryAggregator agent)
 {
     return(NamedCache.Aggregate(filter, agent));
 }
Example #2
0
 /// <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 cache.
 /// </param>
 /// <returns>
 /// The result of the aggregation.
 /// </returns>
 public virtual object Aggregate(ICollection keys, IEntryAggregator agent)
 {
     return(NamedCache.Aggregate(keys, agent));
 }