From 3a56e47c4831a22f541992c96193613242cf5495 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Thu, 13 Jun 2024 10:59:05 -0600 Subject: [PATCH] fix: updates IHasInputs to remove second generic that is unnecessary. --- .../DeviceTypeInterfaces/IHasInputs.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasInputs.cs b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasInputs.cs index 3a9ac617..9fa0f222 100644 --- a/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasInputs.cs +++ b/src/PepperDash.Essentials.Core/DeviceTypeInterfaces/IHasInputs.cs @@ -15,8 +15,22 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces /// /// See MockDisplay for example implemntation /// + [Obsolete("Use IHasInputs instead. Will be removed for 2.0 release")] public interface IHasInputs: IKeyName { ISelectableItems Inputs { get; } } + + + /// + /// Describes a device that has selectable inputs + /// + /// the type to use as the key for each input item. Most likely an enum or string\ + /// + /// See MockDisplay for example implemntation + /// + public interface IHasInputs : IKeyName + { + ISelectableItems Inputs { get; } + } }