using System; using System.Collections.Generic; namespace DanieleMarotta.RiversongCodeShowcase { public interface IEntityCollection { T Create() where T : Entity, new(); void Add(Entity entity); Entity Remove(int id); bool Exists(int id); Entity Get(int id); Type GetEntityType(int id); public List GetInternalEntityList(Type type); public IEntityCollectionCallbacks On() where T : Entity; } }