using System; namespace UnityEditor.TestTools.TestRunner.GUI.Controls { /// /// A default implementation of the interface. /// /// The type of the value represented by this content element. internal class SelectableItemContent : ISelectableItem { private readonly string m_DisplayName; /// /// Creates a new instance of the class /// /// The value represented by this item. /// The display name of this item. public SelectableItemContent(T itemValue, string displayName) { Value = itemValue; m_DisplayName = displayName; } public T Value { get; } public string DisplayName => m_DisplayName ?? string.Empty; } }