Exemple #1
0
 /// <summary>
 /// Return a collection of the values contained in this cache for
 /// entries that satisfy the criteria expressed by the filter.
 /// </summary>
 /// <remarks>
 /// It is guaranteed that enumerator will traverse the array in such
 /// a way that the values come up in ascending order, sorted by
 /// the specified comparer or according to the
 /// <i>natural ordering</i>.
 /// </remarks>
 /// <param name="filter">
 /// The <see cref="IFilter"/> object representing the criteria that
 /// the entries of this cache should satisfy.
 /// </param>
 /// <param name="comparer">
 /// The <b>IComparable</b> object which imposes an ordering on
 /// entries in the resulting collection; or <c>null</c> if the
 /// entries' values natural ordering should be used.
 /// </param>
 /// <returns>
 /// A collection of entries that satisfy the specified criteria.
 /// </returns>
 public virtual object[] GetValues(IFilter filter, IComparer comparer)
 {
     return(NamedCache.GetValues(filter, comparer));
 }