using System.Collections.Generic; using System.Threading.Tasks; namespace SharedLibraryCore.Interfaces { /// /// represents the abstraction of game log reading /// public interface IGameLogReader { /// /// how long the log file is /// long Length { get; } /// /// how often to poll the log file /// int UpdateInterval { get; } /// /// get new events that have occured since the last poll /// /// /// /// Task> ReadEventsFromLog(long fileSizeDiff, long startPosition); } }