#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 { internal sealed class StoreImpl : IStore { private readonly List m_contents; internal StoreImpl(IEnumerable e) { m_contents = new List(e); } IEnumerable IStore.EnumerateMatches(ISelector selector) { foreach (T candidate in m_contents) { if (selector == null || selector.Match(candidate)) yield return candidate; } } } } #pragma warning restore #endif