示例#1
0
        public void AddHistoryNote(string note)
        {
            HistoryEvent lastEvent = history.LastOrDefault();

            if (lastEvent != null)
            {
                lastEvent.AddNote(note);
            }
        }
        public void AddHistoryNote(string note)
        {
            HistoryEvent lastEvent = history.LastOrDefault();

            lastEvent?.AddNote(note);
        }