mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
fix: updates IHasInputs to remove second generic that is unnecessary.
This commit is contained in:
parent
171bd6b1ec
commit
3a56e47c48
1 changed files with 14 additions and 0 deletions
|
|
@ -15,8 +15,22 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
/// <example>
|
/// <example>
|
||||||
/// See MockDisplay for example implemntation
|
/// See MockDisplay for example implemntation
|
||||||
/// </example>
|
/// </example>
|
||||||
|
[Obsolete("Use IHasInputs<T> instead. Will be removed for 2.0 release")]
|
||||||
public interface IHasInputs<T, TSelector>: IKeyName
|
public interface IHasInputs<T, TSelector>: IKeyName
|
||||||
{
|
{
|
||||||
ISelectableItems<T> Inputs { get; }
|
ISelectableItems<T> Inputs { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Describes a device that has selectable inputs
|
||||||
|
/// </summary>
|
||||||
|
/// <typeparam name="T">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>
|
||||||
|
public interface IHasInputs<T> : IKeyName
|
||||||
|
{
|
||||||
|
ISelectableItems<T> Inputs { get; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue