private void OnItemRenamed(IIdentifiableItemAuthoring item, string oldName, string newName) { //Have to update this name in all Collections foreach (var collection in _tableAuthoring.Collections) { collection.ItemNames = collection.ItemNames.Select(n => string.Compare(n, oldName, StringComparison.InvariantCultureIgnoreCase) == 0 ? newName : n).ToArray(); } RebuildItemLists(); }
internal void OnItemRenamed(IIdentifiableItemAuthoring item, string oldName, string newName) { Reload(); }