private void RefreshSelectionOIDs(IEnumerable <long> oids) { FieldAttributes.Clear(); SetProperty(ref _selectedOID, null, () => SelectedOID); LayerSelection.Clear(); lock (_lock) { foreach (var oid in oids) { LayerSelection.Add(oid); } } }