using System; using System.Collections.Generic; namespace DanieleMarotta.RiversongCodeShowcase { public interface IEntityCache { void CreateCache(int key, Predicate filter) where T : Entity; List Get(int key) where T : Entity; void OnAdded(Entity entity); void OnRemoved(Entity entity); } }