// Removes the specified log from this composite set public void RemoveLog(IDeveloperLog log) { // Do nothing if the log isn't in this composite set if (!_logs.Contains(log)) return; _logs.Remove(log); }
// Adds the given log to this composite set public void AddLog(IDeveloperLog newLog) { // Do nothing if the log is already a part of this composite set if (_logs.Contains(newLog)) return; _logs.Add(newLog); }