public void ViewChanged() { lock (VisibleInstances) VisibleInstances.Clear(); lock (mFullInstances) { foreach (var pair in mFullInstances) { pair.Value.IsUpdated = false; } } }