Rasagar/Library/PackageCache/com.unity.test-framework/UnityEditor.TestRunner/GUI/Controls/ISelectableItem.cs

21 lines
553 B
C#
Raw Normal View History

2024-08-26 13:07:20 -07:00
using System;
namespace UnityEditor.TestTools.TestRunner.GUI.Controls
{
/// <summary>
/// Defines a content element which can be used with the <see cref="GenericItemContentProvider{T}" /> content provider.
/// </summary>
internal interface ISelectableItem<out T>
{
/// <summary>
/// The value represented by this item.
/// </summary>
T Value { get; }
/// <summary>
/// The name to be used when displaying this item.
/// </summary>
string DisplayName { get; }
}
}