Files
2026-07-03 05:02:26 +03:00

20 lines
836 B
C#

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections.Generic;
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections
{
/// <summary>A generic interface describing a simple store of objects.</summary>
/// <typeparam name="T">The covariant type of stored objects.</typeparam>
public interface IStore<out T>
{
/// <summary>Enumerate the (possibly empty) collection of objects matched by the given selector.</summary>
/// <param name="selector">The <see cref="ISelector{T}"/> used to select matching objects.</param>
/// <returns>An <see cref="IEnumerable{T}"/> of the matching objects.</returns>
IEnumerable<T> EnumerateMatches(ISelector<T> selector);
}
}
#pragma warning restore
#endif