public LogTableListenerNotifier(ILogTable logTable, ILogTableListener listener, TimeSpan maximumTime, int maximumCount) { if (logTable == null) { throw new ArgumentNullException(nameof(logTable)); } _logTable = logTable; _listener = listener; _maximumTime = maximumTime; _maximumCount = maximumCount; Reset(); _listener.OnLogTableModified(logTable, LogTableModification.Reset); }
public void EmitChanged(LogTableModification modification) { _listener.OnLogTableModified(_logTable, modification); }