Rasagar/Library/PackageCache/com.unity.test-framework/UnityEditor.TestRunner/GUI/Controls/ISelectableItem.cs
2024-08-26 23:07:20 +03:00

21 lines
553 B
C#

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; }
}
}