mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +00:00
feat: remove IHasInputs<T,R> interface
This has been replaced by the `IHasInputs<T>` interface and was marked to be removed in the 2.0.0 release.
This commit is contained in:
@@ -1,27 +1,7 @@
|
|||||||
using PepperDash.Core;
|
using PepperDash.Core;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
{
|
{
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Describes a device that has selectable inputs
|
|
||||||
/// </summary>
|
|
||||||
/// <typeparam name="TKey">the type to use as the key for each input item. Most likely an enum or string</typeparam>\
|
|
||||||
/// <example>
|
|
||||||
/// See MockDisplay for example implemntation
|
|
||||||
/// </example>
|
|
||||||
[Obsolete("Use IHasInputs<T> instead. Will be removed for 2.0 release")]
|
|
||||||
public interface IHasInputs<T, TSelector>: IKeyName
|
|
||||||
{
|
|
||||||
ISelectableItems<T> Inputs { get; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Describes a device that has selectable inputs
|
/// Describes a device that has selectable inputs
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user