17 using System.Collections.Generic;
19 namespace erminas.SmartAPI.Utils.CachedCollections
25 public interface ICachedList<out T> : IEnumerable<T>,
ICached where T : class
35 T GetByPosition(
int pos);
40 bool IsCachingEnabled {
get;
set; }
45 ICachedList<T> Refreshed();
62 void WaitFor(Predicate<ICachedList<T>> predicate, TimeSpan wait, TimeSpan retryPeriod);