コード例 #1
0
 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();
 }
コード例 #2
0
 internal void OnItemRenamed(IIdentifiableItemAuthoring item, string oldName, string newName)
 {
     Reload();
 }