private void updateObjectPath(IObjectPath path) { if (!path.First().Equals(_oldName)) { return; } path.Remove(_oldName); path.AddAtFront(_newName); }
private IObjectPath removeFirstEntryOf(IObjectPath objectPath) { objectPath.Remove(objectPath[0]); return(objectPath); }