public IRobotLog AddEntry(RobotLogEntry entry) { MessagesList.Add(entry); NewEntry?.Invoke(this, new RobotLogNewEntryEventArgs(entry)); return(this); }
public RobotLogNewEntryEventArgs(RobotLogEntry entry) { this.NewEntry = entry; }