public void SmartDisplaysUpdate() { List <DisplayInfo> info = Logic.GetDisplays(); Displays.Update(info); Debug.Assert(info.Count == Displays.Count); for (int i = 0; i < Layouts.Count; i++) { Layouts[i].NotifyDisplaysChanged(Displays); } }
public Configuration() { Displays = new SmartObservableCollection <DisplayInfo>(Logic.GetDisplays()); }