/// <summary> /// Add a monitor to the list and keep track of the maximum width /// of the display width of the monitor name /// </summary> /// <param name="_monitor"></param> public void AddMonitor(Monitor _monitor) { if (_monitor.Name.Length > maxMonitorWidth) maxMonitorWidth = _monitor.Name.Length; monitors.Add(_monitor); }
public Metric(string _name, Monitor _monitor) : this(_monitor) { name = _name; }
public Metric(Monitor _monitor) { monitor = _monitor; }