1using System.Collections.ObjectModel; 2 3namespace Unity.VisualScripting 4{ 5 public class ProfiledSegmentCollection : KeyedCollection<string, ProfiledSegment> 6 { 7 protected override string GetKeyForItem(ProfiledSegment item) 8 { 9 return item.name; 10 } 11 } 12}